[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ENZM0WY8YWZ157JS9S4FF2":3,"skill-same:01M7ENZM0WY8YWZ157JS9S4FF2":54},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7ENZM0WY8YWZ157JS9S4FF2","shelf-check",null,"Fail-closed guard doctrine for a signed public shelf (pub\u002F or any directory of PGP-clearsigned \u002F detached-signed files). Use BEFORE publishing, promoting build\u002F -> pub\u002F, zipping a release, or right after editing any governed file: run `sign.sh check-shelf` to prove every governed file still verifies against the pinned key (SIGN \u002F NOSIG \u002F FURNITURE per a signed .gate), exiting non-zero on any BAD signature or should-be-signed-but-isn't. Triggers on \"publish the shelf\", \"promote build to pub\", \"zip the release\", \"I edited pub\u002FREADME\", \"is the shelf still good\", \"did a signature rot\". Do NOT use for signing one fresh file (that's sign.sh sign) or verifying an imported skill (that's skill-sign \u002F candor-gate). This is doctrine — WHEN to run the gate; the mechanism lives in sign.sh check-shelf.","inputloop\u002Fgarden","inputloop","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F339507215?v=4","01M7ENYT15EMVBAV30YXPQDYE2","Inputloop","01M7ENYT1SM9WM5PSMQDC9PE2G",0,"GPL-3.0","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002F.arc\u002F2026-08-17-inbox-clearance\u002F2026-07-09-promotions\u002Fshelf-check\u002Fskill\u002Fshelf-check\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: shelf-check\ndescription: >-\n  Fail-closed guard doctrine for a signed public shelf (pub\u002F or any directory of\n  PGP-clearsigned \u002F detached-signed files). Use BEFORE publishing, promoting\n  build\u002F -> pub\u002F, zipping a release, or right after editing any governed file:\n  run `sign.sh check-shelf` to prove every governed file still verifies against\n  the pinned key (SIGN \u002F NOSIG \u002F FURNITURE per a signed .gate), exiting non-zero\n  on any BAD signature or should-be-signed-but-isn't. Triggers on \"publish the\n  shelf\", \"promote build to pub\", \"zip the release\", \"I edited pub\u002FREADME\", \"is\n  the shelf still good\", \"did a signature rot\". Do NOT use for signing one fresh\n  file (that's sign.sh sign) or verifying an imported skill (that's skill-sign \u002F\n  candor-gate). This is doctrine — WHEN to run the gate; the mechanism lives in\n  sign.sh check-shelf.\n---\n\n# shelf-check — the good gate on a signed shelf\n\nv0.2 (2026-07-09; born DRAFT v0.1 2026-07-05, lab). Born from a real miss: `pub\u002FREADME.md` was edited\n*inside* its clearsign envelope and never re-signed, leaving a BAD signature that\nnothing caught until a human happened to look. The lesson: **do not make \"the\nagent remembers to re-sign\" the safety mechanism.** Make it mechanical.\n\n## The mechanism (owned elsewhere)\n\n`sign.sh check-shelf [DIR]` walks a shelf, reads each file's expected state from\n`DIR\u002F.gate` (`SIGN:` \u002F `NOSIG:` \u002F `FURNITURE:` lines; **unlisted defaults to\nSIGN**, fail-closed), verifies every signed file, prints one TSV row per file,\nand **exits non-zero**: `2` any BAD signature, `3` a governed file that isn't\nsigned, `4` a missing key, `0` clean. It is **read-only** — it never signs and\nnever repairs. Re-signing stays the separate, human-invoked `sign.sh sign`.\n\nThis skill does not re-implement that. Skills have no event hooks; a skill that\ntried to *be* the guard would only fire when someone narrates it, silently\nre-introducing the remembered step. This skill's whole job is to make you reach\nfor `check-shelf` at the moments that matter.\n\n## When to run it (loop gates, by reliability)\n\n1. **PRIMARY — the unskippable gate.** Before any publish, before promoting\n   `build\u002F` -> `pub\u002F` (wire it into the airlock exit), before `zip`\u002Frelease. You\n   cannot publish without passing through it. This is where the guarantee lives.\n2. **ADVISORY — fast feedback.** Right after editing a governed file, re-sign it\n   (`sign.sh sign`) or run check-shelf. Useful, but never the safety net — it\n   depends on noticing the file was governed.\n3. **BACKSTOP — the sweep.** A periodic (cron\u002FCI) check-shelf over pub\u002F catches\n   rot that arrived out-of-band: a human edit, a mount desync (see sandboxer).\n\n## What the states mean (vouch-everything shelf rule)\n\nEvery file on the shelf is one of: **SIGN** (clearsigned, must verify),\n**DETACH** (has a verifying `FILE.asc`), **NOSIG** (intentionally unsigned by\npolicy), or **FURNITURE** (tooling\u002Fkeys that are unsigned by nature — sign.sh,\ncorwin.asc, .gate). check-shelf treats NOSIG and FURNITURE as allowed-unsigned;\neverything else must carry a valid signature or the gate fails.\n\n## Load-bearing caveats\n\n- **Sign the expectation source.** If `.gate` (the SIGN\u002FNOSIG map) is itself\n  unsigned, anyone can downgrade a MUST-sign file to `NOSIG:` and the gate passes\n  — it proves nothing. check-shelf WARNs on an unsigned `.gate` today; make it a\n  hard fail (`--strict`) once `.gate` is clearsigned. This is the one place the\n  problem is genuinely adversarial, not just hygiene.\n- **Never add auto-repair.** Re-signing a BAD file destroys the evidence of what\n  rotted — a forensic footgun and a concealment risk. Read-only, always.\n- **Keep NOSIG\u002FFURNITURE first-class.** A gate that cries wolf on benign\n  furniture churn gets muted or routed around, and becomes a fence-shaped drawing.\n- **Honest framing.** check-shelf closes a release-hygiene gap (caught before\n  publish), not an attacker — the signature already warns any consumer who\n  verifies. Say so; don't oversell it as a vuln fix.\n\n## Interlocks\n\n- **airlock (build\u002F -> pub\u002F):** check-shelf is one more provenance gate on exit.\n- **consent-gate:** publishing is an outward egress; a failing shelf is a park.\n- **skill-sign \u002F candor-gate:** those verify *imported* skills; check-shelf\n  verifies *your own* shelf. Different direction, don't conflate.\n- **manifest (sign.sh):** the generative skeleton that DETECTS sig state;\n  check-shelf is its fail-closed twin. Do not change manifest to exit non-zero.\n\n## Status\n\nv0.2 (2026-07-09) — PROMOTED via skilltank pass (Corwin, 2026-07-09); grown from\nDRAFT v0.1. Graduation gates and where each stands:\n\n- (a) `check-shelf` folded into sign.sh — **staged**: `..\u002Fsign.sh.ready` is live\n  pub\u002Fsign.sh (incl. the 07-07 shebang\u002Fdetach guard and cat-over-mv) + the\n  proven check-shelf block, rebased 2026-07-09, `sh -n` clean, run against the\n  live shelf (caught exactly the two known gaps: hello-world NOSIG-unlisted,\n  .gate unsigned).\n- (b) SIGN\u002FNOSIG\u002FFURNITURE map — **staged**: `..\u002Fgate.ready` enumerates every\n  shelf inhabitant per the vouch-everything rule; awaits Corwin's clearsign.\n- (c) airlock\u002Fpre-publish wiring — **doctrine live** (PRIMARY gate above);\n  mechanical wiring into `publish audit` \u002F airlock exit is the v0.3 lead.\n\nLanding is the keeper's move — see `..\u002FLANDING.md`. This skill ships unsigned\nuntil Corwin reads and skill-signs it; reading first is the point.\n\n","# shelf-check — the good gate on a signed shelf\n\nv0.2 (2026-07-09; born DRAFT v0.1 2026-07-05, lab). Born from a real miss: `pub\u002FREADME.md` was edited\n*inside* its clearsign envelope and never re-signed, leaving a BAD signature that\nnothing caught until a human happened to look. The lesson: **do not make \"the\nagent remembers to re-sign\" the safety mechanism.** Make it mechanical.\n\n## The mechanism (owned elsewhere)\n\n`sign.sh check-shelf [DIR]` walks a shelf, reads each file's expected state from\n`DIR\u002F.gate` (`SIGN:` \u002F `NOSIG:` \u002F `FURNITURE:` lines; **unlisted defaults to\nSIGN**, fail-closed), verifies every signed file, prints one TSV row per file,\nand **exits non-zero**: `2` any BAD signature, `3` a governed file that isn't\nsigned, `4` a missing key, `0` clean. It is **read-only** — it never signs and\nnever repairs. Re-signing stays the separate, human-invoked `sign.sh sign`.\n\nThis skill does not re-implement that. Skills have no event hooks; a skill that\ntried to *be* the guard would only fire when someone narrates it, silently\nre-introducing the remembered step. This skill's whole job is to make you reach\nfor `check-shelf` at the moments that matter.\n\n## When to run it (loop gates, by reliability)\n\n1. **PRIMARY — the unskippable gate.** Before any publish, before promoting\n   `build\u002F` -> `pub\u002F` (wire it into the airlock exit), before `zip`\u002Frelease. You\n   cannot publish without passing through it. This is where the guarantee lives.\n2. **ADVISORY — fast feedback.** Right after editing a governed file, re-sign it\n   (`sign.sh sign`) or run check-shelf. Useful, but never the safety net — it\n   depends on noticing the file was governed.\n3. **BACKSTOP — the sweep.** A periodic (cron\u002FCI) check-shelf over pub\u002F catches\n   rot that arrived out-of-band: a human edit, a mount desync (see sandboxer).\n\n## What the states mean (vouch-everything shelf rule)\n\nEvery file on the shelf is one of: **SIGN** (clearsigned, must verify),\n**DETACH** (has a verifying `FILE.asc`), **NOSIG** (intentionally unsigned by\npolicy), or **FURNITURE** (tooling\u002Fkeys that are unsigned by nature — sign.sh,\ncorwin.asc, .gate). check-shelf treats NOSIG and FURNITURE as allowed-unsigned;\neverything else must carry a valid signature or the gate fails.\n\n## Load-bearing caveats\n\n- **Sign the expectation source.** If `.gate` (the SIGN\u002FNOSIG map) is itself\n  unsigned, anyone can downgrade a MUST-sign file to `NOSIG:` and the gate passes\n  — it proves nothing. check-shelf WARNs on an unsigned `.gate` today; make it a\n  hard fail (`--strict`) once `.gate` is clearsigned. This is the one place the\n  problem is genuinely adversarial, not just hygiene.\n- **Never add auto-repair.** Re-signing a BAD file destroys the evidence of what\n  rotted — a forensic footgun and a concealment risk. Read-only, always.\n- **Keep NOSIG\u002FFURNITURE first-class.** A gate that cries wolf on benign\n  furniture churn gets muted or routed around, and becomes a fence-shaped drawing.\n- **Honest framing.** check-shelf closes a release-hygiene gap (caught before\n  publish), not an attacker — the signature already warns any consumer who\n  verifies. Say so; don't oversell it as a vuln fix.\n\n## Interlocks\n\n- **airlock (build\u002F -> pub\u002F):** check-shelf is one more provenance gate on exit.\n- **consent-gate:** publishing is an outward egress; a failing shelf is a park.\n- **skill-sign \u002F candor-gate:** those verify *imported* skills; check-shelf\n  verifies *your own* shelf. Different direction, don't conflate.\n- **manifest (sign.sh):** the generative skeleton that DETECTS sig state;\n  check-shelf is its fail-closed twin. Do not change manifest to exit non-zero.\n\n## Status\n\nv0.2 (2026-07-09) — PROMOTED via skilltank pass (Corwin, 2026-07-09); grown from\nDRAFT v0.1. Graduation gates and where each stands:\n\n- (a) `check-shelf` folded into sign.sh — **staged**: `..\u002Fsign.sh.ready` is live\n  pub\u002Fsign.sh (incl. the 07-07 shebang\u002Fdetach guard and cat-over-mv) + the\n  proven check-shelf block, rebased 2026-07-09, `sh -n` clean, run against the\n  live shelf (caught exactly the two known gaps: hello-world NOSIG-unlisted,\n  .gate unsigned).\n- (b) SIGN\u002FNOSIG\u002FFURNITURE map — **staged**: `..\u002Fgate.ready` enumerates every\n  shelf inhabitant per the vouch-everything rule; awaits Corwin's clearsign.\n- (c) airlock\u002Fpre-publish wiring — **doctrine live** (PRIMARY gate above);\n  mechanical wiring into `publish audit` \u002F airlock exit is the v0.3 lead.\n\nLanding is the keeper's move — see `..\u002FLANDING.md`. This skill ships unsigned\nuntil Corwin reads and skill-signs it; reading first is the point.\n\n",{"name":5,"description":7},"main","0b0a0f665f67605c3bc1d43500eea26ef3079a97",".arc\u002F2026-08-17-inbox-clearance\u002F2026-07-09-promotions\u002Fshelf-check\u002Fskill\u002Fshelf-check","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden","https:\u002F\u002Fgithub.com\u002Finputloop","2026-10-14 18:29:39",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add inputloop\u002Fgarden --skill shelf-check",{"tool":36,"command":37},"bunx","bunx skills add inputloop\u002Fgarden --skill shelf-check",{"tool":39,"command":40},"pnpm","pnpm dlx skills add inputloop\u002Fgarden --skill shelf-check","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002F.arc\u002F2026-08-17-inbox-clearance\u002F2026-07-09-promotions\u002Fshelf-check\u002Fskill\u002Fshelf-check\u002FSKILL.md",true,[44,50],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},".signature.asc","OTHER","其他",659,"https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002F.arc\u002F2026-08-17-inbox-clearance\u002F2026-07-09-promotions\u002Fshelf-check\u002Fskill\u002Fshelf-check\u002F.signature.asc",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},".skill-manifest",77,"https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002F.arc\u002F2026-08-17-inbox-clearance\u002F2026-07-09-promotions\u002Fshelf-check\u002Fskill\u002Fshelf-check\u002F.skill-manifest",[55,61,67,74,81,88],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7EPTX6X52ZPGVQZHKVJ7FAZ","alpha","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Flane-d\u002Fbr1in\u002Fours\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7EPTWCTS80QHFQ2ND3A1CW1","gamma","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Flane-d\u002Fbr1in\u002Fours\u002FSOFT-SKILLS\u002Fgamma\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7EPTV3K3SCTRP0DR6BMMKR0","quiet","A fixture skill that declares no preferences, so skill.quiet.* has no reader.","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Flane-a\u002Fdeclared\u002Fsoft\u002Fquiet\u002FSKILL.md",[],[],{"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":19},"01M7EPTSG0VE67F6PFAC0XJDQ4","demo","A fixture skill for tests\u002Fprefs-declared-spec.rb; it declares two preferences inline.","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Flane-a\u002Fdeclared\u002Fsoft\u002Fdemo\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":19},"01M7EPTP0PM5WPTFBHPXBCFM5C","concise","Synthesized by polygram from memory tag 'concise'. explicitly flagged. Review and tighten this description before relying on it for triggering.","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fconcise\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":19},"01M7EPTAETQ62DJA8ZFEEBBZF0","writing-forms","Which writing form a dated deliverable takes in the shop, and the five techniques every form shares. Use whenever someone is about to write a dated deliverable — \"which form is this?\", \"write it up\", \"land a note \u002F card \u002F model \u002F lens\", \"what shape does a … take\", \"is there a form for this\", or when a new PREFIX-date-slug filename is about to be minted. Carries the rule that a deliverable picks ONE form and says so in its filename, points at the register c\u002Fwf (columns d\u002Fc\u002Fwf) as the source of truth, names the most-used forms, the five cross-cutting techniques (two piles · cite at the act · a falsifier on every concern · the pair rule · his words), how a new form is born, and the fence on notes other sessions wrote. Not rolls (report kinds and their guards), not reformat-prompt (the REFORMAT pair), not run-card (the RUNCARD), not skill-creator (skills). Owns the FORM, not the content.","https:\u002F\u002Fgithub.com\u002Finputloop\u002Fgarden\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-forms\u002FSKILL.md",[],[]]