Skip to content

docs: map cites PR #290, draws network routes, and AGENTS.md points PRs at it - #296

Merged
lukemaj merged 5 commits into
mainfrom
docs/map-xm-network-routes
Oct 14, 2026
Merged

lukemaj merged 5 commits into
mainfrom
docs/map-xm-network-routes

Conversation

@lukemaj

@lukemaj lukemaj commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

What changed:

  • docs/map.md: adds PR #290 to the Cross-machine control refs (%% XM: #164 PR #290). It draws Network routes as a part, NR["Network routes"] with %% NR: #292 and the edge NR --> XM, and removes the stale "Network routes" row from "Work that is not a part".
  • AGENTS.md "Pull requests": one line. A PR that adds, splits, merges or removes a map part, or that ships work for a part, updates the map in the same PR and adds itself to that part's refs. Closing an Issue needs no map edit, because statuses colour themselves from GitHub.

Why: The map went stale because its update rule lives only inside docs/map.md, which no PR author reads. PR #290 shipped Cross-machine control without citing itself. #292 now owns the network-routes work.
So what: After Sol and Grok review this exact head and CI is green, the agent merges it. Every agent then sees the map rule in AGENTS.md.

Refs #164, #292.

Proof

  • vp fmt --check passes on both files. scripts/fork-check.sh reports OK (35 features), and AGENTS.md is already in scripts/fork-upstream-edits.txt.
  • The server's real parser, parseFeatureMapFile, accepts the edited map. This was checked with a throwaway test that was not committed.

Elon record

Done by Claude Opus 5.5 in Claude Code (T3 Code).

🤖 Generated with Claude Code

… a part

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XS labels Oct 14, 2026
@lukemaj

lukemaj commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Independent review (Sol, gpt-6.1-sol, medium) at 4232b474f3a44078546e6352a9ce82650a173d61: success (relayed unchanged)

No findings. The diff changes only docs/map.md: adds PR #290 after XM's primary Issue #164, declares NR["Network routes"] with %% NR: #292, adds NR --> XM, and removes the stale table row. Parser inspection confirms valid IDs and refs, primary refs first, and single declarations. The edge is valid Mermaid syntax; parseFeatureMapFile preserves edges without validating them. The remaining table is well-formed. Issue #292 is open and explicitly owns network-route ordering and fallback work.

VERDICT: success

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lukemaj lukemaj changed the title docs(map): cross-machine control cites PR #290; network routes become a part docs: map cites PR #290, draws network routes, and AGENTS.md points PRs at it Oct 14, 2026
@lukemaj

lukemaj commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Independent review (Sol, gpt-6.1-sol, medium) at 6bc41604d07528690393a2da6ea10e26f6035125: failure (relayed unchanged)

One finding at AGENTS.md:134: the rule includes PRs that remove a part, then requires adding the PR to "that part's %% ID: refs." Removing the part also removes its refs, making that instruction impossible to satisfy. Require map updates for all listed changes, but require adding PR #N only to affected parts retained or created, after the primary ref.

Verified exact head; the diff since 4232b474 contains only this line. The relative link resolves, "adds itself" reasonably means PR #N given the map's examples, and the Issue-closing exception is clear.

Coordinator adjudication: accepted; fixing the wording in a new commit.

VERDICT: failure

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lukemaj

lukemaj commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Independent review (Sol, gpt-6.1-sol, medium) at 93c9bee249471777cbcfc4a9480c088b2397bf60: failure (relayed unchanged)

Confirmed exact head. The diff since 6bc41604 contains only the stated rewording; docs/map.md is unchanged from 4232b474. The removal finding is resolved.

One blocking inconsistency remains at AGENTS.md:134: "each part it creates or keeps" includes context parts, but docs/map.md explicitly permits %% ID: context, which has no primary ref. A PR creating or retaining such a part cannot append PR #N after its primary ref while preserving that format. Specify affected tracked parts with primary refs, and exempt context parts.

Coordinator adjudication: accepted; also replacing the ambiguous "keeps" with the parts the PR works on.

VERDICT: failure

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lukemaj

lukemaj commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Independent review (Sol, gpt-6.1-sol, medium) at 327b19c589ead1ca4f1e4435ae2520c939478844: success (relayed unchanged)

No blocking issues. Both prior findings are resolved: context and removed parts are explicitly exempt; "tracked" matches the map's distinction, and "works on" limits citations to affected parts. The diff since 93c9bee2 changes only that AGENTS.md line, and docs/map.md is unchanged from 4232b474.

VERDICT: success

@lukemaj

lukemaj commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Independent review (Grok, grok-4.7, medium) at 327b19c589ead1ca4f1e4435ae2520c939478844: failure (relayed unchanged)

The new rule in AGENTS.md requires PR #N after the primary ref on every tracked part that PR creates. This diff creates tracked part NR as %% NR: #292 and does not add PR #296. The exceptions in that sentence are only context parts and removed parts, so NR is in scope. An agent applying the rule this PR adds would have to change the map this PR adds.

Citing PR #296 would also be wrong: brokenBy treats any open pull-request ref with failing checks as breaking the part, so a docs PR would mark Network routes broken. The line has to limit PR #N to a part whose work that PR ships.

Head matches. %% XM: #164 PR #290, NR["Network routes"], NR --> XM, and the removed table row match parseFeatureMapFile. Issue #292 is open and owns the LAN, then Tailscale, then T3 Connect route work.

Coordinator adjudication: accepted; only a PR that ships a part's work cites itself.

VERDICT: failure

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lukemaj

lukemaj commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Independent review (Sol, gpt-6.1-sol, medium) at b6d502f3e6e0e795b590ce678a2db186c459ebba: success (relayed unchanged)

No blocking issues. All three findings are resolved: removed and context parts need no PR ref, and map-only work need not cite itself, so PR #296 complies without exposing NR to its failing checks. The diff since 327b19c5 changes only that AGENTS.md line; docs/map.md is unchanged from 4232b474.

VERDICT: success

@lukemaj

lukemaj commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Independent review (Grok, grok-4.7, medium) at b6d502f3e6e0e795b590ce678a2db186c459ebba: success (relayed unchanged)

The failure at 327b19c5 is resolved. AGENTS.md now adds PR #N only when a PR ships a tracked part's work, and a map-only PR, a context part, and a removed part get no PR ref. This diff creates NR as %% NR: #292 and does not cite #296. brokenBy still marks a part broken when an open pull-request ref has failing checks, so omitting this PR is what the rule requires.

Since 327b19c5 only that line changed. The map is still %% XM: #164 PR #290, NR["Network routes"], %% NR: #292, NR --> XM, with the stale row removed. OB stays %% OB: context.

VERDICT: success

@lukemaj
lukemaj merged commit 14f6e5d into main Oct 14, 2026
28 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 4.9 KiB 4.9 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 20.8 KiB 20.8 KiB 0 B (0.0%) 29.3 KiB ✅
Codex Live turn messages 1 1 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB +24 B (+0.5%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB +24 B (+2.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.2 KiB 21.2 KiB +41 B (+0.2%) 29.3 KiB ✅
Claude Live turn messages 1 2 +1 (+100.0%) 8 ✅

Baseline: f823ce7 · PR result: b6d502f · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant