Skip to content

refactor(design-docs): dissolve product/ into agent/ server/ ui/ (RIG-2577 T8) - #825

Merged
mattwilkinsonn merged 1 commit into
mainfrom
compass-repo/rig-2577-t8-collapse
Sep 1, 2026
Merged

refactor(design-docs): dissolve product/ into agent/ server/ ui/ (RIG-2577 T8)#825
mattwilkinsonn merged 1 commit into
mainfrom
compass-repo/rig-2577-t8-collapse

Conversation

@rigel-mintaka

Copy link
Copy Markdown
Contributor

Collapse of the T8 product/-dissolution work into one PR (the meta/ bucket landed
separately as #820). Moves the remaining 69 product records into their ruled
top-level buckets (RIG-2577 §Approach 2 roster + Matt's 2026-08-31 drift
ratification), leaving product/ holding exactly the 8 T10-deferred native-family
records.

Buckets (69 records):

  • agent/ (+25): agent behavior/lifecycle/comms/tools/ask. Frozen roster's 19
    agent-block records + 6 ratified drift (agent-forge-tools, agent-org-mgmt-tools,
    agent-peer-dm, ask-answer-recovery, manager-role-taxonomy, per-agent-overrides).
  • server/ (+18): server domain-model / write paths. Frozen roster's 11 +
    7 ratified drift (forge-agent-notification, forge-app-credentials,
    forge-board-webhook-ingestion, linear-return-path-indirection-amendment,
    linear-webhook-mount-amendment, handle-addressing-cutover, linear-agent-responder).
  • ui/ (+26): the product's visible surfaces. Frozen roster's 24 (minus native
    family) + 2 ratified drift (coaching-tooltips, leader-chords).

DEFERRED to T10 (RIG-3113; the native family stays under the transitional product/
governed root while RIG-2542's client-only direction settles): compass-native-app,
-client-mode, -client-only, -packaging, tauri-shell.md, multi-window,
stack-cross-process-teardown, gtk4-migration. After this PR product/ holds exactly
these 8.

Same-PR link integrity (RIG-2577 Global Constraints):

  • DECISIONS.md Record cells re-pointed product// -> // (284 rows
    unchanged; pure relocation, no decision changed).
  • Cross-bucket body links: agent->server (forge-tools, spawn-despawn),
    server->ui (zulip-threading-model), and two bare-sibling arch-lineage links
    (agent/container-runtime, deferred product/tauri-shell) re-pointed to their
    target buckets (../meta/, ../../server/, ../../ui/ canonical forms).
  • External citation sweep: proto sources (agent, agent_gateway, forge) + their
    generated pb.go/pb.ts comments; Go forge/store/runner/linearagent/server
    comments; compass-agent TS comments; .github/workflows/ci.yml and
    apps/ui/.stylelintrc.cjs comments; gate test fixtures; inter-record prose.

Also fixes the four link/citation stragglers a review of the pre-collapse stack
surfaced (two dangling arch-lineage bare-sibling links that #820 merged without,
the ci.yml + stylelintrc citations outside the per-bucket touched sets).

Verified: design-ledger-gate OK (284 rows, 120 headers); eng-docs gather 73/73;
gate suites 103/103; UI touched-file tests green; biome clean; no dangling product/
refs to moved records (deferred natives + frozen reorg recon prose excluded);
proto swept so buf regen introduces no drift.

Ledger-impact: records relocated within governance, no decision changed

Co-authored-by: Matt Wilkinson matt@rigel.build

@linear-code

linear-code Bot commented Sep 1, 2026

Copy link
Copy Markdown

RIG-2577

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Compass engineering docs preview: https://compass-repo-rig-2577-t8-col.compass-eng-docs.pages.dev

Deployed from compass-repo/rig-2577-t8-collapse at 16c4643.

Changed pages:

@rigel-mintaka
rigel-mintaka force-pushed the compass-repo/rig-2577-t8-collapse branch from ec74314 to 97c81d0 Compare September 1, 2026 01:12
…-2577 T8)

Collapse of the T8 product/-dissolution work into one PR (the meta/ bucket landed
separately as #820). Moves the remaining 69 product records into their ruled
top-level buckets (RIG-2577 §Approach 2 roster + Matt's 2026-08-31 drift
ratification), leaving product/ holding exactly the 8 T10-deferred native-family
records.

Buckets (69 records):
- agent/ (+25): agent behavior/lifecycle/comms/tools/ask. Frozen roster's 19
  agent-block records + 6 ratified drift (agent-forge-tools, agent-org-mgmt-tools,
  agent-peer-dm, ask-answer-recovery, manager-role-taxonomy, per-agent-overrides).
- server/ (+18): server domain-model / write paths. Frozen roster's 11 +
  7 ratified drift (forge-agent-notification, forge-app-credentials,
  forge-board-webhook-ingestion, linear-return-path-indirection-amendment,
  linear-webhook-mount-amendment, handle-addressing-cutover, linear-agent-responder).
- ui/ (+26): the product's visible surfaces. Frozen roster's 24 (minus native
  family) + 2 ratified drift (coaching-tooltips, leader-chords).

DEFERRED to T10 (RIG-3113; the native family stays under the transitional product/
governed root while RIG-2542's client-only direction settles): compass-native-app,
-client-mode, -client-only, -packaging, tauri-shell.md, multi-window,
stack-cross-process-teardown, gtk4-migration. After this PR product/ holds exactly
these 8.

Link + citation integrity (RIG-2577 Global Constraints / CONTRIBUTING rule 5):
- DECISIONS.md Record cells re-pointed product/<r>/ -> <bucket>/<r>/ (284 rows
  unchanged; pure relocation, no decision changed).
- Cross-bucket body links: agent->server (forge-tools, spawn-despawn),
  server->ui (zulip-threading-model).
- External citation sweep: proto sources (agent, agent_gateway, forge) + their
  generated pb.go/pb.ts comments; Go forge/store/runner/linearagent/server
  comments; compass-agent TS comments; .github/workflows/ci.yml and
  apps/ui/.stylelintrc.cjs comments; gate test fixtures; inter-record prose.

Fixes every reorg-caused dangling link a two-pass review surfaced across the
whole tree (not just the per-bucket touched sets), including surfaces #820 moved
targets out from under:
- Bucket-less sibling arch-lineage links now that arch-lineage lives in meta/:
  agent/compass-agent-container-runtime.md and the deferred
  product/compass-tauri-shell.md -> ../meta/ (flat-file depth, one ../).
- docs/concepts/ inbound links (outside the designs tree, missed by a
  product/-token sweep): comms-model.md -> server/zulip-threading-model,
  agent/agent-session-persistence, agent/ask-comms-roundtrip;
  self-host-and-managed.md -> server/linear-agent-responder.
- docs/specs/product/compass.md arch-lineage citation -> designs/meta/.
- docs/specs/product/README.md: product/ dir references rewritten to the
  domain-bucketed designs corpus indexed by DECISIONS.md (product/ is no longer
  the record home).
- docs/designs/infra/ci/compass-dogfood-e2e/design.md forge-integration-testing
  link -> ../../../server/ (target moved product/->server/ here; the ../ depth
  was also one short on base — corrected in the same edit).

Verified: design-ledger-gate OK (284 rows, 120 headers); eng-docs gather 73/73;
gate suites 103/103; UI touched-file tests green; biome clean; every re-pointed
link resolves; no dangling reorg-caused product/ refs remain (deferred natives +
frozen reorg recon prose + synthetic test fixtures excluded); proto swept so buf
regen introduces no drift.

Out of scope (pre-existing, not reorg-caused, left for a separate cleanup):
~28 self-referential ledger-quote anchors of the form <own-record>/design.md#L
that dangled on the merged base independent of any product/ move.

Ledger-impact: records relocated within governance, no decision changed

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@rigel-mintaka
rigel-mintaka force-pushed the compass-repo/rig-2577-t8-collapse branch from 97c81d0 to 16c4643 Compare September 1, 2026 01:15
@rigel-mintaka

Copy link
Copy Markdown
Contributor Author

T9 — post-move verification sweep (evidence)

This collapse PR is the final T8 move PR, so T9's straggler-fixing + zero-reference proof fold in here (per the frozen record, T9 "Produces: verification evidence in the final PR description; any stragglers fixed"). The T10 native-family sweep + product/ root removal stay separate (RIG-3113, gated on RIG-2542 — now closed, so T10 is executable).

Zero-reference proof (run on the collapse tree, head 16c46439)

Stragglers fixed (beyond the 4 the review enumerated)

A two-pass review (per-bucket stack review + collapse review) plus a driver whole-tree re-sweep found every reorg-caused dangling link, including surfaces a product/-token sweep structurally misses (bucket-less sibling links) and surfaces #820 moved targets out from under:

Surface Was Now
agent/compass-agent-container-runtime.md:7 bare compass-architecture-lineage/… ../meta/…
product/compass-tauri-shell.md:7 ../../meta/… (overshoot) ../meta/…
docs/concepts/comms-model.md:27 designs/product/compass-zulip-threading-model designs/server/…
docs/concepts/comms-model.md:28 designs/product/compass-agent-session-persistence designs/agent/…
docs/concepts/comms-model.md:68 designs/product/compass-ask-comms-roundtrip designs/agent/…
docs/concepts/self-host-and-managed.md:53 designs/product/compass-linear-agent-responder designs/server/…
docs/specs/product/compass.md:9 designs/product/compass-architecture-lineage designs/meta/…
docs/specs/product/README.md:5,17 ../../designs/product/ (dir prose) bucketed corpus + DECISIONS.md
docs/designs/infra/ci/compass-dogfood-e2e/design.md:831 ../../product/compass-forge-integration-testing ../../../server/… (also a base ../-depth bug)
.github/workflows/ci.yml, apps/ui/.stylelintrc.cjs product/… citation comments bucketed

Every re-pointed target verified to exist in the final tree.

Out of scope (pre-existing, NOT reorg-caused)

~28 self-referential ledger-quote anchors of the form <own-record>/design.md#anchor dangle on the merged base independent of any product/ move — left for a separate corpus link-clean pass, not a T8/T9 straggler.

Gates

design-ledger-gate OK · eng-docs gather 73/73 · gate suites (design-ledger-gate + sea-ref-gate) 103/103 · UI touched-file tests green · biome clean.

@mattwilkinsonn
mattwilkinsonn merged commit e83d351 into main Sep 1, 2026
13 checks passed
@mattwilkinsonn
mattwilkinsonn deleted the compass-repo/rig-2577-t8-collapse branch September 1, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants