Repository navigation
docs(skills): merge-pr waits out UNKNOWN, setup ledgers, checkout updates, classifier-safe discards - #143
Merged
Conversation
…ates, classifier-safe discards - merge-pr: mergeable or merge state UNKNOWN means GitHub is recomputing; poll up to 5 minutes, never merge on it. - agent-setup usage: a conflict on an unedited skill can mean another state ledger owns it; apply per owning ledger and check each receipt. - git-and-diff-workflows: update a checkout with fetch plus merge --ff-only or fetch origin main:main, never by setting an upstream; then check for a linked build running stale output. - safe-command-patterns: when a classifier refuses a discard, stash with a message and paths, one destructive command per step, hand the rest to the user; never reword it. Refs scf-3ovct Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs scf-3ovct
Lessons from a working session, kept as short additions to existing skills (no new skills):
merge-prUNKNOWNmergeable or merge state right after another merge into the base means GitHub is recomputing: poll for up to 5 minutes, never treat it as a conflict or merge on it.agent-setup(references/usage.md)--stateledger owns it. Plan with each ledger, apply per owning ledger, check every receipt.git-and-diff-workflowsfetch+merge --ff-only origin/<default>, orfetch origin main:mainwhenmainisn't checked out. Never set an upstream (.git/config). Then check for a linked build still running an old untrackeddist/.safe-command-patternscheckout --,restore,branch -D), usegit stash push --include-untracked -m … -- <paths>, one destructive command per step, and hand the rest to the user as a!command. Never reword it to get past the check.Checks
sync
--check, inventory--check, frontmatter, portability, eval fixtures andpytest testsexit 0. Only these four skills (and their generated mirrors) change.check_secrets.pywasn't run here; a local hook blocks agents from running it.🤖 Generated with Claude Code