Skip to content

docs(skill): the stash stack is shared across worktrees, and cede a locus twenty minutes old - #2976

Merged
gHashTag merged 1 commit into
masterfrom
loop/shared-stash-lesson
Aug 30, 2026
Merged

docs(skill): the stash stack is shared across worktrees, and cede a locus twenty minutes old#2976
gHashTag merged 1 commit into
masterfrom
loop/shared-stash-lesson

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Refs #2968

Two operational lessons that cost a pull request this pass.

The stash stack is shared across every worktree. A blind git stash -q -u; …; git stash pop -q on a tree with nothing to stash pushes nothing and pops the top of the shared stack — another session's work in progress. git add -A then committed 44 lines of their compiler.rs and FROZEN_HASH under my name.

The symptom is worth the section on its own: a gate going red on a change that cannot touch it. A one-line edit to a test file — which cargo build --release does not compile — turned seal-coverage red, and a release build of the branch read 152 drifted seals against master's 0. The first move on that shape is git diff --name-status <base>...HEAD, not reading the failure.

Cede a locus twenty minutes old. An issue I filed duplicated one whose chip was in the dashboard I had read in full that hour, and a one-line repair I wrote was landed first by the session that owns the file. What survived that detour was not the patch but a measurement their PR did not carry.

Their swept-in work was returned verbatim to #2968 before the revert — a successful pop drops the entry — and has since landed on its own as #2971.

🤖 Generated with Claude Code

…ocus twenty minutes old

Refs #2968

Two operational lessons that cost a pull request this pass.

A separate `git worktree` does not get a separate stash stack. A blind
`git stash -q -u; …; git stash pop -q` on a tree with nothing to stash popped
the top of the shared stack -- another session's work in progress -- and
`git add -A` committed 44 lines of their `compiler.rs` and `FROZEN_HASH` under
my name. The symptom was a gate going red on a change that cannot touch it: a
one-line edit to a test file turned `seal-coverage` red, and a release build of
the branch read 152 drifted seals against master's 0.

And two collisions with the parallel session, both avoidable by one command:
an issue duplicating one whose chip was in the dashboard I had read in full that
hour, and a one-line repair they landed first while mine was in CI.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-30 18:32:32 UTC

Summary

Status Count
Total Open PRs 8
PRs with Failing Checks 7
PRs with All Checks Green 1
READY 0
FAILING 7
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=4eccc2f5d228 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit 56ed5cb into master Aug 30, 2026
26 checks passed
@gHashTag
gHashTag deleted the loop/shared-stash-lesson branch August 30, 2026 18:34
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