Skip to content

Epic: schema/technique/disclosure review repeat-pass backlog (2026-07-08) #189

Description

@m2ux

Overview

Epic tracking the backlog from the 2026-07-08 repeat pass of the schema/technique/disclosure review, run after everything in #166 shipped. Full analysis, measurements, and evidence live in the planning artifacts (see References) — this issue is just the work list.

The #166 fixes work, but almost nobody gets them. Reference delivery cuts a full walk by 27–36 % when switched on — and nothing switches it on: it's opt-in, the default worker topology can't use it, and the bootstrap guide never suggests it. Hybrid bundling shipped with zero workflows using it. The biggest remaining waste is repeated contract/rules content inside technique payloads (~25 % of technique delivery), which the current dedup can't see. On the comprehension side the new annotations clearly help; what's left is a handful of small spec gaps. And the four content defects found by the original review were never fixed — no backlog item owned them.

Backlog

Cluster groups items that ship together (1–4; numbers follow implementation order, cluster 4 runs in parallel). Server / Workflows mark which repo each item touches. All items are additive except C8 and C13. R-references resolve in the report's friction register (§1).

# Cluster Server Workflows Change Removes Effort Risk
C1 1 Make the delivery optimisations reachable: bootstrap/IDE guidance for context_mode: "persistent", adopt bundleTechniques on a few high-traffic activities, per-call reference opt-in on get_technique R1, R3 S Low
C2 3 Dedupe the repeated contract/rules blocks inside technique payloads (block-level delivery ledger) R2 M Low
C3 4 Fix the five known content defects; add a lint for checkpoint messages that reference variables nothing sets R4 S None
C4 2 Specify how a step reports multiple outputs in its manifest (today agents have to guess) R5 S None
C5 2 Annotate every input with its provenance — no more silent gaps R6 S None
C6 1 Fix docs that drifted during #166 (api-reference vs seeded variables, stale schema README rows, worker prompt) R9, R14 S None
C7 2 Say in the payload itself which fields the server does not execute (agents still misread them there) R7 S/M Low
C8 6 Decide and execute the when vs condition merge (17 uses to migrate) R8 M Medium
C9 4 Burn down the baselined binding debt (124 dead outputs, 97 orphan inputs) R10 M Low
C10 4 Fragments phase 2: convert the last inline ORCHESTRATION MODEL copies, allow refs in activity rules, dedupe fragment bodies R11 M Low
C11 5 Close the fidelity-observability gaps left by B8 (resource validation, step events, per-agent filtering) R13 M None
C12 3 Slim get_workflow on resume (only if resume traffic shows it matters) R12 S Low
C13 7 Execute the B12 retire sweep at the next schema major R16 S None now

Implementation clusters & order

Items are grouped by what code they touch, so each cluster is one PR built and reviewed once:

  • Cluster 1 — guidance & docs (first): C1 + C6. One pass over the guidance surface, including a single update to the worker prompt. C1's corpus opt-ins land via cluster 4; its server opt-in and C6's marker unification ride cluster 3.
  • Cluster 2 — payload rendering (second): C4 + C5 + C7. All change what rides the composed payload; one probe re-run validates all three.
  • Cluster 3 — delivery ledger (third): C2 + C12, plus the carried bits from cluster 1. All in the same module chain; one design pass, one test re-baseline.
  • Cluster 4 — corpus content (parallel throughout): C3 + C9 + C10 + C1's opt-ins. Workflows-repo only; separate PRs, no serialization needed.
  • Solo: C11 (5), C8 (6 — the only migration-risk item, keep isolated), C13 (last).

Roughly six server PRs plus the parallel corpus stream. Full rationale in the report's §3.

Tracking

Cluster 1 — guidance & docs — ✅ shipped 2026-07-10 (PRs #207, #208 breaking v2.0.0, #209 submodule bump — all merged; see progress comment below)

  • C1 — adoption guidance (bootstrap/IDE context_mode, canonical agent_id, worker prompt) — plus automatic per-agent context-derived bundling (context_tokens REQUIRED on get_activity; server opt-in pulled forward from cluster 3), replacing the planned per-activity bundleTechniques opt-ins
  • C6 — post-Epic: schema/technique/disclosure review backlog (2026-07-03) #166 doc-drift fixes — incl. marker-dialect unification (pulled forward from cluster 3)

Cluster 2 — payload rendering (one PR) — ✅ shipped 2026-07-10 (PR #210, additive v2.1.0 — merged; server-only, no corpus change so no submodule bump)

  • C4 — multi-output manifest encoding specified (JSON object keyed by output id; stated on the two distinct-reader surfaces — technique provenance_note + step_manifest field — plus technique-protocol spec §7.5; destination: made conditional)
  • C5 — full provenance coverage (noteworthy-only policy stated on the inherited_inputs scope note so an absent source: reads as ordinary scope; per-item filtering retained)
  • C7 — payload-borne enforcement hints (conditional enforcement_notes block on get_activity: actions and auto_advance notes, present only when the activity contains those constructs)

Cluster 3 — delivery ledger (one PR)

Cluster 4 — corpus content (parallel)

  • C3 — content-defect sweep + checkpoint-message lint
  • C9 — binding-debt burndown
  • C10 — fragments phase 2 (C1's bundleTechniques opt-ins — dropped; automatic context-derived bundling in cluster 1 replaces per-activity opt-ins)

Solo

  • C11 — fidelity follow-through (5)
  • C8 — when/condition merge + migration (6)
  • C13 — B12 retire sweep at next schema major (7)

References

Planning artifacts in artifacts/planning/2026-07-08-schema-technique-disclosure-review-repeat/ on the engineering branch (committed in 5e34fcd):

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions