[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7587AKCHKXXXNF0NFFTH3XP":3,"skill-same:01M7587AKCHKXXXNF0NFFTH3XP":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M7587AKCHKXXXNF0NFFTH3XP","git-push-gate-failures",null,"Use when a push is blocked and the cause is unclear.","lukemcqueen\u002Fsteadfaste-fleet","lukemcqueen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F405240?v=4","01M757MHPAGRXTJAT46SKZP98R","Luke McQueen","01M757MHPZ573KP8DT9GB8SBQ7",4,"MIT","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgit-push-gate-failures\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: git-push-gate-failures\ndescription: \"Use when a push is blocked and the cause is unclear.\"\nversion: 1.0.0\nauthor: Steadfaste Fleet\ntags: [git, push, hooks, deploy, shell]\nrelated_skills: [shared-repo-push-gates, enforcement-change-safety, shell-scripting]\n---\n\n# Git Push Gate Failures\n\nDiagnosis patterns for blocked pushes in repos with the fleet governance\nhooks (pre-push-pull, doctor gate, dogfood). Most rejections are\nENVIRONMENTAL — a stale deploy record, a hook false positive, or a shell\nexit-code trap — not a problem with your diff. Diagnose the gate first;\nyour commit is usually fine.\n\n## 1. \"Deploy sync FAIL\" that survives repeated fleet-update runs\n\n**Symptom:** `fleet-doctor.py` shows `❌ Deploy sync` with \"HEAD ahead of\nlast deploy\" even after `fleet-update.sh` runs \"cleanly\" (rc 0 or rc 1\nwith a normal-looking log tail). The pre-push gate then blocks every push.\n\n**Mechanism:** the doctor compares `git rev-parse HEAD` against\n`~\u002F.steadfaste-fleet\u002Fstate\u002Fupdate-commit`, which fleet-update.sh writes near\nthe END of its run. If ANY earlier step dies under `set -euo pipefail`, the\nrecord never advances. The log tail looks fine because the failing section\n(service restarts) is adjacent to the end.\n\n**Simplest cause — check this before `bash -x`:** the deploy was never run.\nManually `cp`-ing changed files to `~\u002F.steadfaste-fleet\u002Fscripts\u002F` (e.g. to work\naround a slow `fleet-update.sh --force` timeout) does NOT advance\n`state\u002Fupdate-commit` — only fleet-update.sh writes it, so a manual copy\nleaves the marker behind HEAD and the dogfood gate blocks every push. Tell:\n`git log --oneline -1 origin\u002Fmain` shows your commit while\n`cat ~\u002F.steadfaste-fleet\u002Fstate\u002Fupdate-commit` is an older SHA, and `bash -x`\nfinds no dying step because none ran. Fix: `bash ops\u002Fscripts\u002Ffleet-update.sh\n--force`, confirm `cat state\u002Fupdate-commit` == `git rev-parse HEAD`, push.\n\n**Diagnosis (the tell):**\n\n```bash\nstat -c '%y' ~\u002F.steadfaste-fleet\u002Fstate\u002Fupdate-commit 2>\u002Fdev\u002Fnull || stat -f '%Sm' ~\u002F.steadfaste-fleet\u002Fstate\u002Fupdate-commit   # mtime BEFORE your changes? (GNU first, BSD fallback)\n```\n\nAn old mtime while deploys \"run clean\" = the deploy is dying before the\nrecord write. Find the dying step: `bash -x ops\u002Fscripts\u002Ffleet-update.sh\n--force` and read the trace around the last output. Fix that step, re-deploy,\nand confirm the record advanced (\"State saved: \u003Chash>\" + fresh mtime).\n`rc` of a piped run (`bash script.sh | tail`) is NOT completion proof.\n\n**Real root cause found this way (2026-09-01):** systemd ≥261 requires the\n`.service` suffix in `systemctl list-unit-files \u003Cname>` — a bare name\nreturns EMPTY output\u002Frc=1 even when the unit exists. fleet-update's\nSERVICE_CTL scope-detection grepped `^${unit}` on a suffix-less query, the\ncheck failed, it fell back to `systemctl --user`, and the dbus error\n(\"Failed to connect to user scope bus\") under `set -euo pipefail` killed the\ndeploy before `state\u002Fupdate-commit` was written. Fix: normalize the unit\nname (`[[ \"$unit\" == *.* ]] || unit=\"${unit}.service\"`) before querying.\n\n## 2. First push to a brand-new remote is rejected\n\n**Symptom:** `git push -u origin main` on a repo with an EMPTY remote fails\nwith \"pre-push-pull: git fetch failed\". The remote was just created via the\nGitHub UI with no initial commit.\n\n**Mechanism:** the pre-push hook runs `git fetch origin \"$branch\"`\nunconditionally; on an empty remote the ref doesn't exist, fetch fails with\n\"couldn't find remote ref main\", and the hook blocks the push — a false\npositive (nothing to be behind; the no-verify gate already handles new\nbranches via remote_sha=0).\n\n**Fixed hook behavior (2026-09-01):** the hook now discriminates with\n`git ls-remote --exit-code origin \"$branch\"` captured as `|| LSRC=$?`:\n\n```bash\nLSRC=0\ngit ls-remote --exit-code origin \"$branch\" >\u002Fdev\u002Fnull 2>&1 || LSRC=$?\nif [[ $LSRC -eq 2 ]]; then\n  : # ref absent → first push, allow (no-verify gate still checks new branches)\nelse\n  exit 1   # ref present (0) or network\u002Fauth failure (≠2) → fail CLOSED\nfi\n```\n\n⚠️ **FAIL-OPEN trap:** a bare `if git ls-remote ...; then block; fi` treats a\nNETWORK failure (exit 128) the same as \"ref absent\" (exit 2) — a dead\nremote pushes through. Only the exact `-eq 2` check fails closed.\n\n**On a host with a pre-fix deployed hook:** create the remote ref manually\n(first commit via GitHub UI, or push once from a non-hook context) so the\nfetch succeeds, or deploy the hook fix first.\n\n## 3. Exit-code-vs-output shell traps (set -euo pipefail)\n\nTwo commands return non-zero for EXPECTED results, silently killing scripts:\n\n- `systemctl is-enabled \u003Cunit>` exits 1 when MASKED (prints \"masked\") — the\n  desired state, not a failure.\n- `git ls-remote --exit-code \u003Cremote> \u003Cref>` exits 2 when the ref is absent\n  — \"no match\" is the expected case.\n\n**Trap A — `|| echo fallback` fires on EXIT CODE, not empty output:**\n\n```bash\nstate=\"$(systemctl is-enabled hibernate.target 2>\u002Fdev\u002Fnull || echo unknown)\"\n[[ \"$state\" == \"masked\" ]]  # FAILS — value is \"masked\\nunknown\"\n\nstate=\"$(systemctl is-enabled hibernate.target 2>\u002Fdev\u002Fnull || true)\"\n[[ \"$state\" == \"masked\" ]]  # works\n```\n\n**Trap B — standalone non-zero command kills the script before `$?`:**\ncapture in the `||`, initialize first, branch only on the exact code:\n\n```bash\nLSRC=0\ngit ls-remote --exit-code origin main >\u002Fdev\u002Fnull 2>&1 || LSRC=$?\n[[ $LSRC -eq 2 ]] && echo \"absent\"\n```\n\n## 4. Push blocked after rebasing over a peer's overlapping fix\n\n**Symptom:** `git pull --rebase` succeeds (possibly after resolving a\nconflict), but the push is then blocked by the dogfood gate: `❌ Deploy sync`,\n`❌ Script content (\u003Cname>)`, `❌ Checksum: \u003Cfile>.sh`. Your commit looks fine.\n\n**A register() source can be SILENTLY UNCOMMITTED by a `.gitignore`\npattern.** When a new registered file is missing from a commit, check\n`git check-ignore \u003Csrc>` FIRST: a filename matching a broad rule (`*secret*`,\n`*token*`) makes `git add` skip it with no error, so the commit lands with\nonly the `register` line. The doctor then FAILs `Deploy source missing:\n\u003Cfile>` on every host. Fix by renaming the artifact out of the pattern (keeps\n\tthe guard intact) or adding an explicit `!negation`; verify it staged with\n`git ls-files \u003Csrc>` before committing. Do not re-implement a peer's\nin-flight fix to the same artifact without checking `git log --all -- \u003Cpath>`\nand `git ls-tree origin\u002Fmain -- \u003Cpath>` first — if the peer is actively\npushing that fix, your re-implementation is a wrong-direction commit you\nmust then revert and push the revert.\n\n**Mechanism:** the dogfood gate diffs DEPLOYED scripts\n(`~\u002F.steadfaste-fleet\u002Fscripts\u002F`) against repo HEAD. A peer's overlapping commit\nchanged the same script in the repo; your deployed copy still carries YOUR\npre-rebase version → checksum mismatch → gate blocks. The gate compares\ndeploy state, not your diff — your commit is not the problem.\n\n**The checksum line may name files you did NOT touch.** `❌ Checksum:\nchecks.py` \u002F `cli.py` on a push whose diff touches neither usually means a\nPEER's merged commit changed them and your host's deploy is stale — not that\nyour diff is wrong. Do not chase the named file; it is correct, just not\ndeployed. Verify with `git log --oneline origin\u002Fmain -1` vs\n`cat ~\u002F.steadfaste-fleet\u002Fstate\u002Fupdate-commit`: tip-ahead-of-deploy confirms the\nstale-deploy reading, and the fix is the same re-deploy + push below.\n\n**Fix:** re-run `bash ops\u002Fscripts\u002Ffleet-update.sh` (deploys the rebased repo\nstate, including the peer's version), verify the deployed file matches repo\n(`diff \u003C(grep -v '^# SOURCE:' ops\u002Fscripts\u002FX.sh) \u003C(grep -v '^# SOURCE:'\n~\u002F.steadfaste-fleet\u002Fscripts\u002FX.sh)`), then push.\n\n**Confirm the push actually landed, not just that the command ran:** after a\nre-deploy the push can still be raced — the threat-pipeline cron pushes its\nown auto-commits between your `pull --rebase` and your `push`, so the push is\nrejected as non-fast-forward. `git pull --rebase` again and retry; once the\npush shows `A..B  main -> main` it has landed even if a later line in the same\nchain printed an earlier failure. Verify with `git log --oneline -1\norigin\u002Fmain` == your commit before reporting success. Also re-run\n`fleet-update.sh` one final time AFTER the push so the deployed tree carries\nthe just-pushed commit — the push gate's internal deploy can trail the newest\ncommit.\n\n**Rebase conflict gotcha (2026-09-02):** during `git pull --rebase`, `--ours`\nis the UPSTREAM (incoming, peer) version and `--theirs` is YOUR replayed\ncommit — the opposite of a merge. Taking `--theirs` on a conflict keeps YOUR\nversion, so your commit still carries a duplicate of a peer's identical fix.\nTo yield to the peer's already-pushed version, use `git checkout --ours\n\u003Cfile>` then `git add`; verify with `git show \u003Csha> -- \u003Cfile>` (should be\nempty for the duplicated file) before amending. Prefer the peer's version\nwhen it is identical-or-better and already public.\n\n**Orphaned `\u003C\u003C\u003C\u003C\u003C\u003C\u003C HEAD` after a hand-resolved conflict:** when you resolve a\nconflict block by keeping only the top side (e.g. a patch whose delete starts\nat the `=======`\u002F`>>>>>>>` boundary), the leading `\u003C\u003C\u003C\u003C\u003C\u003C\u003C HEAD` line survives\nas stray text; the marker is NOT auto-removed by clearing the bottom side.\nThe result compiles\u002Fpasses silently and only shows up as a stray heredoc\u002Ftest\ntext later. After resolving ANY conflict block, `grep -rn '^\u003C\u003C\u003C\u003C\u003C\u003C\u003C\\|^=======\\|^>>>>>>>' \u003Cpath>`\nand delete every leftover line before `git rebase --continue` — a verified\nzero-marker file is the only safe state. When several files conflict, resolve\nall of them in one pass, then grep the set clean before continuing.\n\n## 5. Push blocked by a \"PENDING cycles\" governance leak (no live lock)\n**Symptom:** the doctor FAILs `❌ PENDING cycles` — \"N unscored cycle(s) from finished task(s)\" — and the pre-push gate blocks every push. The cycles listed are NOT yours; they are sibling\u002Fdaemon\u002Fcrashed sessions that called `begin_change` and never scored. Each has `decision='PENDING'`, `user_overrode IS NULL`, and its task's `.governance-*.json` lock is gone.\n\n**The two distinct root causes — diagnose before patching:**\n\n1. **Malformed-heartbeat locks are pinned \"never stale\".** `_is_lock_stale` (in `loop-gov-mcp.py`, `purge-stale-governance-locks.py`, and the enforcer) previously returned `False` forever when `datetime.fromisoformat` raised: a time-only heartbeat (`09:12:00Z` — no date, fromisoformat needs one) or a naive no-TZ timestamp (aware-vs-naive subtraction raises `TypeError`). Both were caught and treated as fresh, so the crashed session's lock never aged past TTL and was never purged.\n2. **Purge deletes the lock file but leaves the orphaned cycle.** The doctor's leak rule is \"PENDING cycle whose task_id has NO live lock = FAIL\". Removing the lock does NOT clear the cycle — the doctor still FAILs and blocks. Fix as a pair: when a lock is purged as stale, also resolve that task's PENDING cycle(s) to `MOVE_ON`, and run the purge from `begin_change` (the acquiring gate) not just `_check_lock`.\n\n**Check the deployed copy matches repo first** — `diff` the deployed `~\u002F.steadfaste-fleet\u002Ftools\u002Floop-governance\u002Floop-gov-mcp.py` against `mcp-servers\u002Floop-gov-mcp.py`; the ONLY allowed difference is the injected `# SOURCE:` \u002F `# Do NOT edit` header lines. Any other diff (or a running gateway process started before the fix — \"deploy ≠ load\") means the running code is stale and the fix hasn't loaded.\n\n**Same deploy≠load window refuses `end_change` with a reviewer EXCEPTION, not a clean banner.** After deploying a loop-gov change, the RUNNING MCP daemon still executes the old module; a non-trivial close then fails because the in-memory reviewer hits code it does not have yet. The error reads like a reviewer\u002Fdata bug (`'str' object has no attribute 'get'`) rather than a \"restart pending\" notice. Recognize the transition window, not a regression: retrying repeats the same error; `feedback_accept`\u002Fclose what you can, have the operator restart the gateway, then retry `end_change` after the restart. A watchdog alert naming \"N loop-gov daemon(s) ... running pre-deploy code\" is the same condition. The same window also produces a bogus-looking doctor run — re-read the doctor as a bare `python3 …fleet-doctor.py` AFTER the deploy process exits, and do not chase warns\u002Ffails captured mid-deploy.\n\n**Hermetic repro for a purge fix** (no real state touched): repoint the module's `GOVERNANCE_STATE_DIR` \u002F `LOOP_DB` at a temp dir, write a stale time-only-heartbeat lock, seed a PENDING cycle for its task, run `_purge_stale_locks()`, assert the lock is gone AND the cycle flipped to `MOVE_ON`. Proving the cycle resolution is what unblocks the gate — deleting the lock alone demonstrably does not.\n\n## 6. Push blocked by \"❌ Review provenance\" — an unbacked `recorded-in` claim\n**Symptom:** the doctor FAILs `❌ Review provenance` naming a docs\u002Fevidence file\nthat presents itself as a recorded review, and the pre-push gate blocks every\npush on the host — regardless of how unrelated your diff is.\n\n**Mechanism:** `check_review_provenance` (fleet_doctor) shells out to\n`ops\u002Fscripts\u002Fquality\u002Freview-provenance-check.py`, which scans every text file\nunder `docs\u002F` for a `recorded-in: adversarial_reviews review_id=…` CLAIM in\nits header. A claim is verified against the host's LOCAL loop-governance DB\n(`~\u002F.steadfaste-fleet\u002Fdata\u002Floop-governance.db`); if no row carries that id, the\nfile is an unbacked claim → FAIL. A review row lives on the host where\n`adversarial-review.py --cycle-id N --review` RAN, so a docs file committed to\nthe shared repo carries a claim only one host can truthfully verify — every\nother host FAILs on it. It is often another session's (or a merged\nupstream's) artifact, not yours — but it still blocks you, and you own it.\n\n**Verify before touching it** (never mark an unbacked claim as if it were\nverifiable):\n```\nsqlite3 ~\u002F.steadfaste-fleet\u002Fdata\u002Floop-governance.db \\\n  \"SELECT review_id, cycle_id FROM adversarial_reviews WHERE review_id LIKE '\u003Cid>%';\"\n```\nA query with rows = the claim is valid on this host; empty = the row is\nelsewhere or fabricated. Then run the checker standalone to see the\nenumeration and the offending line:\n```\n~\u002F.steadfaste-fleet\u002Fvenv\u002Fbin\u002Fpython3 ops\u002Fscripts\u002Fquality\u002Freview-provenance-check.py --repo .\n```\n\n**Legal fixes (the checker accepts exactly these; both are exact strings —\n`check_review_provenance` matches the literal constant, so a trailing\nexplanation on the declaration line breaks the match and re-FAILs):**\n- `> \\`provenance: advisory\\`` at the top of the file — truthful when the\n  row is not verifiable on this host; move any explanation of WHY to the\n  body below the declaration, never on the declaration line.\n- `> \\`provenance: not-a-review\\`` — for a model-named header that is\n  not a review at all.\nDo NOT graft a `recorded-in` id that does not exist in the local store just to\nsatisfy the gate — that makes the file a fabricated claim and is the exact\ndefect the check exists to stop. Say plainly in the note whether the row is\npresent or absent.\n\n## 7. Push blocked by the REVIEW RECEIPT gate — and the deploy it then demands\n\n**Symptom:** `❌ Push blocked: this range touches an always-review path and carries no clean\nreview receipt.` followed by `Expected receipt: \u003Cstate>\u002F.reviewed-\u003Cslug>-\u003Ctip>.json`.\n\n**Mechanism:** the receipt is written by the GOVERNANCE SERVER at a PERMITTED close\n(`end_change` → review gate → `_write_review_receipt`), never by `ops\u002Fscripts\u002Forch-bus\u002Fadversarial-review.py`\n(which only records an LLM verdict row). So the order is **close, then push** — backwards from\nintuition, and by design: the review that used to land after the push now gates it.\n\n- **The per-blob pass has a budget (~15 blobs \u002F 240s per close) and verdicts are keyed by blob\n  CONTENT.** A partial close is RESUMED by calling `end_change` again — it says \"closing again\n  continues from here\" — so on a multi-file range expect 2-3 calls rather than one. Fixing a file\n  after a FINDINGS verdict produces a NEW blob, judged on its own; re-close after every commit.\n- The receipt is bound to the RANGE (base…tip), but the gate also accepts ANY receipt whose\n  `reviewed_blobs` cover every file the range changes — which is how a rebase that rewrote the tip\n  can still push.\n- **`adversarial_reviews` has one row per cycle.** A second `--review` for the same `--cycle-id`\n  answers \"already reviewed (UNIQUE constraint)\" and does NOT re-judge; a fresh judgement needs\n  `rereview_change` (opens the cycle's verdict again, requires a note stating what changed plus its\n  evidence). Read the recorded row (verdict + findings_json) from\n  `~\u002F.steadfaste-fleet\u002Fdata\u002Floop-governance.db` — note this is NOT `state\u002Floop-governance.db`.\n- **A review whose material was a PATH, not content, returns a hollow CLEAN** — the reviewer reports\n  `unverified-claim` on the path itself (\"the window contains only this path\"). Pass the plan\u002Fdiff\n  CONTENT as material, and treat a CLEAN that names an unreadable window as no approval at all.\n- **Push as a LONE `git push`.** The enforcer refuses a compound push (`git push && git rev-parse …`,\n  `git push | tail`, `cd X && git push`) because it cannot prove the shape; a CLEAN receipt can\n  authorise a push with no active lock, but only for the bare command. Verify in a separate call.\n\n**The deploy chicken-and-egg — use a lock-carrier cycle, never an override.** The push gate also\nrequires a doctor-clean DEPLOYED state, while the deploy (`fleet-dogfood.sh`) is a WRITE-class\ncommand that itself needs a repo lock. Once you have closed the cycle, the lock is gone and the\ndeploy is blocked, so the two gates appear to deadlock. The sanctioned exit is a deploy-only cycle:\n\n```\nbegin_change(task_id=\"deploy-\u003Cthing>\",\n             description=\"Lock-carrier cycle for a DEPLOY-ONLY action: deploy and push the \"\n                         \"already-reviewed range \u003Csha> (cycle N, closed CLEAN with a receipt). \"\n                         \"No source change is made on this cycle.\")\n# then: dogfood --force → lone `git push` → feedback_accept → end_change\n```\n\nState plainly in the description that no source changes — that is what the cycle's own review needs\nto agree with — and expect the close to warn `receipt NOT written … lists no files` once the range is\nalready pushed (benign: an empty range has nothing to authorise).\n\n## Verification checklist\n\n- [ ] `stat` the update-commit mtime before debugging your diff\n- [ ] `bash -x` the deploy to find the dying step (don't trust the log tail)\n- [ ] Test the hook with a 4-case scratch matrix: first push → ALLOW;\n      normal push → PASS; fetch fails + ref exists → BLOCK; remote\n      unreachable → BLOCK\n- [ ] A4 adversarial gate on hook\u002Fdeploy changes before commit\n\n## Fleet-shared vs local- (user preference, workflow decision)\n\nDecide by who needs the artifact, NOT by what dodges a doctor warning. A\ngenuinely fleet-useful artifact (a gate backend, a reviewer wrapper, a shared\nhelper) belongs FLEET-SHARED in the repo with a proper `register()` entry, then\ndeploy + push. Renaming it to `local-` purely to clear a doctor stale-deploy\nwarning is backwards — the answer to a genuine fleet need is to register and\ndeploy it, not hide it as a one-off. `local-` is for one-off, host-specific\nthings only. Ask \"would another host want this?\" — if yes, make it fleet-shared.\nThe user: \"if it isn't fleet shared, then what's the point?\" (respond in kind,\nnot by dodging the warning).\n\n## Public-repo publishing discipline (user preference, 2026-09-01)\n\nWhen creating a PUBLIC repo (e.g. the omarchy-omar project), the user's hard\nrule: **zero PII — no real usernames, hostnames, LAN\u002FWAN IPs, domains,\nphone\u002Femail, bot or session identifiers, machine serials.** Public repos are\ncrawled; a leaked identifier is permanent. Practice:\n\n- Use placeholders everywhere: `YOURUSER`, `192.168.1.x`, `example.com`,\n  `mymac`. Configs are templates for strangers to copy, never live values.\n- Before pushing, grep the whole tree:\n  `grep -rniE '192\\.168|\u003Crealhost>|\u003Crealdomain>|\u003Cchat-id>' .` → clean.\n  (Never paste a REAL identifier into the pattern — this line used to carry one,\n  which is the exact leak it warns about.)\n- Audit doc cross-references resolve (`](path)` from each file's own dir);\n  broken links fail the repo's own QA.\n- Scripts ship with a `--check` mode and pass `bash -n` before commit.\n\n## Related\n\n- `references\u002Ffine-grained-pat-capabilities.md` — fine-grained GitHub PAT\n  format, create\u002Fpush permission gaps (Administration vs Contents), and the\n  browser-created-repo unblock.\n- `shared-repo-push-gates` (sibling) — gate catalog + concurrent-session\n  discipline; this skill is the diagnosis playbook for when a gate blocks.\n","# Git Push Gate Failures\n\nDiagnosis patterns for blocked pushes in repos with the fleet governance\nhooks (pre-push-pull, doctor gate, dogfood). Most rejections are\nENVIRONMENTAL — a stale deploy record, a hook false positive, or a shell\nexit-code trap — not a problem with your diff. Diagnose the gate first;\nyour commit is usually fine.\n\n## 1. \"Deploy sync FAIL\" that survives repeated fleet-update runs\n\n**Symptom:** `fleet-doctor.py` shows `❌ Deploy sync` with \"HEAD ahead of\nlast deploy\" even after `fleet-update.sh` runs \"cleanly\" (rc 0 or rc 1\nwith a normal-looking log tail). The pre-push gate then blocks every push.\n\n**Mechanism:** the doctor compares `git rev-parse HEAD` against\n`~\u002F.steadfaste-fleet\u002Fstate\u002Fupdate-commit`, which fleet-update.sh writes near\nthe END of its run. If ANY earlier step dies under `set -euo pipefail`, the\nrecord never advances. The log tail looks fine because the failing section\n(service restarts) is adjacent to the end.\n\n**Simplest cause — check this before `bash -x`:** the deploy was never run.\nManually `cp`-ing changed files to `~\u002F.steadfaste-fleet\u002Fscripts\u002F` (e.g. to work\naround a slow `fleet-update.sh --force` timeout) does NOT advance\n`state\u002Fupdate-commit` — only fleet-update.sh writes it, so a manual copy\nleaves the marker behind HEAD and the dogfood gate blocks every push. Tell:\n`git log --oneline -1 origin\u002Fmain` shows your commit while\n`cat ~\u002F.steadfaste-fleet\u002Fstate\u002Fupdate-commit` is an older SHA, and `bash -x`\nfinds no dying step because none ran. Fix: `bash ops\u002Fscripts\u002Ffleet-update.sh\n--force`, confirm `cat state\u002Fupdate-commit` == `git rev-parse HEAD`, push.\n\n**Diagnosis (the tell):**\n\n```bash\nstat -c '%y' ~\u002F.steadfaste-fleet\u002Fstate\u002Fupdate-commit 2>\u002Fdev\u002Fnull || stat -f '%Sm' ~\u002F.steadfaste-fleet\u002Fstate\u002Fupdate-commit   # mtime BEFORE your changes? (GNU first, BSD fallback)\n```\n\nAn old mtime while deploys \"run clean\" = the deploy is dying before the\nrecord write. Find the dying step: `bash -x ops\u002Fscripts\u002Ffleet-update.sh\n--force` and read the trace around the last output. Fix that step, re-deploy,\nand confirm the record advanced (\"State saved: \u003Chash>\" + fresh mtime).\n`rc` of a piped run (`bash script.sh | tail`) is NOT completion proof.\n\n**Real root cause found this way (2026-09-01):** systemd ≥261 requires the\n`.service` suffix in `systemctl list-unit-files \u003Cname>` — a bare name\nreturns EMPTY output\u002Frc=1 even when the unit exists. fleet-update's\nSERVICE_CTL scope-detection grepped `^${unit}` on a suffix-less query, the\ncheck failed, it fell back to `systemctl --user`, and the dbus error\n(\"Failed to connect to user scope bus\") under `set -euo pipefail` killed the\ndeploy before `state\u002Fupdate-commit` was written. Fix: normalize the unit\nname (`[[ \"$unit\" == *.* ]] || unit=\"${unit}.service\"`) before querying.\n\n## 2. First push to a brand-new remote is rejected\n\n**Symptom:** `git push -u origin main` on a repo with an EMPTY remote fails\nwith \"pre-push-pull: git fetch failed\". The remote was just created via the\nGitHub UI with no initial commit.\n\n**Mechanism:** the pre-push hook runs `git fetch origin \"$branch\"`\nunconditionally; on an empty remote the ref doesn't exist, fetch fails with\n\"couldn't find remote ref main\", and the hook blocks the push — a false\npositive (nothing to be behind; the no-verify gate already handles new\nbranches via remote_sha=0).\n\n**Fixed hook behavior (2026-09-01):** the hook now discriminates with\n`git ls-remote --exit-code origin \"$branch\"` captured as `|| LSRC=$?`:\n\n```bash\nLSRC=0\ngit ls-remote --exit-code origin \"$branch\" >\u002Fdev\u002Fnull 2>&1 || LSRC=$?\nif [[ $LSRC -eq 2 ]]; then\n  : # ref absent → first push, allow (no-verify gate still checks new branches)\nelse\n  exit 1   # ref present (0) or network\u002Fauth failure (≠2) → fail CLOSED\nfi\n```\n\n⚠️ **FAIL-OPEN trap:** a bare `if git ls-remote ...; then block; fi` treats a\nNETWORK failure (exit 128) the same as \"ref absent\" (exit 2) — a dead\nremote pushes through. Only the exact `-eq 2` check fails closed.\n\n**On a host with a pre-fix deployed hook:** create the remote ref manually\n(first commit via GitHub UI, or push once from a non-hook context) so the\nfetch succeeds, or deploy the hook fix first.\n\n## 3. Exit-code-vs-output shell traps (set -euo pipefail)\n\nTwo commands return non-zero for EXPECTED results, silently killing scripts:\n\n- `systemctl is-enabled \u003Cunit>` exits 1 when MASKED (prints \"masked\") — the\n  desired state, not a failure.\n- `git ls-remote --exit-code \u003Cremote> \u003Cref>` exits 2 when the ref is absent\n  — \"no match\" is the expected case.\n\n**Trap A — `|| echo fallback` fires on EXIT CODE, not empty output:**\n\n```bash\nstate=\"$(systemctl is-enabled hibernate.target 2>\u002Fdev\u002Fnull || echo unknown)\"\n[[ \"$state\" == \"masked\" ]]  # FAILS — value is \"masked\\nunknown\"\n\nstate=\"$(systemctl is-enabled hibernate.target 2>\u002Fdev\u002Fnull || true)\"\n[[ \"$state\" == \"masked\" ]]  # works\n```\n\n**Trap B — standalone non-zero command kills the script before `$?`:**\ncapture in the `||`, initialize first, branch only on the exact code:\n\n```bash\nLSRC=0\ngit ls-remote --exit-code origin main >\u002Fdev\u002Fnull 2>&1 || LSRC=$?\n[[ $LSRC -eq 2 ]] && echo \"absent\"\n```\n\n## 4. Push blocked after rebasing over a peer's overlapping fix\n\n**Symptom:** `git pull --rebase` succeeds (possibly after resolving a\nconflict), but the push is then blocked by the dogfood gate: `❌ Deploy sync`,\n`❌ Script content (\u003Cname>)`, `❌ Checksum: \u003Cfile>.sh`. Your commit looks fine.\n\n**A register() source can be SILENTLY UNCOMMITTED by a `.gitignore`\npattern.** When a new registered file is missing from a commit, check\n`git check-ignore \u003Csrc>` FIRST: a filename matching a broad rule (`*secret*`,\n`*token*`) makes `git add` skip it with no error, so the commit lands with\nonly the `register` line. The doctor then FAILs `Deploy source missing:\n\u003Cfile>` on every host. Fix by renaming the artifact out of the pattern (keeps\n\tthe guard intact) or adding an explicit `!negation`; verify it staged with\n`git ls-files \u003Csrc>` before committing. Do not re-implement a peer's\nin-flight fix to the same artifact without checking `git log --all -- \u003Cpath>`\nand `git ls-tree origin\u002Fmain -- \u003Cpath>` first — if the peer is actively\npushing that fix, your re-implementation is a wrong-direction commit you\nmust then revert and push the revert.\n\n**Mechanism:** the dogfood gate diffs DEPLOYED scripts\n(`~\u002F.steadfaste-fleet\u002Fscripts\u002F`) against repo HEAD. A peer's overlapping commit\nchanged the same script in the repo; your deployed copy still carries YOUR\npre-rebase version → checksum mismatch → gate blocks. The gate compares\ndeploy state, not your diff — your commit is not the problem.\n\n**The checksum line may name files you did NOT touch.** `❌ Checksum:\nchecks.py` \u002F `cli.py` on a push whose diff touches neither usually means a\nPEER's merged commit changed them and your host's deploy is stale — not that\nyour diff is wrong. Do not chase the named file; it is correct, just not\ndeployed. Verify with `git log --oneline origin\u002Fmain -1` vs\n`cat ~\u002F.steadfaste-fleet\u002Fstate\u002Fupdate-commit`: tip-ahead-of-deploy confirms the\nstale-deploy reading, and the fix is the same re-deploy + push below.\n\n**Fix:** re-run `bash ops\u002Fscripts\u002Ffleet-update.sh` (deploys the rebased repo\nstate, including the peer's version), verify the deployed file matches repo\n(`diff \u003C(grep -v '^# SOURCE:' ops\u002Fscripts\u002FX.sh) \u003C(grep -v '^# SOURCE:'\n~\u002F.steadfaste-fleet\u002Fscripts\u002FX.sh)`), then push.\n\n**Confirm the push actually landed, not just that the command ran:** after a\nre-deploy the push can still be raced — the threat-pipeline cron pushes its\nown auto-commits between your `pull --rebase` and your `push`, so the push is\nrejected as non-fast-forward. `git pull --rebase` again and retry; once the\npush shows `A..B  main -> main` it has landed even if a later line in the same\nchain printed an earlier failure. Verify with `git log --oneline -1\norigin\u002Fmain` == your commit before reporting success. Also re-run\n`fleet-update.sh` one final time AFTER the push so the deployed tree carries\nthe just-pushed commit — the push gate's internal deploy can trail the newest\ncommit.\n\n**Rebase conflict gotcha (2026-09-02):** during `git pull --rebase`, `--ours`\nis the UPSTREAM (incoming, peer) version and `--theirs` is YOUR replayed\ncommit — the opposite of a merge. Taking `--theirs` on a conflict keeps YOUR\nversion, so your commit still carries a duplicate of a peer's identical fix.\nTo yield to the peer's already-pushed version, use `git checkout --ours\n\u003Cfile>` then `git add`; verify with `git show \u003Csha> -- \u003Cfile>` (should be\nempty for the duplicated file) before amending. Prefer the peer's version\nwhen it is identical-or-better and already public.\n\n**Orphaned `\u003C\u003C\u003C\u003C\u003C\u003C\u003C HEAD` after a hand-resolved conflict:** when you resolve a\nconflict block by keeping only the top side (e.g. a patch whose delete starts\nat the `=======`\u002F`>>>>>>>` boundary), the leading `\u003C\u003C\u003C\u003C\u003C\u003C\u003C HEAD` line survives\nas stray text; the marker is NOT auto-removed by clearing the bottom side.\nThe result compiles\u002Fpasses silently and only shows up as a stray heredoc\u002Ftest\ntext later. After resolving ANY conflict block, `grep -rn '^\u003C\u003C\u003C\u003C\u003C\u003C\u003C\\|^=======\\|^>>>>>>>' \u003Cpath>`\nand delete every leftover line before `git rebase --continue` — a verified\nzero-marker file is the only safe state. When several files conflict, resolve\nall of them in one pass, then grep the set clean before continuing.\n\n## 5. Push blocked by a \"PENDING cycles\" governance leak (no live lock)\n**Symptom:** the doctor FAILs `❌ PENDING cycles` — \"N unscored cycle(s) from finished task(s)\" — and the pre-push gate blocks every push. The cycles listed are NOT yours; they are sibling\u002Fdaemon\u002Fcrashed sessions that called `begin_change` and never scored. Each has `decision='PENDING'`, `user_overrode IS NULL`, and its task's `.governance-*.json` lock is gone.\n\n**The two distinct root causes — diagnose before patching:**\n\n1. **Malformed-heartbeat locks are pinned \"never stale\".** `_is_lock_stale` (in `loop-gov-mcp.py`, `purge-stale-governance-locks.py`, and the enforcer) previously returned `False` forever when `datetime.fromisoformat` raised: a time-only heartbeat (`09:12:00Z` — no date, fromisoformat needs one) or a naive no-TZ timestamp (aware-vs-naive subtraction raises `TypeError`). Both were caught and treated as fresh, so the crashed session's lock never aged past TTL and was never purged.\n2. **Purge deletes the lock file but leaves the orphaned cycle.** The doctor's leak rule is \"PENDING cycle whose task_id has NO live lock = FAIL\". Removing the lock does NOT clear the cycle — the doctor still FAILs and blocks. Fix as a pair: when a lock is purged as stale, also resolve that task's PENDING cycle(s) to `MOVE_ON`, and run the purge from `begin_change` (the acquiring gate) not just `_check_lock`.\n\n**Check the deployed copy matches repo first** — `diff` the deployed `~\u002F.steadfaste-fleet\u002Ftools\u002Floop-governance\u002Floop-gov-mcp.py` against `mcp-servers\u002Floop-gov-mcp.py`; the ONLY allowed difference is the injected `# SOURCE:` \u002F `# Do NOT edit` header lines. Any other diff (or a running gateway process started before the fix — \"deploy ≠ load\") means the running code is stale and the fix hasn't loaded.\n\n**Same deploy≠load window refuses `end_change` with a reviewer EXCEPTION, not a clean banner.** After deploying a loop-gov change, the RUNNING MCP daemon still executes the old module; a non-trivial close then fails because the in-memory reviewer hits code it does not have yet. The error reads like a reviewer\u002Fdata bug (`'str' object has no attribute 'get'`) rather than a \"restart pending\" notice. Recognize the transition window, not a regression: retrying repeats the same error; `feedback_accept`\u002Fclose what you can, have the operator restart the gateway, then retry `end_change` after the restart. A watchdog alert naming \"N loop-gov daemon(s) ... running pre-deploy code\" is the same condition. The same window also produces a bogus-looking doctor run — re-read the doctor as a bare `python3 …fleet-doctor.py` AFTER the deploy process exits, and do not chase warns\u002Ffails captured mid-deploy.\n\n**Hermetic repro for a purge fix** (no real state touched): repoint the module's `GOVERNANCE_STATE_DIR` \u002F `LOOP_DB` at a temp dir, write a stale time-only-heartbeat lock, seed a PENDING cycle for its task, run `_purge_stale_locks()`, assert the lock is gone AND the cycle flipped to `MOVE_ON`. Proving the cycle resolution is what unblocks the gate — deleting the lock alone demonstrably does not.\n\n## 6. Push blocked by \"❌ Review provenance\" — an unbacked `recorded-in` claim\n**Symptom:** the doctor FAILs `❌ Review provenance` naming a docs\u002Fevidence file\nthat presents itself as a recorded review, and the pre-push gate blocks every\npush on the host — regardless of how unrelated your diff is.\n\n**Mechanism:** `check_review_provenance` (fleet_doctor) shells out to\n`ops\u002Fscripts\u002Fquality\u002Freview-provenance-check.py`, which scans every text file\nunder `docs\u002F` for a `recorded-in: adversarial_reviews review_id=…` CLAIM in\nits header. A claim is verified against the host's LOCAL loop-governance DB\n(`~\u002F.steadfaste-fleet\u002Fdata\u002Floop-governance.db`); if no row carries that id, the\nfile is an unbacked claim → FAIL. A review row lives on the host where\n`adversarial-review.py --cycle-id N --review` RAN, so a docs file committed to\nthe shared repo carries a claim only one host can truthfully verify — every\nother host FAILs on it. It is often another session's (or a merged\nupstream's) artifact, not yours — but it still blocks you, and you own it.\n\n**Verify before touching it** (never mark an unbacked claim as if it were\nverifiable):\n```\nsqlite3 ~\u002F.steadfaste-fleet\u002Fdata\u002Floop-governance.db \\\n  \"SELECT review_id, cycle_id FROM adversarial_reviews WHERE review_id LIKE '\u003Cid>%';\"\n```\nA query with rows = the claim is valid on this host; empty = the row is\nelsewhere or fabricated. Then run the checker standalone to see the\nenumeration and the offending line:\n```\n~\u002F.steadfaste-fleet\u002Fvenv\u002Fbin\u002Fpython3 ops\u002Fscripts\u002Fquality\u002Freview-provenance-check.py --repo .\n```\n\n**Legal fixes (the checker accepts exactly these; both are exact strings —\n`check_review_provenance` matches the literal constant, so a trailing\nexplanation on the declaration line breaks the match and re-FAILs):**\n- `> \\`provenance: advisory\\`` at the top of the file — truthful when the\n  row is not verifiable on this host; move any explanation of WHY to the\n  body below the declaration, never on the declaration line.\n- `> \\`provenance: not-a-review\\`` — for a model-named header that is\n  not a review at all.\nDo NOT graft a `recorded-in` id that does not exist in the local store just to\nsatisfy the gate — that makes the file a fabricated claim and is the exact\ndefect the check exists to stop. Say plainly in the note whether the row is\npresent or absent.\n\n## 7. Push blocked by the REVIEW RECEIPT gate — and the deploy it then demands\n\n**Symptom:** `❌ Push blocked: this range touches an always-review path and carries no clean\nreview receipt.` followed by `Expected receipt: \u003Cstate>\u002F.reviewed-\u003Cslug>-\u003Ctip>.json`.\n\n**Mechanism:** the receipt is written by the GOVERNANCE SERVER at a PERMITTED close\n(`end_change` → review gate → `_write_review_receipt`), never by `ops\u002Fscripts\u002Forch-bus\u002Fadversarial-review.py`\n(which only records an LLM verdict row). So the order is **close, then push** — backwards from\nintuition, and by design: the review that used to land after the push now gates it.\n\n- **The per-blob pass has a budget (~15 blobs \u002F 240s per close) and verdicts are keyed by blob\n  CONTENT.** A partial close is RESUMED by calling `end_change` again — it says \"closing again\n  continues from here\" — so on a multi-file range expect 2-3 calls rather than one. Fixing a file\n  after a FINDINGS verdict produces a NEW blob, judged on its own; re-close after every commit.\n- The receipt is bound to the RANGE (base…tip), but the gate also accepts ANY receipt whose\n  `reviewed_blobs` cover every file the range changes — which is how a rebase that rewrote the tip\n  can still push.\n- **`adversarial_reviews` has one row per cycle.** A second `--review` for the same `--cycle-id`\n  answers \"already reviewed (UNIQUE constraint)\" and does NOT re-judge; a fresh judgement needs\n  `rereview_change` (opens the cycle's verdict again, requires a note stating what changed plus its\n  evidence). Read the recorded row (verdict + findings_json) from\n  `~\u002F.steadfaste-fleet\u002Fdata\u002Floop-governance.db` — note this is NOT `state\u002Floop-governance.db`.\n- **A review whose material was a PATH, not content, returns a hollow CLEAN** — the reviewer reports\n  `unverified-claim` on the path itself (\"the window contains only this path\"). Pass the plan\u002Fdiff\n  CONTENT as material, and treat a CLEAN that names an unreadable window as no approval at all.\n- **Push as a LONE `git push`.** The enforcer refuses a compound push (`git push && git rev-parse …`,\n  `git push | tail`, `cd X && git push`) because it cannot prove the shape; a CLEAN receipt can\n  authorise a push with no active lock, but only for the bare command. Verify in a separate call.\n\n**The deploy chicken-and-egg — use a lock-carrier cycle, never an override.** The push gate also\nrequires a doctor-clean DEPLOYED state, while the deploy (`fleet-dogfood.sh`) is a WRITE-class\ncommand that itself needs a repo lock. Once you have closed the cycle, the lock is gone and the\ndeploy is blocked, so the two gates appear to deadlock. The sanctioned exit is a deploy-only cycle:\n\n```\nbegin_change(task_id=\"deploy-\u003Cthing>\",\n             description=\"Lock-carrier cycle for a DEPLOY-ONLY action: deploy and push the \"\n                         \"already-reviewed range \u003Csha> (cycle N, closed CLEAN with a receipt). \"\n                         \"No source change is made on this cycle.\")\n# then: dogfood --force → lone `git push` → feedback_accept → end_change\n```\n\nState plainly in the description that no source changes — that is what the cycle's own review needs\nto agree with — and expect the close to warn `receipt NOT written … lists no files` once the range is\nalready pushed (benign: an empty range has nothing to authorise).\n\n## Verification checklist\n\n- [ ] `stat` the update-commit mtime before debugging your diff\n- [ ] `bash -x` the deploy to find the dying step (don't trust the log tail)\n- [ ] Test the hook with a 4-case scratch matrix: first push → ALLOW;\n      normal push → PASS; fetch fails + ref exists → BLOCK; remote\n      unreachable → BLOCK\n- [ ] A4 adversarial gate on hook\u002Fdeploy changes before commit\n\n## Fleet-shared vs local- (user preference, workflow decision)\n\nDecide by who needs the artifact, NOT by what dodges a doctor warning. A\ngenuinely fleet-useful artifact (a gate backend, a reviewer wrapper, a shared\nhelper) belongs FLEET-SHARED in the repo with a proper `register()` entry, then\ndeploy + push. Renaming it to `local-` purely to clear a doctor stale-deploy\nwarning is backwards — the answer to a genuine fleet need is to register and\ndeploy it, not hide it as a one-off. `local-` is for one-off, host-specific\nthings only. Ask \"would another host want this?\" — if yes, make it fleet-shared.\nThe user: \"if it isn't fleet shared, then what's the point?\" (respond in kind,\nnot by dodging the warning).\n\n## Public-repo publishing discipline (user preference, 2026-09-01)\n\nWhen creating a PUBLIC repo (e.g. the omarchy-omar project), the user's hard\nrule: **zero PII — no real usernames, hostnames, LAN\u002FWAN IPs, domains,\nphone\u002Femail, bot or session identifiers, machine serials.** Public repos are\ncrawled; a leaked identifier is permanent. Practice:\n\n- Use placeholders everywhere: `YOURUSER`, `192.168.1.x`, `example.com`,\n  `mymac`. Configs are templates for strangers to copy, never live values.\n- Before pushing, grep the whole tree:\n  `grep -rniE '192\\.168|\u003Crealhost>|\u003Crealdomain>|\u003Cchat-id>' .` → clean.\n  (Never paste a REAL identifier into the pattern — this line used to carry one,\n  which is the exact leak it warns about.)\n- Audit doc cross-references resolve (`](path)` from each file's own dir);\n  broken links fail the repo's own QA.\n- Scripts ship with a `--check` mode and pass `bash -n` before commit.\n\n## Related\n\n- `references\u002Ffine-grained-pat-capabilities.md` — fine-grained GitHub PAT\n  format, create\u002Fpush permission gaps (Administration vs Contents), and the\n  browser-created-repo unblock.\n- `shared-repo-push-gates` (sibling) — gate catalog + concurrent-session\n  discipline; this skill is the diagnosis playbook for when a gate blocks.\n",{"name":5,"tags":24,"author":30,"version":31,"description":7,"related_skills":32},[25,26,27,28,29],"git","push","hooks","deploy","shell","Steadfaste Fleet","1.0.0",[33,34,35],"shared-repo-push-gates","enforcement-change-safety","shell-scripting","main","9dc0e92c5fa81d4db5292b205716e8ea0c00d10e","skills\u002Fdevops\u002Fgit-push-gate-failures",1,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet","steadfaste.com","https:\u002F\u002Fgithub.com\u002Flukemcqueen","AI Architect | Building Hermes Cortex: governed multi-agent AI for autonomous software engineering | Enterprise Tech Consultant","2026-11-14 22:33:34",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add lukemcqueen\u002Fsteadfaste-fleet --skill git-push-gate-failures",{"tool":51,"command":52},"bunx","bunx skills add lukemcqueen\u002Fsteadfaste-fleet --skill git-push-gate-failures",{"tool":54,"command":55},"pnpm","pnpm dlx skills add lukemcqueen\u002Fsteadfaste-fleet --skill git-push-gate-failures","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgit-push-gate-failures\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Ffine-grained-pat-capabilities.md","REFERENCE","参考文档",3239,"https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgit-push-gate-failures\u002Freferences\u002Ffine-grained-pat-capabilities.md",[66,74,81,88,95,102],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":73},"01M7DXY4G8NSVB59K8B6S2AQNP","macbook-linux-maintenance","Legacy MacBook Linux fixes: GPU wedge, reboot hang, thermal.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fmacbook-linux-maintenance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":73},"01M7DXXYJCXFJ3TGB84ZQ8KFE6","governance-regression-triage","Triage a host's governance issues: what changed.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fgovernance-regression-triage\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":73},"01M7DXXSAP1G8FDRJAMXQGBBMK","enforcement-immutability","Use when enforcement files lose their immutable flag.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fenforcement-immutability\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":73},"01M78SSDQVRYX64Y16X32TC0NS","steadfaste-fleet-repo-deploy","Use when committing to the steadfaste-fleet repo.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-repo-deploy\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":73},"01M78SS928F3R2RJAYVW4E30CE","steadfaste-fleet-maintenance","Maintain an installed Steadfaste Fleet instance — update both the upstream Hermes Agent and the fleet repo layer, merge diverged histories, sync skills safely, and troubleshoot common issues. Covers the dual-update workflow (hermes update + fleet-update.sh), encrypted brain data backup, mycortex import, and recovery techniques.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fsteadfaste-fleet-maintenance\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":73},"01M78SP1CHW0T0BWE5ZT6JBPX8","fleet-preflight","DEPRECATED alias — merged into survey-before-action (2026-08-20). Load survey-before-action instead; its \"Repo-Specific Pre-Flight\" section covers git search, Hermes boundary, and deployment verification.","https:\u002F\u002Fgithub.com\u002Flukemcqueen\u002Fsteadfaste-fleet\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Ffleet-preflight\u002FSKILL.md",[],[]]