Research synthesis
Run a synthesis pass over the harness-research corpus to produce or refresh the Ryu architecture proposal. Use when new collection batches have landed and the architecture needs to be updated, or when starting a fresh synthesis round.From its SKILL.md
npx -y skills add Jpk0512/ryu-next --skill research-synthesisAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
13.1 KB, as published. Nobody here has run it
When to invoke
Trigger this skill after any of these events:
- New collection batch landed —
harness-research/collection/has new sources since the last synthesis round. The hypothesis driving that batch is ready to be tested against the existing architecture and themes. - Explicit synthesis request — user says "run synthesis" or "synthesize the findings" with a stated hypothesis (what open questions are we closing this round?)
- Major primitive refactor — a key assumption in the current architecture has been challenged or invalidated and needs re-examination across the full corpus.
- Round schedule — cadence-driven (e.g., after every N collection batches); hypothesis pre-stated by project lead.
Do NOT run if:
- No new collection material since the last round
- There's active debate on the previous round's findings (wait for that to settle; see Council variant)
- The goal is a quick ad-hoc question about a single source (use the research-harness skill instead)
Three-stage pipeline overview
Stage 1: Delta Extraction
Input: new corpus + existing synthesis artifacts (themes, architecture)
Output: findings ledger + theme refresh list
Agent: single, reads corpus + context
Stage 2: Selective Theme Refresh
Input: findings ledger + theme refresh list + existing theme files
Output: refreshed theme files (appended, not rewritten)
Agent: themed; one per theme under refresh
Rules: substantive updates get deep sections; small polish gets one-liner; skip if no new signal
Stage 3: Architecture Integration
Input: refreshed themes + hypothesis + Stage 1 ledger
Output: architecture vN+1 (new snapshot) + updated living docs
Agent: single synthesizer; may spawn council if contested
Rules: versioned snapshots; MUST include "What changed from v(N-1)" diff section; phased rollout plan
Living Docs (maintained each round):
- OPEN_QUESTIONS.md: track hypothesis validity; mark settled/partial/open
- CHANGELOG.md: round-by-round summary; cross-link ledger and architecture
Stage 1: Delta extraction
What the Stage 1 agent does:
- Reads all new sources added to
harness-research/collection/since the last synthesis round - Reads the existing synthesis artifacts:
- All theme files from the prior round (to understand what's already covered)
- The current architecture snapshot (to understand the framework)
- The prior round's findings ledger (for context on how corpus was last analyzed)
OPEN_QUESTIONS.md(to see what hypotheses are pending)
- Produces a findings ledger for this round: structured extraction of new insights, mapped to existing themes where applicable, flagged for theme refresh
- Produces a theme refresh list: for each theme, a recommendation: "substantive update", "small polish", "skip" (no new material)
Ledger sections (see templates/ledger-template.md):
- Round metadata (round number, date, hypothesis, sources processed)
- New findings by theme (reuse existing theme IDs; flag new themes as
THEME_ForTHEME_G) - Findings not mapped to any theme (candidate for new theme creation)
- Questions raised by the corpus (feed to
OPEN_QUESTIONS.md) - Data gaps (what the corpus doesn't cover; informs next collection hypothesis)
Output artifact: harness-research/synthesis/YYYY-MM-DD-findings-ledger-rN.md
Stage 2: Selective theme refresh
What theme agents do:
- Read the relevant theme file from the prior round
- Read the new findings attributed to that theme in the Stage 1 ledger
- Decide on refresh type (substantive / small / skip) — use the rubric below
- If substantive or small: append a
## Round N update — DATEsection to the theme file (seetemplates/theme-update-template.md) - If skip: add a one-liner at the end noting "Round N: no material change"
Refresh rubric:
- Substantive: new data contradicts or significantly extends prior analysis; new subtopic or twist in an existing theme; changes risk assessment or recommendations. Action: deep new section with evidence, integrated with prior sections where relevant.
- Small polish: clarifying citations; one new example that enriches illustration; minor wording tightens. Action: one-liner appended, e.g., "Round 3: added example from [source], reinforces finding X."
- Skip: new corpus material on this theme is redundant or immaterial. Action: one-liner appended, e.g., "Round 3: corpus review — no new signals."
Non-negotiable rule: Do NOT rewrite existing sections. Theme files are append-only. Readers track the evolution of thinking round-by-round.
Output artifacts: Updates in-place to theme files; no new files. Each theme file in harness-research/synthesis/ will have accumulated ## Round N update sections across multiple rounds.
Stage 3: Architecture integration
What the Stage 3 synthesizer does:
- Reads all refreshed theme files (output of Stage 2)
- Reads the Stage 1 findings ledger (full context)
- Reads the prior architecture snapshot (vN) to understand the current framework
- Produces a new architecture snapshot (vN+1) that integrates the new findings
- MUST include a "What changed from v(N-1)" section at the top of the new snapshot listing changes, rationales, and what hypotheses were validated/invalidated
- Updates
CHANGELOG.mdwith a round summary - Evaluates whether
OPEN_QUESTIONS.mdentries should be marked settled/partial/open based on new evidence
Architecture snapshot structure (see templates/architecture-template.md):
- Frontmatter: version, date, round hypothesis
- What changed from v(N-1) — diff section (new, only on new versions)
- Research scope & corpus
- High-level propositions (layered: foundational → specialized)
- Phased rollout (if applicable)
- Open questions & next steps
- Evidence trail (cross-links to theme files and ledger)
Versioning discipline: Each architecture is a new file, e.g. 2026-04-26-ryu-architecture-v3.md. Prior versions (v1, v2) are frozen and referenced but never edited. This preserves decision history and allows readers to track the evolution of thinking.
Phased rollout (required in every new architecture): even if the vision is complete, how do we land it? Does it require coordinator buy-in first? Technical proof-of-concept? Pilot? Describe the stages and how findings validate each phase.
Council variant: If an architectural choice is contested or externally challenged:
- Stage 3 spawns a "council deliberation" with 3 personas: Architect (proposes integration), Skeptic (pokes holes), Shipper (practical constraints)
- Each persona produces a verdict (see
templates/council-verdict-template.md) - Synthesizer produces a council ruling (see
templates/council-ruling-template.md) that integrates verdicts and makes the final call - Ruling is captured as a numbered appendix to the architecture snapshot
Output artifacts:
harness-research/synthesis/YYYY-MM-DD-ryu-architecture-vN.md(new snapshot)- Updates to
CHANGELOG.md(round N summary) - Updates to
OPEN_QUESTIONS.md(hypothesis validation status)
Versioning conventions
Architecture versioning
- New snapshots are new files:
ryu-architecture-v1.md,ryu-architecture-v2.md, etc. - Prior versions are frozen; never edited.
- Current version is referenced in
CHANGELOG.mdandREADME.mdas the active proposal. - Each new version MUST have a "What changed" section at the top.
Theme files
- Theme files are appended in place: no new files per round, one file per theme across all rounds.
- Each round contribution is a new section:
## Round N update — DATE. - Sections are added at the end (chronologically ordered).
Ledgers
- New ledger file per round:
findings-ledger-r1.md,findings-ledger-r2.md, etc. - Ledgers are frozen after the round ends.
- Prior ledgers are referenced but never updated.
Living documents
Two documents are maintained across all rounds:
OPEN_QUESTIONS.md
- Lists questions that the synthesis rounds are trying to close.
- Each question has a hypothesis (what we think the answer is) and a status (open / partial / settled).
- When a round produces evidence for or against a hypothesis, the status is updated.
- Example:
## Q1: Is there a single coordinator pattern or multiple strategies? - Hypothesis: Multiple strategies are viable; no single pattern dominates. - Evidence: Round 1 identified 3 distinct patterns in [sources]. Round 2 found counterexample in [source], refining boundary conditions. - Status: Partial (3 patterns identified, boundary conditions still emerging).
CHANGELOG.md
- Round-by-round summary of synthesis activity.
- Each entry: date, round number, hypothesis, key findings, architecture changes (if any).
- Links to the round's ledger and any new architecture snapshot.
- Example:
## Round 3 (2026-04-26) - Hypothesis: Can we narrow the coordinator patterns to 2-3 distinct archetypes? - New sources: 4 (harness-research/collection/batch-2b/) - Key finding: Pattern C emerges as a hybrid of A and B; validates hypothesis partially. - Architecture: v2 → v3 (added Pattern C, refined boundary conditions). - See: [findings-ledger-r3](findings-ledger-r3.md), [architecture-v3](ryu-architecture-v3.md) - Questions updated: Q1 marked partial, Q2 opened (new).
Round hypothesis discipline
Every synthesis round has a single, stated hypothesis. This is the frame that drives which sources are sampled, which themes are refreshed, and what counts as success.
Examples of good hypotheses:
- "Can we narrow the coordinator patterns to 2-3 archetypes?"
- "What evidence exists for/against the 'rehydration as contract' model?"
- "Do all coordinators handle distributed consensus the same way, or are there viable alternatives?"
Examples of bad hypotheses:
- "Tell me everything about coordinators." (No frame; invites data drowning.)
- "Prove coordinators are bad." (Biased; not a question.)
Volume drowning prevention: Cap each round at ~5-10 new sources. More sources ≠ better synthesis; good framing + targeted sampling > corpus exhaustion. The hypothesis is the frame that prevents drowning.
Council variant
When an architectural choice becomes contested (e.g., external reviewer challenges a key assumption, or Stage 3 synthesizer is unsure), invoke a council deliberation:
-
Council members (3 personas, each spawned as a separate agent):
- Architect: proposes the integration from the synthesizer's perspective; makes the case for the new architecture
- Skeptic: challenges assumptions; asks "what could go wrong?"; proposes alternatives
- Shipper: practical constraints; asks "can we actually land this?"
-
Deliberation process:
- Each member reads the contested choice, prior architecture, new findings.
- Each produces a verdict (see
templates/council-verdict-template.md): analysis, concerns, recommendations. - Synthesizer reads all three verdicts and produces a council ruling (see
templates/council-ruling-template.md).
-
Output:
- Council verdicts are appended to the architecture snapshot as a numbered section (Appendix A: Council Deliberation).
- Ruling is included in the same appendix, with the synthesizer's final call and integration plan.
When to invoke council:
- External stakeholder contests a key architectural choice.
- Internal disagreement (multiple agents produced divergent analyses in Stage 2/3).
- Reversible but consequential decision (e.g., phased rollout strategy, choice of primitive model).
- NOT needed for: small theme refreshes, clarifying findings, minor wording.
Related skills & workflows
This skill does NOT handle collection. See research-harness for the 3-stage research pipeline (define → collect → curate). The research-synthesis skill assumes collection is complete and corpus is ready for analysis.
Implementation notes for future runs
- Templates in
templates/are parameterized with slots like[ROUND_N],[DATE],[HYPOTHESIS],[THEME_ID]. Replace with actual values for each round. - Prompts in
prompts/are starter templates. Each prompt can be customized per round (e.g., pass specific theme list to Stage 2, pass prior architecture version number to Stage 3). - Reference section below provides links to concrete examples from rounds 1-3. Use these as models for future runs.
- Tags in
tags.mdextend the harness-research tag canon. Use these consistently across synthesis artifacts.