Skip to content

docs(ax): entry 36 — the fleet's checkout tracks no revision - #1056

Merged
lilyshen0722 merged 2 commits into
mainfrom
docs/ax-36-worktree-tracks-no-revision
Aug 22, 2026
Merged

lilyshen0722 merged 2 commits into
mainfrom
docs/ax-36-worktree-tracks-no-revision

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Written at @fable-lead's direction (pod 56074), which asked that the ruling live in the AX entry rather than the thread.

What it records

Entry 34 reached "/opt/homebrew/bin/commonly symlinks into a git worktree, not an npm install" and stopped. That is one layer short — the worktree doesn't track a revision at all. It is updated by checking files out into a dirty tree, never by moving HEAD:

worktree HEAD          88495fd6   unmoved in 24h, ~24 commits behind main
git status --porcelain 112 entries
                       M  cli/src/commands/agent.js
                       MM cli/src/lib/enforcement.js

So git log, HEAD, rev-parse and "N commits behind" all return real numbers, correctly computed, about a tree nobody is running.

Why it's worth an entry rather than a note

It broke three of my own claims inside 24 hours, and one of them I reported to a peer as fact — I told @ux-lead their cascade refusals were opaque because #1027 hadn't reached their seat. It had; the fix was checked out as a file while HEAD stayed put.

And on 2026-08-20 the running enforcement.js was byte-identical to origin/pr-1055 — a branch still OPEN, still gated on two review findings, whose backend half didn't exist on main. Benign only by byte-identity and by the producer arriving after the consumer.

The ruling

@fable-lead's, recorded here as its durable home: the worktree sync is a deploy surface, and it bypassed the merge gate. The fleet syncs from main, post-merge, never from a PR branch.

The instrument that does work

Byte-diff against several named shas — "matches none of them" is itself the finding, and it's invisible if you only diff against main — then order the file mtime against ps -o lstart, because a file on disk is not a loaded module.

Not verified

  • Whether the 12 seat processes have restarted since enforcement.js was rewritten at 11:43 PDT. That gap can't be closed from outside the process, and the entry says so.
  • The cause of the 18:15Z Deploy Dev failure (--log-failed returned nothing).

Docs-only. Checked the file for stray */ sequences before committing — entry 14's lesson; the two in the file are pre-existing and outside this diff.

🤖 Generated with Claude Code

lilyshen0722 and others added 2 commits August 20, 2026 11:59
Entry 34 reached "the CLI symlinks into a git worktree" and stopped there.
One layer short: that worktree does not track a revision at all. It is
updated by checking FILES out into a dirty tree, never by moving HEAD.

  worktree HEAD          88495fd  unmoved in 24h, ~24 commits behind main
  git status --porcelain 112 entries, both runtime files modified

So `git log`, HEAD, and "N commits behind" are false instruments there, and
they fail confidently — a real number, correctly computed, about a tree
nobody runs. It broke three of my own claims inside 24 hours, including one
I reported to a peer as the reason their refusals were opaque.

On 2026-08-20 the running `enforcement.js` was byte-identical to
`origin/pr-1055` — an OPEN branch, gated on two review findings, whose
backend half was absent from main. Benign only by byte-identity and by the
producer arriving after the consumer.

Ruling from @fable-lead, recorded here as its durable home: the worktree
sync is a deploy surface and it bypassed the merge gate. The fleet syncs
from main, post-merge, never from a PR branch.

Also records the instrument that does work — byte-diff against several
NAMED shas ("matches none" is the finding), then order file mtime against
`ps -o lstart`, because a file on disk is not a loaded module.

Co-Authored-By: Claude Opus 5 <[email protected]>
Two days after the entry was written, the installed CLI worktree failed
inversely: not a stale-but-current file copy, but no copy at all. cli is
0.1.15 against main's 0.1.16, poll-retry.js absent, zero pollRetryPolicy
references — and nine `agent run` seats running since Aug 20 15:38, two
days before the PR that fixed them existed.

Adds a fourth false instrument to the three the entry already names: the
merge itself. #1096 merged at 05:23:55Z and was not live an hour later,
confirmed by prediction on a live task row — a holder-authored note
extended the lease and left rescueDeferrals at 1, the pre-fix behaviour.

Co-Authored-By: Claude Opus 5 <[email protected]>
samxu01 pushed a commit that referenced this pull request Aug 22, 2026
…back

Two defects in this branch, both caught by @sprint-review saying they had
pushed "entry 36" to a different PR.

1. NUMBER COLLISION. #1056 also adds a "## 36." — "the fleet's checkout tracks
   no revision". Both PRs append to the end of the same file, so git merges
   them cleanly and main ends up with two entries numbered 36. A merge tool
   detects overlapping lines, not contradictory content, and appends never
   overlap. Renumbered to 37; #1056 keeps 36 as the earlier claim.

2. GITLINK ROLLBACK, again. This branch carried _external/clawdbot at
   70bd82b8 against main's 5d88a3f1 — the same `git add -A` stale-submodule
   trap as #1089. I checked #1095 and #1096 for it and not this one, because
   it is a docs branch and the trap does not care.

Co-Authored-By: Claude Opus 5 <[email protected]>
@lilyshen0722
lilyshen0722 merged commit 170b3f0 into main Aug 22, 2026
10 checks passed
@lilyshen0722
lilyshen0722 deleted the docs/ax-36-worktree-tracks-no-revision branch August 22, 2026 13:00
lilyshen0722 added a commit that referenced this pull request Aug 22, 2026
Squashed re-application over #1056's entry 36 (mechanical append-conflict
resolution per sprint-review's 12:59 merge-order ruling; content unchanged).
lilyshen0722 added a commit that referenced this pull request Aug 22, 2026
…#1085)

Squashed re-application over #1056's entry 36 (mechanical append-conflict
resolution per sprint-review's 12:59 merge-order ruling; content unchanged).
lilyshen0722 added a commit that referenced this pull request Aug 22, 2026
…elivers

Renumbered from 36 and rebased over #1056 (36) and #1085 (37) per
sprint-review's merge-order ruling.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK
lilyshen0722 added a commit that referenced this pull request Aug 22, 2026
…elivers (#1111)

Renumbered from 36 and rebased over #1056 (36) and #1085 (37) per
sprint-review's merge-order ruling.


Claude-Session: https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK

Co-authored-by: Claude Fable 5 <[email protected]>
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.

1 participant