[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71GKGZ1C9WBQZPKR2ET51EG":3,"skill-same:01M71GKGZ1C9WBQZPKR2ET51EG":74},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":6,"updatedAt":54,"install":55,"resources":67},"01M71GKGZ1C9WBQZPKR2ET51EG","guild-initiative",null,"Implements every \u002Fguild:initiative sub-verb — new|status|list|resume|update|archive|restore|close — over .guild\u002Finitiatives\u002F{active,archived}\u002F\u003Cid>\u002F**. new authors initiative.yaml + the definition ledger behind the definition-ready gate; status\u002Flist are read-only; resume re-enters the next work item; update amends the ledger (--add-goal); archive\u002Frestore move active\u002F\u003C->archived without the release path; close is gated by the deterministic D8 gate — it MUST run scripts\u002Finitiative-gate.ts close-check and refuse to close on a non-zero exit, never re-deriving release\u002Fdocs\u002Fexec resolution in prose. TRIGGER for \"\u002Fguild:initiative new|status|list|resume|update|archive|restore|close\", \"create a durable initiative\", \"attach this to an initiative\", \"is this initiative ready to close\", \"what work items are open\". DO NOT TRIGGER for a one-off \u002Fguild:guild run (opt-in attachment only), phase-command work (guild:plan, guild:execute-plan), decision capture (guild:decisions), or wiki ingestion (guild:wiki-ingest).","lookatitude\u002Fguild","lookatitude","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F524917?v=4","01M71GJ2KGXFSJZKAZC5P1ZXXM","Miguel Pinto","01M71GJ2MH4SH9WJKP8M7XZZ0P",8,"MIT","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fmeta\u002Finitiative\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"guild","guild initiative","work","create","phase","when","wiki","new","only","open","decision","Meta","move","re","definition","never","ready","ingestion","brief","recording","2026-11-10 10:12:30",false,"---\nname: guild-initiative\ndescription: Implements every \u002Fguild:initiative sub-verb — new|status|list|resume|update|archive|restore|close — over .guild\u002Finitiatives\u002F{active,archived}\u002F\u003Cid>\u002F**. new authors initiative.yaml + the definition ledger behind the definition-ready gate; status\u002Flist are read-only; resume re-enters the next work item; update amends the ledger (--add-goal); archive\u002Frestore move active\u002F\u003C->archived without the release path; close is gated by the deterministic D8 gate — it MUST run scripts\u002Finitiative-gate.ts close-check and refuse to close on a non-zero exit, never re-deriving release\u002Fdocs\u002Fexec resolution in prose. TRIGGER for \"\u002Fguild:initiative new|status|list|resume|update|archive|restore|close\", \"create a durable initiative\", \"attach this to an initiative\", \"is this initiative ready to close\", \"what work items are open\". DO NOT TRIGGER for a one-off \u002Fguild:guild run (opt-in attachment only), phase-command work (guild:plan, guild:execute-plan), decision capture (guild:decisions), or wiki ingestion (guild:wiki-ingest).\nwhen_to_use: Invoked by commands\u002Finitiative.md's Dispatch section for every \u002Fguild:initiative invocation, after the run-start preflight and run recording have completed. Also the target of the opt-in attachment prompt \u002Fguild:guild raises when a brief carries a durable-goal signal.\ntype: meta\nindexed: true\n---\n\n# guild:initiative\n\nImplements the full `\u002Fguild:initiative` sub-verb surface — the opt-in\ndurable-goal container (commands\u002Finitiative.md). `new|status|resume|update|close`\nare the primary user-facing lifecycle sub-verbs; `list|archive|restore` are\noperational sub-verbs on the same noun. All `.guild\u002Finitiatives\u002F**` reads and\nwrites live here — the command entrypoint is a thin dispatcher.\n\nCanonical schema + gate references: `docs\u002Fv2\u002Finitiatives.html` §Registry &\ndirectory, §Definition ledger, §The D8 close gate. Field-level contracts:\n`scripts\u002Flib\u002Finitiative.ts` (`guild.initiative.v1` validator, the four status\naxes, `deriveInitiativeStatus`, the definition ledger, `d8CloseGate`),\n`scripts\u002Flib\u002Finitiative-workitems.ts` (`WorkItem` + `populateReleaseDocsWorkItems`),\n`scripts\u002Flib\u002Finitiative-activity.ts` (`guild.initiative_activity.v1` append log).\n\n## Directory shape\n\n```\n.guild\u002Finitiatives\u002F\n├── registry.yaml\n├── active\u002F\u003Cid>\u002F\n│   ├── initiative.yaml        # guild.initiative.v1 — id, title, the 4 status axes, goal, evidence\n│   ├── definition-ledger.md   # DefinitionItem rows (goal\u002Foutcome\u002Fscope\u002Fnon_goal\u002Facceptance\u002Fconstraint\u002Frisk\u002Fassumption\u002Fopen_question)\n│   ├── activity.jsonl         # guild.initiative_activity.v1, one row per event (initiative-activity.ts appendActivity)\n│   ├── work-items\u002F            # WorkItem rows (initiative-workitems.ts)\n│   └── release\u002F, docs\u002F        # release evidence + docs-sync reconciliation records (D8 legs)\n└── archived\u002F\u003Cid>\u002F             # same shape; a closed OR operationally-archived initiative\n```\n\n## Sub-verbs\n\n| Sub-verb | Drives | Gate | Output |\n|---|---|---|---|\n| `new` | create a durable goal container | definition-ready gate **I** | `active\u002F\u003Cid>\u002Finitiative.yaml`, `definition-ledger.md` |\n| `status` | read progress \u002F work-items \u002F release \u002F doc-sync | **R** (read-only) | prints derived state |\n| `list` | list active initiatives (default) w\u002F cross-cut rollup; `--archived` shows all | **R** (read-only) | prints state |\n| `resume` | re-enter at the next open work-item | next gate **I** | continues initiative runs |\n| `update` | amend the definition-ledger (`--add-goal \"…\"`) | ledger-change confirm **I** | updated ledger |\n| `archive` | move `active\u002F\u003Cid>\u002F` → `archived\u002F\u003Cid>\u002F`, operational (no close-gate release path) | archive confirm **I** | dir move |\n| `restore` | move `archived\u002F\u003Cid>\u002F` → `active\u002F\u003Cid>\u002F`, operational | restore confirm **I** | dir move |\n| `close` | requires the D8 close gate (release evidence + doc-sync reconciliation) | release-readiness + doc-sync gate **I** | `active\u002F\u003Cid>\u002F` → `archived\u002F\u003Cid>\u002F` |\n\n## `new` — create + the definition-ready gate\n\n1. Resolve `\u003Cid>` (explicit arg, or slugify the supplied title). Refuse if\n   `active\u002F\u003Cid>\u002F` or `archived\u002F\u003Cid>\u002F` already exists.\n2. Write `active\u002F\u003Cid>\u002Finitiative.yaml` (`guild.initiative.v1` shape —\n   `validateInitiativeManifest` from `scripts\u002Flib\u002Finitiative.ts` MUST pass\n   before the file is considered written) with `definition_status: incomplete`\n   until the ledger below says otherwise.\n3. Draft `definition-ledger.md` `DefinitionItem` rows for the seven planning-\n   contract fields (goal, outcome, scope, non_goal, acceptance, constraint,\n   risk) plus any open assumptions — reuse `guild:brainstorm`'s Socratic\n   question flow when the brief is thin rather than inventing answers.\n4. **Definition-ready gate (I):** an initiative may not proceed past `new`\n   while `blockingUnresolved(items)` (scripts\u002Flib\u002Finitiative.ts) is non-empty\n   — i.e. any `blocking: true` item still `needs_definition`. Surface each\n   blocking item as a question; do not silently mark it `assumed`.\n5. Append a `created` row to `activity.jsonl` via `appendActivity`\n   (`initiative-activity.ts`) — never hand-roll the JSONL line.\n\n## `status` \u002F `list` — read-only\n\nBoth sub-verbs are **R** (no writes). Read `initiative.yaml`,\n`definition-ledger.md`, `work-items\u002F`, and `activity.jsonl`; call\n`deriveInitiativeStatus(axes, facts)` (never hand-derive the human-facing\nstatus from the four axes in prose) to print the furthest-progressed\n`DerivedStatus`. `list` defaults to `active\u002F` only; `--archived` includes\n`archived\u002F` too. `status` additionally prints the D8 leg summary — invoke\n`initiative-gate.ts close-check` (§Close, below) even outside a close attempt\nso `status` shows exactly which leg(s) block close today.\n\nFor `list`'s cross-cut rollup (which run(s) touched each initiative), delegate\nto `scripts\u002Fregistry-rollup.ts` — the deterministic projection of\n`initiatives\u002F{active,archived}\u002F*\u002Finitiative.yaml` + `runs\u002F**\u002Fprovenance.json`\n(never hand-derive `run_ids`\u002F`last_run_id` from a manual runs\u002F walk):\n\n```\nnode ${GUILD_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-$HOME\u002F.local\u002Fshare\u002Fguild\u002Fdist\u002Fclaude-code}}\u002Fruntime\u002Fscripts\u002Fregistry-rollup.js \\\n  --guild-dir \u003Ccwd>\u002F.guild --json\n```\n\nRead `run_ids`\u002F`last_run_id` per initiative from its JSON `initiatives[]` output\nfor the rollup column; this call is **read-only** (`--json`, no `--write`), so it\nstays inside `list`'s **R** contract — it does not persist\n`.guild\u002Findexes\u002Finitiatives-registry.yaml` as a side effect of a status\u002Flist\nquery. (An explicit `--write` run of the same CLI is available as a standalone\nmaintenance step for operators who want the derived index cached to disk; that\nis not part of this sub-verb.)\n\n## `resume`\n\nRead `work-items\u002F` for the lowest-id item whose `status` is `ready` or\n`in_progress` with all `depends_on` `done`; hand off to `guild:execute-plan`\nfor that item's scope. Gate **I** at the next work-item boundary (confirm\nbefore re-entering, in case the operator wants to redirect first).\n\n## `update`\n\n`--add-goal \"…\"` appends a new `DefinitionItem` (`category: goal`) to the\nledger via the same validated-append path as `new`; re-run\n`deriveInitiativeStatus` afterward since a fresh unresolved blocking item can\nmove `ready` back to `defining`. Gate **I** (confirm the ledger change before\nwriting).\n\n## `archive` \u002F `restore`\n\nPure directory moves (`active\u002F\u003Cid>\u002F` ⇄ `archived\u002F\u003Cid>\u002F`) — **operational**,\nthey do **not** run the D8 close gate and do **not** touch `release_status`\u002F\n`documentation_status`. Use `close` (below) for the gated release path;\n`archive` is for shelving an initiative without claiming it shipped. Append\nan `archived` \u002F a `note` row to `activity.jsonl` recording which path was\nused. Gate **I** (confirm before the move — it changes where `status`\u002F`list`\nlook by default).\n\n## `close` — the D8 close gate (deterministic, never re-derived in prose)\n\n**This is the fix for the 2026-07-12 audit finding (G3):** `close` previously\nhad no reachable implementation of the D8 gate. It now MUST invoke the\ndeterministic CLI and consume its verdict — the same discipline\n`guild:review-broker` applies to its 5-condition gate-pass check.\n\n```bash\nnode ${GUILD_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-$HOME\u002F.local\u002Fshare\u002Fguild\u002Fdist\u002Fclaude-code}}\u002Fruntime\u002Fscripts\u002Finitiative-gate.js close-check \\\n  --initiative \u003Cid> \\\n  --root \"$(pwd)\" \\\n  --exec-verified=\u003Ctrue only after confirming verify.md PASS for every contributing run>\n```\n\nThe script reads `active|archived\u002F\u003Cid>\u002Finitiative.yaml`, maps the three D8\naxes (mapping known legacy manifest spellings onto the frozen enum — see the\nscript's own header — and treating anything unrecognized as **unresolved**,\nnever guessed toward \"resolved\"), calls the real `d8CloseGate`\n(`scripts\u002Flib\u002Finitiative.ts` — this skill NEVER re-implements the three-leg\ncheck), and deterministically verifies every repository-relative path cited by\n`close_gate.evidence` plus every work-item `evidence_refs` list. HTML fragments\nbind to the cited file bytes; missing, malformed, absolute, prose, or escaping\nrefs fail closed. It prints\n`{ pass, result: { canClose, legs, blockers }, evidence: { valid, checked, missing, invalid }, warnings }`\nto stdout. **Exit 0 = all three axes AND evidence valid, exit 1 = fail (unmet\ncriteria or invalid\u002Fmissing evidence), exit 2 = usage\u002Fread error.**\n\n**Refuse to close on any non-zero exit.** On exit `1`, do not move\n`active\u002F\u003Cid>\u002F` → `archived\u002F\u003Cid>\u002F` — instead:\n\n1. Print `result.blockers` to the operator verbatim (do not paraphrase which\n   leg failed), then print `evidence.missing` and `evidence.invalid` verbatim.\n   Axis blockers may be empty when all three axes resolve but a cited artifact\n   does not exist; that is still a close failure.\n2. Run the companion sub-command to populate the concrete work the operator\n   still owes:\n\n   ```bash\n   node ${GUILD_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-$HOME\u002F.local\u002Fshare\u002Fguild\u002Fdist\u002Fclaude-code}}\u002Fruntime\u002Fscripts\u002Finitiative-gate.js docs-workitems \\\n     --initiative \u003Cid> --root \"$(pwd)\" --exec-verified=\u003Csame value as above>\n   ```\n\n   This calls the real `populateReleaseDocsWorkItems` and prints the\n   release\u002Fdocs `WorkItem[]` still needed to clear D8 (empty when both legs\n   are already resolved). Write any returned items into `work-items\u002F` (each\n   validated with `validateWorkItem` before it is persisted) rather than\n   inventing acceptance criteria by hand.\n3. Leave the initiative in `active\u002F` and append a `note` activity row citing\n   the blockers.\n\nOn exit `0`, proceed with the close: move `active\u002F\u003Cid>\u002F` → `archived\u002F\u003Cid>\u002F`,\nappend a `closed` activity row, and record the release evidence refs already\npresent in `initiative.yaml`. On exit `2` (a usage\u002Fmanifest-read error — e.g.\nno `initiative.yaml` found for `\u003Cid>`), treat it as a hard stop and surface\nthe stderr message; do not attempt to interpret a read failure as either a\npass or a fail.\n\n**`--exec-verified` is supplied by the caller, never invented.** The gate\nfunction's own contract (`d8CloseGate`'s doc comment) is explicit: \"the\nsub-verb supplies the run evidence.\" Before passing `--exec-verified=true`,\nindependently confirm `verify.md` PASS for every run this initiative's\n`execution_status: done` claims contributed — the same verify-the-claim\ndiscipline `guild:verify-done` applies before any completion language.\n\n## Opt-in attachment binding\n\nA one-off `\u002Fguild:guild` run does **not** create an initiative. Attachment is\nexplicit only: (a) the user runs `\u002Fguild:initiative …` directly, (b)\n`--initiative=\u003Cid|new>` is passed to a phase command, or (c) the brief carries\na durable-goal signal — in which case `\u002Fguild:guild` *asks* \"attach to an\ninitiative? [new \u002F existing \u002F one-off]\" rather than auto-attaching.\n\n## Chapter pointers (resolve before you dispatch)\n\nThese names appear in the body as if they were skills. They are NOT — the\nT03 fold (KTD25\u002FKTD59) made each one an L3 chapter. Read `guild:\u003Cname>` below\nas \"load this file and run it in place\"; never try to dispatch it as a skill.\n\n| Named in this body | Lives under | Load |\n|---|---|---|\n| `guild:decisions` | `wiki` | `..\u002F..\u002Fknowledge\u002Fwiki\u002Freferences\u002Fdecisions.md` |\n| `guild:review-broker` | `review` | `..\u002Freview\u002Freferences\u002Freview-broker.md` |\n| `guild:verify-done` | `quality` | `..\u002F..\u002Fquality\u002Freferences\u002Fverify-done.md` |\n| `guild:wiki-ingest` | `wiki` | `..\u002F..\u002Fknowledge\u002Fwiki\u002Freferences\u002Fwiki-ingest.md` |\n","# guild:initiative\n\nImplements the full `\u002Fguild:initiative` sub-verb surface — the opt-in\ndurable-goal container (commands\u002Finitiative.md). `new|status|resume|update|close`\nare the primary user-facing lifecycle sub-verbs; `list|archive|restore` are\noperational sub-verbs on the same noun. All `.guild\u002Finitiatives\u002F**` reads and\nwrites live here — the command entrypoint is a thin dispatcher.\n\nCanonical schema + gate references: `docs\u002Fv2\u002Finitiatives.html` §Registry &\ndirectory, §Definition ledger, §The D8 close gate. Field-level contracts:\n`scripts\u002Flib\u002Finitiative.ts` (`guild.initiative.v1` validator, the four status\naxes, `deriveInitiativeStatus`, the definition ledger, `d8CloseGate`),\n`scripts\u002Flib\u002Finitiative-workitems.ts` (`WorkItem` + `populateReleaseDocsWorkItems`),\n`scripts\u002Flib\u002Finitiative-activity.ts` (`guild.initiative_activity.v1` append log).\n\n## Directory shape\n\n```\n.guild\u002Finitiatives\u002F\n├── registry.yaml\n├── active\u002F\u003Cid>\u002F\n│   ├── initiative.yaml        # guild.initiative.v1 — id, title, the 4 status axes, goal, evidence\n│   ├── definition-ledger.md   # DefinitionItem rows (goal\u002Foutcome\u002Fscope\u002Fnon_goal\u002Facceptance\u002Fconstraint\u002Frisk\u002Fassumption\u002Fopen_question)\n│   ├── activity.jsonl         # guild.initiative_activity.v1, one row per event (initiative-activity.ts appendActivity)\n│   ├── work-items\u002F            # WorkItem rows (initiative-workitems.ts)\n│   └── release\u002F, docs\u002F        # release evidence + docs-sync reconciliation records (D8 legs)\n└── archived\u002F\u003Cid>\u002F             # same shape; a closed OR operationally-archived initiative\n```\n\n## Sub-verbs\n\n| Sub-verb | Drives | Gate | Output |\n|---|---|---|---|\n| `new` | create a durable goal container | definition-ready gate **I** | `active\u002F\u003Cid>\u002Finitiative.yaml`, `definition-ledger.md` |\n| `status` | read progress \u002F work-items \u002F release \u002F doc-sync | **R** (read-only) | prints derived state |\n| `list` | list active initiatives (default) w\u002F cross-cut rollup; `--archived` shows all | **R** (read-only) | prints state |\n| `resume` | re-enter at the next open work-item | next gate **I** | continues initiative runs |\n| `update` | amend the definition-ledger (`--add-goal \"…\"`) | ledger-change confirm **I** | updated ledger |\n| `archive` | move `active\u002F\u003Cid>\u002F` → `archived\u002F\u003Cid>\u002F`, operational (no close-gate release path) | archive confirm **I** | dir move |\n| `restore` | move `archived\u002F\u003Cid>\u002F` → `active\u002F\u003Cid>\u002F`, operational | restore confirm **I** | dir move |\n| `close` | requires the D8 close gate (release evidence + doc-sync reconciliation) | release-readiness + doc-sync gate **I** | `active\u002F\u003Cid>\u002F` → `archived\u002F\u003Cid>\u002F` |\n\n## `new` — create + the definition-ready gate\n\n1. Resolve `\u003Cid>` (explicit arg, or slugify the supplied title). Refuse if\n   `active\u002F\u003Cid>\u002F` or `archived\u002F\u003Cid>\u002F` already exists.\n2. Write `active\u002F\u003Cid>\u002Finitiative.yaml` (`guild.initiative.v1` shape —\n   `validateInitiativeManifest` from `scripts\u002Flib\u002Finitiative.ts` MUST pass\n   before the file is considered written) with `definition_status: incomplete`\n   until the ledger below says otherwise.\n3. Draft `definition-ledger.md` `DefinitionItem` rows for the seven planning-\n   contract fields (goal, outcome, scope, non_goal, acceptance, constraint,\n   risk) plus any open assumptions — reuse `guild:brainstorm`'s Socratic\n   question flow when the brief is thin rather than inventing answers.\n4. **Definition-ready gate (I):** an initiative may not proceed past `new`\n   while `blockingUnresolved(items)` (scripts\u002Flib\u002Finitiative.ts) is non-empty\n   — i.e. any `blocking: true` item still `needs_definition`. Surface each\n   blocking item as a question; do not silently mark it `assumed`.\n5. Append a `created` row to `activity.jsonl` via `appendActivity`\n   (`initiative-activity.ts`) — never hand-roll the JSONL line.\n\n## `status` \u002F `list` — read-only\n\nBoth sub-verbs are **R** (no writes). Read `initiative.yaml`,\n`definition-ledger.md`, `work-items\u002F`, and `activity.jsonl`; call\n`deriveInitiativeStatus(axes, facts)` (never hand-derive the human-facing\nstatus from the four axes in prose) to print the furthest-progressed\n`DerivedStatus`. `list` defaults to `active\u002F` only; `--archived` includes\n`archived\u002F` too. `status` additionally prints the D8 leg summary — invoke\n`initiative-gate.ts close-check` (§Close, below) even outside a close attempt\nso `status` shows exactly which leg(s) block close today.\n\nFor `list`'s cross-cut rollup (which run(s) touched each initiative), delegate\nto `scripts\u002Fregistry-rollup.ts` — the deterministic projection of\n`initiatives\u002F{active,archived}\u002F*\u002Finitiative.yaml` + `runs\u002F**\u002Fprovenance.json`\n(never hand-derive `run_ids`\u002F`last_run_id` from a manual runs\u002F walk):\n\n```\nnode ${GUILD_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-$HOME\u002F.local\u002Fshare\u002Fguild\u002Fdist\u002Fclaude-code}}\u002Fruntime\u002Fscripts\u002Fregistry-rollup.js \\\n  --guild-dir \u003Ccwd>\u002F.guild --json\n```\n\nRead `run_ids`\u002F`last_run_id` per initiative from its JSON `initiatives[]` output\nfor the rollup column; this call is **read-only** (`--json`, no `--write`), so it\nstays inside `list`'s **R** contract — it does not persist\n`.guild\u002Findexes\u002Finitiatives-registry.yaml` as a side effect of a status\u002Flist\nquery. (An explicit `--write` run of the same CLI is available as a standalone\nmaintenance step for operators who want the derived index cached to disk; that\nis not part of this sub-verb.)\n\n## `resume`\n\nRead `work-items\u002F` for the lowest-id item whose `status` is `ready` or\n`in_progress` with all `depends_on` `done`; hand off to `guild:execute-plan`\nfor that item's scope. Gate **I** at the next work-item boundary (confirm\nbefore re-entering, in case the operator wants to redirect first).\n\n## `update`\n\n`--add-goal \"…\"` appends a new `DefinitionItem` (`category: goal`) to the\nledger via the same validated-append path as `new`; re-run\n`deriveInitiativeStatus` afterward since a fresh unresolved blocking item can\nmove `ready` back to `defining`. Gate **I** (confirm the ledger change before\nwriting).\n\n## `archive` \u002F `restore`\n\nPure directory moves (`active\u002F\u003Cid>\u002F` ⇄ `archived\u002F\u003Cid>\u002F`) — **operational**,\nthey do **not** run the D8 close gate and do **not** touch `release_status`\u002F\n`documentation_status`. Use `close` (below) for the gated release path;\n`archive` is for shelving an initiative without claiming it shipped. Append\nan `archived` \u002F a `note` row to `activity.jsonl` recording which path was\nused. Gate **I** (confirm before the move — it changes where `status`\u002F`list`\nlook by default).\n\n## `close` — the D8 close gate (deterministic, never re-derived in prose)\n\n**This is the fix for the 2026-07-12 audit finding (G3):** `close` previously\nhad no reachable implementation of the D8 gate. It now MUST invoke the\ndeterministic CLI and consume its verdict — the same discipline\n`guild:review-broker` applies to its 5-condition gate-pass check.\n\n```bash\nnode ${GUILD_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-$HOME\u002F.local\u002Fshare\u002Fguild\u002Fdist\u002Fclaude-code}}\u002Fruntime\u002Fscripts\u002Finitiative-gate.js close-check \\\n  --initiative \u003Cid> \\\n  --root \"$(pwd)\" \\\n  --exec-verified=\u003Ctrue only after confirming verify.md PASS for every contributing run>\n```\n\nThe script reads `active|archived\u002F\u003Cid>\u002Finitiative.yaml`, maps the three D8\naxes (mapping known legacy manifest spellings onto the frozen enum — see the\nscript's own header — and treating anything unrecognized as **unresolved**,\nnever guessed toward \"resolved\"), calls the real `d8CloseGate`\n(`scripts\u002Flib\u002Finitiative.ts` — this skill NEVER re-implements the three-leg\ncheck), and deterministically verifies every repository-relative path cited by\n`close_gate.evidence` plus every work-item `evidence_refs` list. HTML fragments\nbind to the cited file bytes; missing, malformed, absolute, prose, or escaping\nrefs fail closed. It prints\n`{ pass, result: { canClose, legs, blockers }, evidence: { valid, checked, missing, invalid }, warnings }`\nto stdout. **Exit 0 = all three axes AND evidence valid, exit 1 = fail (unmet\ncriteria or invalid\u002Fmissing evidence), exit 2 = usage\u002Fread error.**\n\n**Refuse to close on any non-zero exit.** On exit `1`, do not move\n`active\u002F\u003Cid>\u002F` → `archived\u002F\u003Cid>\u002F` — instead:\n\n1. Print `result.blockers` to the operator verbatim (do not paraphrase which\n   leg failed), then print `evidence.missing` and `evidence.invalid` verbatim.\n   Axis blockers may be empty when all three axes resolve but a cited artifact\n   does not exist; that is still a close failure.\n2. Run the companion sub-command to populate the concrete work the operator\n   still owes:\n\n   ```bash\n   node ${GUILD_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-$HOME\u002F.local\u002Fshare\u002Fguild\u002Fdist\u002Fclaude-code}}\u002Fruntime\u002Fscripts\u002Finitiative-gate.js docs-workitems \\\n     --initiative \u003Cid> --root \"$(pwd)\" --exec-verified=\u003Csame value as above>\n   ```\n\n   This calls the real `populateReleaseDocsWorkItems` and prints the\n   release\u002Fdocs `WorkItem[]` still needed to clear D8 (empty when both legs\n   are already resolved). Write any returned items into `work-items\u002F` (each\n   validated with `validateWorkItem` before it is persisted) rather than\n   inventing acceptance criteria by hand.\n3. Leave the initiative in `active\u002F` and append a `note` activity row citing\n   the blockers.\n\nOn exit `0`, proceed with the close: move `active\u002F\u003Cid>\u002F` → `archived\u002F\u003Cid>\u002F`,\nappend a `closed` activity row, and record the release evidence refs already\npresent in `initiative.yaml`. On exit `2` (a usage\u002Fmanifest-read error — e.g.\nno `initiative.yaml` found for `\u003Cid>`), treat it as a hard stop and surface\nthe stderr message; do not attempt to interpret a read failure as either a\npass or a fail.\n\n**`--exec-verified` is supplied by the caller, never invented.** The gate\nfunction's own contract (`d8CloseGate`'s doc comment) is explicit: \"the\nsub-verb supplies the run evidence.\" Before passing `--exec-verified=true`,\nindependently confirm `verify.md` PASS for every run this initiative's\n`execution_status: done` claims contributed — the same verify-the-claim\ndiscipline `guild:verify-done` applies before any completion language.\n\n## Opt-in attachment binding\n\nA one-off `\u002Fguild:guild` run does **not** create an initiative. Attachment is\nexplicit only: (a) the user runs `\u002Fguild:initiative …` directly, (b)\n`--initiative=\u003Cid|new>` is passed to a phase command, or (c) the brief carries\na durable-goal signal — in which case `\u002Fguild:guild` *asks* \"attach to an\ninitiative? [new \u002F existing \u002F one-off]\" rather than auto-attaching.\n\n## Chapter pointers (resolve before you dispatch)\n\nThese names appear in the body as if they were skills. They are NOT — the\nT03 fold (KTD25\u002FKTD59) made each one an L3 chapter. Read `guild:\u003Cname>` below\nas \"load this file and run it in place\"; never try to dispatch it as a skill.\n\n| Named in this body | Lives under | Load |\n|---|---|---|\n| `guild:decisions` | `wiki` | `..\u002F..\u002Fknowledge\u002Fwiki\u002Freferences\u002Fdecisions.md` |\n| `guild:review-broker` | `review` | `..\u002Freview\u002Freferences\u002Freview-broker.md` |\n| `guild:verify-done` | `quality` | `..\u002F..\u002Fquality\u002Freferences\u002Fverify-done.md` |\n| `guild:wiki-ingest` | `wiki` | `..\u002F..\u002Fknowledge\u002Fwiki\u002Freferences\u002Fwiki-ingest.md` |\n",{"name":5,"type":44,"indexed":45,"description":7,"when_to_use":46},"meta",true,"Invoked by commands\u002Finitiative.md's Dispatch section for every \u002Fguild:initiative invocation, after the run-start preflight and run recording have completed. Also the target of the opt-in attachment prompt \u002Fguild:guild raises when a brief carries a durable-goal signal.","main","2e58b0360ca51ca3c96ca8e015ef5aba5738803d","skills\u002Fmeta\u002Finitiative",0,"https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild","https:\u002F\u002Fgithub.com\u002Flookatitude","https:\u002F\u002Flookatitude.com","2026-11-06 03:55:18",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":45},[57,60,63],{"tool":58,"command":59},"npx","npx skills add lookatitude\u002Fguild --skill guild-initiative",{"tool":61,"command":62},"bunx","bunx skills add lookatitude\u002Fguild --skill guild-initiative",{"tool":64,"command":65},"pnpm","pnpm dlx skills add lookatitude\u002Fguild --skill guild-initiative","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fmeta\u002Finitiative\u002FSKILL.md",[68],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"evals.json","REFERENCE","参考文档",894,"https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fmeta\u002Finitiative\u002Fevals.json",[75,82,88,94,100,106],{"skillNo":76,"name":77,"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":78,"categories":79,"keywords":80,"publishedAt":81},"01M73RXDTR96SBKTEEE35JMWS7","technical-writer-tutorial","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Ftechnical-writer-tutorial\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":83,"name":84,"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":85,"categories":86,"keywords":87,"publishedAt":81},"01M73RX9FY2GNEZT1S2SJZH307","social-media-thread","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fsocial-media-thread\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"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":91,"categories":92,"keywords":93,"publishedAt":81},"01M73RWY3CNA6HP52QC65XTZ5A","security-dependency-audit","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fsecurity-dependency-audit\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"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":97,"categories":98,"keywords":99,"publishedAt":81},"01M73RWBSKQXZ13SVRGS5K1K72","marketing-launch-plan","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fmarketing-launch-plan\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"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":103,"categories":104,"keywords":105,"publishedAt":81},"01M73RW8DJAG381R94DN6KSTEG","marketing-ab-copy-variants","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fmarketing-ab-copy-variants\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"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":109,"categories":110,"keywords":111,"publishedAt":81},"01M73RW44HRQJTJ33V12SVS612","frontend-bundler-config","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Ffrontend-bundler-config\u002FSKILL.md",[],[]]