Skip to content

docs: remove superseded architecture proposals and design prototypes (#1478 P7) - #1580

Merged
thymikee merged 2 commits into
mainfrom
claude/p6-decision-checkpoint-spt7qg
Aug 4, 2026
Merged

docs: remove superseded architecture proposals and design prototypes (#1478 P7)#1580
thymikee merged 2 commits into
mainfrom
claude/p6-decision-checkpoint-spt7qg

Conversation

@thymikee

@thymikee thymikee commented Aug 4, 2026

Copy link
Copy Markdown
Member

Summary

#1478 P7, run per the maintainer-ratified P6 decision of record: one narrow cleanup PR removing migration-era documents whose audience ended when the P0–P5 extraction arc completed and the P6 checkpoint recorded DEFER. No product code, package moves, or opportunistic refactors.

Deleted (2,070 LOC of stale architecture prose and probes):

  • docs/daemon-modularity-proposal.md — the pre-refactor(daemon): extract replay, Maestro, and replay-test modules #1478 proposal; superseded by the merged outcome and the issue's decision record. Git is the archive.
  • docs/module-interface-principles.md — referenced only by the deleted proposal. Its durable kernel (seam maxims, two-real-adapters rule, no inter-module event bus, the three session-state consistency disciplines) is folded into CONTEXT.md → "Principles and their gates" as a Module seams entry; its ScriptPublicationState sketch and "R7 is the migration ratchet" guidance are implemented (P4a/P4b) and enforced by gates.
  • docs/maestro-compat-debt-map.md — its file-ownership table predates the packages/maestro extraction and now points at paths that no longer hold (program-ir*.ts, session-test-*.ts at root); semantics are owned by ADR 0015, boundaries by R10/R11 and the façade symbol pins. The one inbound link (CONTEXT.md's selector-contract evidence list) now cites ADR 0015.
  • scripts/prototypes/daemon-boundaries/ (four probes + README) and the two prototype:* package scripts — the probes' two questions were answered by the landed P4a aggregate, P4b coordinator, and P5 engine with their contract suites.

Updated: CONTEXT.md's R10 bullet dropped migration-era counts (R7 30/42, "four importers", "when src/ad-replay/ first exists") for the post-arc state and records the P6 defer; plus the Module seams addition above.

Kept deliberately: docs/dependency-graph-findings.mdscripts/layering/check.ts:190 and src/client/client-types.ts:14 cite its §0 as the long-form rationale, and the doc itself declares the gate authoritative on disagreement.

One non-docs commit, split out and labeled: ba2449b adds WAIT_REASONS/WaitReason to the @agent-device/contracts/interaction façade pin. This repairs a red check:layering on merged main: #1570 added those exports to wait.ts (re-exported by the interaction façade) while #1574's FACADE_SYMBOLS pin was generated on a pre-#1570 base — branch-race skew, red only after both merged. Without it this PR (and every other) cannot go green. Happy to drop the commit if a separate fix is preferred.

Per the decision of record, #1478 closes after this merges.

Validation

pnpm check:affected --base origin/main --run passes end-to-end (format, lint, typecheck, layering incl. the 71-test gate suite and the façade-symbol pins, fallow, replay-compat provenance: 10 mined scripts against released blobs across 6 tags). All internal links in the remaining 35 markdown docs verified to resolve by script. Runtime device validation does not apply: the diff is documentation, throwaway design probes never imported by production code (verified by repo-wide reference sweep), and a two-symbol test-baseline correction.

Touched files: 11 (3 docs deleted, 5 prototype files deleted, CONTEXT.md, package.json, facade-symbols.ts). Scope beyond the P7 brief: only the labeled red-main gate repair.

🤖 Generated with Claude Code

https://claude.ai/code/session_017vXBwStScAV4aGLneCKoma


Generated by Claude Code

claude added 2 commits August 4, 2026 08:46
…t symbols

#1570 added WAIT_REASONS/WaitReason to packages/contracts/src/wait.ts, which the
interaction façade re-exports; #1574's FACADE_SYMBOLS pin was generated on a base
without #1570, so check:layering is red on merged main. Adds the two symbols to
the pinned list.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vXBwStScAV4aGLneCKoma
…1478 P7)

The P0-P5 extraction arc is complete and the P6 checkpoint recorded DEFER, so the
migration-era documents have no remaining audience:

- delete docs/daemon-modularity-proposal.md — superseded by the merged #1478
  outcome; the durable rules it deferred to module-interface-principles.md move
  with that file
- delete docs/module-interface-principles.md — its durable kernel (seam maxims,
  two-adapter rule, consistency disciplines) is folded into CONTEXT.md's
  'Principles and their gates'; the aggregate sketch and R7 migration guidance
  are implemented and enforced by gates
- delete docs/maestro-compat-debt-map.md — its file-ownership table predates the
  packages/maestro extraction and is now misleading; semantics are owned by
  ADR 0015, boundaries by R10/R11 and the façade symbol pins
- delete scripts/prototypes/daemon-boundaries/ and the prototype:* package
  scripts — the design probes' questions were answered by the landed P4a/P4b/P5
  modules and their contract suites
- refresh CONTEXT.md's R10 bullet from migration-era counts (30/42, four
  importers, src/ad-replay pending) to the post-arc state, and record the P6
  defer decision
- docs/dependency-graph-findings.md is kept: scripts/layering/check.ts and
  src/client/client-types.ts cite its §0 as the long-form rationale

All remaining internal doc links verified to resolve.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vXBwStScAV4aGLneCKoma
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-04 09:15 UTC

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
JS raw 1.96 MB 1.96 MB 0 B
JS gzip 626.9 kB 626.9 kB 0 B
npm tarball 747.1 kB 747.1 kB -46 B
npm unpacked 2.62 MB 2.62 MB -252 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 28.1 ms 28.8 ms +0.7 ms
CLI --help 68.2 ms 64.4 ms -3.8 ms

Top changed chunks: no changes in the largest emitted chunks.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Aug 4, 2026

@thymikee thymikee left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean readiness review for exact head 90020d90437ecb888e4ac03944ca6d26b7c2d11c.

No actionable diff findings. P7 is faithful to #1478’s ratified cleanup scope; the deletion/reference sweep is clean; and the disclosed WAIT_REASONS/WaitReason façade-pin update is the necessary fix for the red-main guard, with a non-vacuous regression proof. Documentation-only/static-pin validation is appropriate.

Merge condition: iOS and Android smoke lanes were still in progress at the latest refresh. Merge only after both complete successfully.

@thymikee
thymikee merged commit 016577e into main Aug 4, 2026
30 checks passed
@thymikee
thymikee deleted the claude/p6-decision-checkpoint-spt7qg branch August 4, 2026 09:14
thymikee added a commit that referenced this pull request Aug 4, 2026
…-duration-1562

* origin/main:
  docs: remove superseded architecture proposals and design prototypes (#1478 P7) (#1580)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants