[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DT1GF6V84ACS15200PMC8H":3,"skill-same:01M6DT1GF6V84ACS15200PMC8H":88},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":57},"01M6DT1GF6V84ACS15200PMC8H","Qplan",null,"Use when starting or resuming a Plan. Runs bounded tacit-knowledge intake when needed, creates or updates a roadmap, then advances one verified Goal at a time. Use Qgoal only as a goal-intake alias.","inho-team\u002Fqe-framework","inho-team","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F264128745?v=4","01M6DSZK6GTAMMXSV3VJJSKN6Y","01M6DSZKA95G3ADR7SCQ7ANTJH",6,"MIT","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQplan\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30],"qplan","core","intake","knowledge","plan","use","only","roadmap","goal","time","alias","as","Qgoal","2026-11-10 10:12:30",false,"---\nname: Qplan\ndescription: \"Use when starting or resuming a Plan. Runs bounded tacit-knowledge intake when needed, creates or updates a roadmap, then advances one verified Goal at a time. Use Qgoal only as a goal-intake alias.\"\nuser_invocable: true\nrecommendedModel: opus\ntier: core\n---\n\n> **Planning state → DB:** `.qe\u002Fplanning\u002F**` is a DB-only namespace in the\n> SQLite `qe_files` store. Its directories are logical paths, not folders to\n> create on disk. Read them with `node scripts\u002Fqe-cat.mjs \u003Cpath>` (or\n> `--ls`\u002F`--exists`) and mutate them only through QE state\u002Fstore utilities.\n> See `QE_CONVENTIONS.md`.\n\n# Qplan — Plan-owned Goal Controller\n\n`Qplan` is the user-facing control surface for work. A Plan owns an ordered\nGoal queue; Goals are not separate user commands. The user supplies an intent,\nreviews material Plan changes, and receives results. QE runs the internal work.\n\nQplan is an explicit high-assurance entry. Only active-prefix `$Qplan`\u002F`\u002FQplan`\nor the `$Qgoal`\u002F`\u002FQgoal` alias activates Full SIVS. Ordinary requests use the\nnative client execution path while the Safety Kernel and QE response style stay\nactive; prompt size, file count, and risk words never activate this workflow.\n\n## Model\n\n```text\nPlan → Goal 1 → Goal 2 → … → Goal N\n          │\n          ├─ knowledge preflight\n          ├─ assurance lane (bounded micro contract | formal spec)\n          ├─ execute\n          ├─ verify\n          └─ verified knowledge write-back\n```\n\n- **Plan** is the durable contract: roadmap, requirements, phases, and ordered Goals.\n- **Goal** is the smallest independently verifiable Plan outcome.\n- Canonical `.qe\u002F` document rows in `qe.db` are evidence; derived index tables and\n  `.qe\u002Fwiki\u002F` projections are lookup\u002Fknowledge layers. Do not treat an index row\n  or LLM summary as the source of truth.\n- Only a verified Goal with explicit evidence may write back to the wiki.\n\n## Deterministic tacit-knowledge intake\n\nFor a broad or ambiguous intent, Qplan owns one durable intake before it\nfinalizes execution artifacts. This is a bounded decision-discovery stage, not\nan invitation to interview the user about facts already available in the\nrepository.\n\n1. **Reconnaissance first:** inspect the minimum relevant sources and record\n   source facts. Build a canonical base-question inventory only for unresolved\n   decisions, with stable ordinals and material dimensions from\n   `core\u002FKNOWLEDGE_ELICITATION_CONTRACT.md`.\n2. Initialize `.qe\u002Fplanning\u002Fplans\u002F{slug}\u002FINTAKE.json` with\n   `node scripts\u002Fqe-intake.mjs init`, the current full session UUID, and the\n   inventory JSON. Before asking, disclose the actual base total, the maximum\n   12 allocated follow-ups, and the maximum batch size of 3.\n3. Run `node scripts\u002Fqe-intake.mjs next` with the stored revision. Render only\n   the returned batch through `core\u002FINTERACTION_ADAPTER.md`; preserve engine\n   labels such as `[17\u002F30]` and `[17-1\u002F3]` exactly. Persist every answer, skip,\n   correction, pause, resume, re-baseline, or stop through the CLI using the\n   returned revision. Never hand-edit counters or `INTAKE.json`.\n4. When no material question remains, run the CLI `synthesize` operation and\n   show the synthesis to the user. Persist corrections or a material\n   re-baseline, and run `confirm` only after the user accepts the synthesis.\n5. A pause preserves the earliest unresolved label and returns control to the\n   user. A stop persists a blocked terminal. Do not convert either state into\n   an inferred answer.\n\nInteractive Claude and Codex sessions ask the same labeled open questions and\nwait for answers. In non-interactive mode, skip only a question that the engine\nclassifies as explicitly reversible and non-material; record that resolution\nas an assumption. If any material question remains, retain the intake draft,\nreport the earliest unresolved label, and block Plan finalization without\nfabricating an answer.\n\nThe intake may be omitted only when reconnaissance proves that the intent is\nalready bounded and has no unresolved material decision. Record that reason in\nthe Plan decision log; convenience or non-interactive execution is not a\nbypass. Qplan is the sole owner of this stage. Qgoal and downstream PSE stages\nmust not duplicate its questions, counters, or transitions.\n\n## Entry and bootstrap\n\n1. Ensure the shared `QE.md` and active-client instruction pointer exist before planning.\n   The explicit `\u002FQplan` or `$Qplan` entry bootstrap creates them without overwriting user\n   instructions. Then check `.qe\u002F`; if it is absent, bootstrap the minimal\n   Plan state (`.qe\u002Fstate\u002F`, `.qe\u002Fplanning\u002F`, and `.qe\u002Ftasks\u002F`) through the existing QE\n   state\u002Fstore utilities before continuing. Initialization is part of Qplan; there is no\n   separate initialization skill or user command.\n2. Derive a unique slug from the intent (2–4 salient Latin keywords, lowercase\n   `[a-z0-9-]`, max 40 chars; append `-2`, `-3` on collision).\n3. Run the deterministic intake above when the intent is broad, ambiguous, or\n   has an unresolved material decision. Reach `confirmed`, or block and return\n   without finalizing a Plan. A bounded intent with no material gap may use the\n   documented omission path.\n4. Only after confirmed intake (or a recorded safe omission), build the exact\n   input from `core\u002FPLAN_INITIALIZATION_CONTRACT.md` and run\n   `node scripts\u002Fqe-plan.mjs init --slug {slug} --session {full UUID} --input {path}`.\n   This atomically creates the DB-authoritative Plan documents, Goal ledger,\n   active pointer, and session binding. Do not write canonical planning paths\n   with raw filesystem tools. Full Plans must divide work into ordered,\n   independently verifiable Wave bullets; these become Goals. Split until every\n   Goal has one user-visible outcome, 1–5 allowed paths, at most three criteria,\n   at most two journeys, explicit dependencies, and explicit non-goals. A broad\n   feature area is a Phase, never a Goal.\n5. For every Goal, select its assurance lane after reconnaissance and before\n   activation. A bounded micro Goal includes the exact admission request from\n   `core\u002FGOAL_ACCEPTANCE_CONTRACT.md`; the ledger replaces it with a session-\n   and digest-bound plan-controller admission. Otherwise omit `assurance` and\n   use the formal lane. Then define the pre-execution acceptance contract from\n   `core\u002FGOAL_ACCEPTANCE_CONTRACT.md`: schema 2 with exactly one structured outcome,\n   the same `outcomeId` on every requirement, journey, regression, and alignment,\n   verbatim Goal alignment, requirement criteria,\n   at least one runnable user-journey scenario, a regression command, risk assessment,\n   and whether human acceptance is required. High-impact risk categories (authentication,\n   authorization, payment, deployment, data migration, destructive data changes, external\n   integrations, or security) require human acceptance.\n   Save it as `evidence\u002F{goalId}.acceptance.json`, then run\n   `node hooks\u002Fscripts\u002Flib\u002Fledger.mjs set-acceptance --slug {slug} --goal-id {goalId} --file {path}`.\n   Stored schema 1 contracts may resume, but never create a new schema 1 contract.\n   Do not let tests or implementation retrospectively define what success means.\n6. On resume, run `node scripts\u002Fqe-plan.mjs bind --slug {slug} --session {full UUID}`; if an active Goal's prior session ended, use the explicit CAS `takeover` protocol in `core\u002FPLAN_INITIALIZATION_CONTRACT.md`.\n7. Run `node hooks\u002Fscripts\u002Flib\u002Fledger.mjs render-state --slug {slug}`. Never hand-edit\n   the `## Phase Progress` block.\n\n## Internal Goal loop\n\nRun this loop until the Plan is complete, blocked, or needs a material user decision.\nDo not expose `Qgenerate-spec`, `Qexecute`, derived-wiki internals, or a copied next-command handoff.\n\n1. **Select:** Run `node hooks\u002Fscripts\u002Flib\u002Fledger.mjs advance --slug {slug} --action next --session {current full session UUID}`.\n   It starts only the first pending Goal and binds that Goal to the execution-owner\n   session. An active or blocked Goal prevents skipping, and another live session\n   cannot continue, block, fail, or complete the owned Goal.\n2. **Knowledge preflight:** Run `node scripts\u002Fqe-plan-context.mjs \"{Goal objective}\"`.\n   Then run `node scripts\u002Fqe-analysis-drift.mjs --json`. When it reports\n   `actionRequired: true`, generated analysis is advisory-only for the returned\n   `affectedPaths`: read the live source in those paths before planning, execution,\n   or verification. Drift detection is non-blocking and a missing baseline does not\n   fail the Goal; it only removes analysis freshness as usable evidence.\n   Use the returned reviewed wiki entries and QE artifact paths as pointers. Read only\n   the source documents required for the Goal; source files override summaries.\n3. **Assurance lane execution:** consume the immutable lane selected and\n   ledger-validated before activation; prompt length alone never decides it.\n\n   **Bounded micro-Goal lane** applies only when all conditions hold: one low-risk\n   implementation outcome, at most three allowed paths, fewer than three work\n   items, no unresolved material decision, and no authentication, authorization,\n   payment, deployment, migration, destructive-data, security-boundary, or external-\n   integration impact. The stored contract must contain the ledger-issued\n   `assurance` admission defined by `core\u002FGOAL_ACCEPTANCE_CONTRACT.md`; absence\n   or rejection means the formal lane. The immutable Goal\n   acceptance contract is the executable micro spec. Do not create a TASK_REQUEST\n   or run the three-reviewer Spec gate. The ledger seals a Git scope baseline at\n   admission and rejects evidence or completion when observed changes escape\n   `allowedPaths`; without a Git worktree the bounded-micro lane is unavailable.\n   Execute in the main thread or one bounded worker, apply the Qexecute TDD gate,\n   run the locked commands, and retain the distinct-session independent machine\n   verification and Goal-alignment verdict required by Step 4. Do not run a\n   separate Supervise fan-out unless changed risk evidence requires escalation.\n\n   **Formal Goal lane** applies otherwise. Generate the Goal's TASK_REQUEST and\n   VERIFY_CHECKLIST, execute it, then run the complete SIVS verification loop.\n   These are internal units, not user commands.\n\n   After implementation and before verification, rerun\n   `node scripts\u002Fqe-analysis-drift.mjs --json`. If the Goal introduced actionable\n   structural drift, include the returned paths in live-source verification and do\n   not claim that the generated analysis map is current. This advisory check never\n   substitutes for the locked regression and Goal-alignment gates.\n\n   If a micro Goal grows beyond any limit, reveals a high-impact risk, or fails\n   verification, do not mutate its immutable acceptance. Stop before expanded\n   work, block it through the audited Goal transition, and create a new linked\n   formal Plan\u002FGoal with a fresh acceptance contract and dependency on the\n   blocked micro Goal. The original micro Goal cannot later claim completion.\n4. **Completion evidence:** Before completion, record `evidence\u002F{goalId}.completion.json`\n   against the immutable acceptance contract. It must show every requirement and\n   user-journey scenario passing, a passing regression result, machine re-execution by a\n   named verifier, that verifier's Goal-to-evidence alignment verdict, known limitations,\n   and required human acceptance. Run every\n   locked contract command via `ledger.mjs run-evidence` first for `implementation`\n   and again from a distinct QE session for `verification --verifier {identity}`;\n   then run `record-evidence`.\n5. **Gate:** If verification fails, evidence is incomplete, or a required decision is unresolved, keep the Goal\n   active or call `advance --action block --evidence \"{specific blocker}\" --session {owner UUID}`; do not start\n   another Goal. Ask the user only for a material scope, risk, or irreversible choice.\n6. **Complete:** Only after the acceptance evidence has been recorded, run\n   `node hooks\u002Fscripts\u002Flib\u002Fledger.mjs advance --slug {slug} --action complete --session {owner UUID}`.\n   Formal Goals are accepted only when a Goal-bound SIVS controller has already\n   reached `complete` with matching TASK_REQUEST, VERIFY_CHECKLIST, Verify, and\n   Supervise proof. This records the lifecycle event, updates STATE, and writes a\n   provenance-linked reviewed project-wiki page.\n7. Repeat at Step 1. When `advance --action next` returns `complete`, report the Plan\n   outcome, remaining risks, and evidence.\n8. At each completed Phase boundary, `advance next` requires the sealed proof\n   from `core\u002FPHASE_RETROSPECTIVE_CONTRACT.md`. Run `node scripts\u002Fqe-plan.mjs\n   retrospective --slug {slug} --session {full UUID} --input {path}`; it generates\n   the Phase report, executes fresh regression, and records the retrospective.\n\n## Goal quality rules\n\n- One active Goal at a time. A safe parallel Wave is internal execution within\n  that Goal; it never creates multiple active Goals.\n- A Goal must state its verbatim objective alignment, one primary outcome, bounded file scope, explicit non-goals, dependencies, at most three requirement criteria, at most two user-journey scenarios, regression scope, risk assessment, and evidence before work starts.\n- Draft plans, model hypotheses, and unverified research never become reviewed project knowledge.\n- Use source-backed contracts, tests, verification reports, and decisions as first-class evidence.\n- Preserve an append-only ledger. Do not rewrite prior Goal events or fabricate completion.\n\n## User communication\n\nAt Plan creation or material replan, show the ordered Goal list, current Goal, success criteria,\nand any required decision. During normal progression, report concise status rather than internal\ncommands. On completion, provide the evidence-backed Plan result.\n\n## Will\n\n- Create, resume, and advance Plan-owned Goals.\n- Use QE knowledge internally before each Goal and write back only verified outcomes.\n- Run internal spec, execution, and verification units without user command choreography.\n\n## Will Not\n\n- Ask the user to invoke internal PSE stages, derived-wiki internals, or a raw ledger command.\n- Skip an active or blocked Goal.\n- Mark a Goal complete from a bare test claim, implementation report, or self-verification.\n- Promote LLM-generated text to reviewed knowledge without verification evidence.\n","> **Planning state → DB:** `.qe\u002Fplanning\u002F**` is a DB-only namespace in the\n> SQLite `qe_files` store. Its directories are logical paths, not folders to\n> create on disk. Read them with `node scripts\u002Fqe-cat.mjs \u003Cpath>` (or\n> `--ls`\u002F`--exists`) and mutate them only through QE state\u002Fstore utilities.\n> See `QE_CONVENTIONS.md`.\n\n# Qplan — Plan-owned Goal Controller\n\n`Qplan` is the user-facing control surface for work. A Plan owns an ordered\nGoal queue; Goals are not separate user commands. The user supplies an intent,\nreviews material Plan changes, and receives results. QE runs the internal work.\n\nQplan is an explicit high-assurance entry. Only active-prefix `$Qplan`\u002F`\u002FQplan`\nor the `$Qgoal`\u002F`\u002FQgoal` alias activates Full SIVS. Ordinary requests use the\nnative client execution path while the Safety Kernel and QE response style stay\nactive; prompt size, file count, and risk words never activate this workflow.\n\n## Model\n\n```text\nPlan → Goal 1 → Goal 2 → … → Goal N\n          │\n          ├─ knowledge preflight\n          ├─ assurance lane (bounded micro contract | formal spec)\n          ├─ execute\n          ├─ verify\n          └─ verified knowledge write-back\n```\n\n- **Plan** is the durable contract: roadmap, requirements, phases, and ordered Goals.\n- **Goal** is the smallest independently verifiable Plan outcome.\n- Canonical `.qe\u002F` document rows in `qe.db` are evidence; derived index tables and\n  `.qe\u002Fwiki\u002F` projections are lookup\u002Fknowledge layers. Do not treat an index row\n  or LLM summary as the source of truth.\n- Only a verified Goal with explicit evidence may write back to the wiki.\n\n## Deterministic tacit-knowledge intake\n\nFor a broad or ambiguous intent, Qplan owns one durable intake before it\nfinalizes execution artifacts. This is a bounded decision-discovery stage, not\nan invitation to interview the user about facts already available in the\nrepository.\n\n1. **Reconnaissance first:** inspect the minimum relevant sources and record\n   source facts. Build a canonical base-question inventory only for unresolved\n   decisions, with stable ordinals and material dimensions from\n   `core\u002FKNOWLEDGE_ELICITATION_CONTRACT.md`.\n2. Initialize `.qe\u002Fplanning\u002Fplans\u002F{slug}\u002FINTAKE.json` with\n   `node scripts\u002Fqe-intake.mjs init`, the current full session UUID, and the\n   inventory JSON. Before asking, disclose the actual base total, the maximum\n   12 allocated follow-ups, and the maximum batch size of 3.\n3. Run `node scripts\u002Fqe-intake.mjs next` with the stored revision. Render only\n   the returned batch through `core\u002FINTERACTION_ADAPTER.md`; preserve engine\n   labels such as `[17\u002F30]` and `[17-1\u002F3]` exactly. Persist every answer, skip,\n   correction, pause, resume, re-baseline, or stop through the CLI using the\n   returned revision. Never hand-edit counters or `INTAKE.json`.\n4. When no material question remains, run the CLI `synthesize` operation and\n   show the synthesis to the user. Persist corrections or a material\n   re-baseline, and run `confirm` only after the user accepts the synthesis.\n5. A pause preserves the earliest unresolved label and returns control to the\n   user. A stop persists a blocked terminal. Do not convert either state into\n   an inferred answer.\n\nInteractive Claude and Codex sessions ask the same labeled open questions and\nwait for answers. In non-interactive mode, skip only a question that the engine\nclassifies as explicitly reversible and non-material; record that resolution\nas an assumption. If any material question remains, retain the intake draft,\nreport the earliest unresolved label, and block Plan finalization without\nfabricating an answer.\n\nThe intake may be omitted only when reconnaissance proves that the intent is\nalready bounded and has no unresolved material decision. Record that reason in\nthe Plan decision log; convenience or non-interactive execution is not a\nbypass. Qplan is the sole owner of this stage. Qgoal and downstream PSE stages\nmust not duplicate its questions, counters, or transitions.\n\n## Entry and bootstrap\n\n1. Ensure the shared `QE.md` and active-client instruction pointer exist before planning.\n   The explicit `\u002FQplan` or `$Qplan` entry bootstrap creates them without overwriting user\n   instructions. Then check `.qe\u002F`; if it is absent, bootstrap the minimal\n   Plan state (`.qe\u002Fstate\u002F`, `.qe\u002Fplanning\u002F`, and `.qe\u002Ftasks\u002F`) through the existing QE\n   state\u002Fstore utilities before continuing. Initialization is part of Qplan; there is no\n   separate initialization skill or user command.\n2. Derive a unique slug from the intent (2–4 salient Latin keywords, lowercase\n   `[a-z0-9-]`, max 40 chars; append `-2`, `-3` on collision).\n3. Run the deterministic intake above when the intent is broad, ambiguous, or\n   has an unresolved material decision. Reach `confirmed`, or block and return\n   without finalizing a Plan. A bounded intent with no material gap may use the\n   documented omission path.\n4. Only after confirmed intake (or a recorded safe omission), build the exact\n   input from `core\u002FPLAN_INITIALIZATION_CONTRACT.md` and run\n   `node scripts\u002Fqe-plan.mjs init --slug {slug} --session {full UUID} --input {path}`.\n   This atomically creates the DB-authoritative Plan documents, Goal ledger,\n   active pointer, and session binding. Do not write canonical planning paths\n   with raw filesystem tools. Full Plans must divide work into ordered,\n   independently verifiable Wave bullets; these become Goals. Split until every\n   Goal has one user-visible outcome, 1–5 allowed paths, at most three criteria,\n   at most two journeys, explicit dependencies, and explicit non-goals. A broad\n   feature area is a Phase, never a Goal.\n5. For every Goal, select its assurance lane after reconnaissance and before\n   activation. A bounded micro Goal includes the exact admission request from\n   `core\u002FGOAL_ACCEPTANCE_CONTRACT.md`; the ledger replaces it with a session-\n   and digest-bound plan-controller admission. Otherwise omit `assurance` and\n   use the formal lane. Then define the pre-execution acceptance contract from\n   `core\u002FGOAL_ACCEPTANCE_CONTRACT.md`: schema 2 with exactly one structured outcome,\n   the same `outcomeId` on every requirement, journey, regression, and alignment,\n   verbatim Goal alignment, requirement criteria,\n   at least one runnable user-journey scenario, a regression command, risk assessment,\n   and whether human acceptance is required. High-impact risk categories (authentication,\n   authorization, payment, deployment, data migration, destructive data changes, external\n   integrations, or security) require human acceptance.\n   Save it as `evidence\u002F{goalId}.acceptance.json`, then run\n   `node hooks\u002Fscripts\u002Flib\u002Fledger.mjs set-acceptance --slug {slug} --goal-id {goalId} --file {path}`.\n   Stored schema 1 contracts may resume, but never create a new schema 1 contract.\n   Do not let tests or implementation retrospectively define what success means.\n6. On resume, run `node scripts\u002Fqe-plan.mjs bind --slug {slug} --session {full UUID}`; if an active Goal's prior session ended, use the explicit CAS `takeover` protocol in `core\u002FPLAN_INITIALIZATION_CONTRACT.md`.\n7. Run `node hooks\u002Fscripts\u002Flib\u002Fledger.mjs render-state --slug {slug}`. Never hand-edit\n   the `## Phase Progress` block.\n\n## Internal Goal loop\n\nRun this loop until the Plan is complete, blocked, or needs a material user decision.\nDo not expose `Qgenerate-spec`, `Qexecute`, derived-wiki internals, or a copied next-command handoff.\n\n1. **Select:** Run `node hooks\u002Fscripts\u002Flib\u002Fledger.mjs advance --slug {slug} --action next --session {current full session UUID}`.\n   It starts only the first pending Goal and binds that Goal to the execution-owner\n   session. An active or blocked Goal prevents skipping, and another live session\n   cannot continue, block, fail, or complete the owned Goal.\n2. **Knowledge preflight:** Run `node scripts\u002Fqe-plan-context.mjs \"{Goal objective}\"`.\n   Then run `node scripts\u002Fqe-analysis-drift.mjs --json`. When it reports\n   `actionRequired: true`, generated analysis is advisory-only for the returned\n   `affectedPaths`: read the live source in those paths before planning, execution,\n   or verification. Drift detection is non-blocking and a missing baseline does not\n   fail the Goal; it only removes analysis freshness as usable evidence.\n   Use the returned reviewed wiki entries and QE artifact paths as pointers. Read only\n   the source documents required for the Goal; source files override summaries.\n3. **Assurance lane execution:** consume the immutable lane selected and\n   ledger-validated before activation; prompt length alone never decides it.\n\n   **Bounded micro-Goal lane** applies only when all conditions hold: one low-risk\n   implementation outcome, at most three allowed paths, fewer than three work\n   items, no unresolved material decision, and no authentication, authorization,\n   payment, deployment, migration, destructive-data, security-boundary, or external-\n   integration impact. The stored contract must contain the ledger-issued\n   `assurance` admission defined by `core\u002FGOAL_ACCEPTANCE_CONTRACT.md`; absence\n   or rejection means the formal lane. The immutable Goal\n   acceptance contract is the executable micro spec. Do not create a TASK_REQUEST\n   or run the three-reviewer Spec gate. The ledger seals a Git scope baseline at\n   admission and rejects evidence or completion when observed changes escape\n   `allowedPaths`; without a Git worktree the bounded-micro lane is unavailable.\n   Execute in the main thread or one bounded worker, apply the Qexecute TDD gate,\n   run the locked commands, and retain the distinct-session independent machine\n   verification and Goal-alignment verdict required by Step 4. Do not run a\n   separate Supervise fan-out unless changed risk evidence requires escalation.\n\n   **Formal Goal lane** applies otherwise. Generate the Goal's TASK_REQUEST and\n   VERIFY_CHECKLIST, execute it, then run the complete SIVS verification loop.\n   These are internal units, not user commands.\n\n   After implementation and before verification, rerun\n   `node scripts\u002Fqe-analysis-drift.mjs --json`. If the Goal introduced actionable\n   structural drift, include the returned paths in live-source verification and do\n   not claim that the generated analysis map is current. This advisory check never\n   substitutes for the locked regression and Goal-alignment gates.\n\n   If a micro Goal grows beyond any limit, reveals a high-impact risk, or fails\n   verification, do not mutate its immutable acceptance. Stop before expanded\n   work, block it through the audited Goal transition, and create a new linked\n   formal Plan\u002FGoal with a fresh acceptance contract and dependency on the\n   blocked micro Goal. The original micro Goal cannot later claim completion.\n4. **Completion evidence:** Before completion, record `evidence\u002F{goalId}.completion.json`\n   against the immutable acceptance contract. It must show every requirement and\n   user-journey scenario passing, a passing regression result, machine re-execution by a\n   named verifier, that verifier's Goal-to-evidence alignment verdict, known limitations,\n   and required human acceptance. Run every\n   locked contract command via `ledger.mjs run-evidence` first for `implementation`\n   and again from a distinct QE session for `verification --verifier {identity}`;\n   then run `record-evidence`.\n5. **Gate:** If verification fails, evidence is incomplete, or a required decision is unresolved, keep the Goal\n   active or call `advance --action block --evidence \"{specific blocker}\" --session {owner UUID}`; do not start\n   another Goal. Ask the user only for a material scope, risk, or irreversible choice.\n6. **Complete:** Only after the acceptance evidence has been recorded, run\n   `node hooks\u002Fscripts\u002Flib\u002Fledger.mjs advance --slug {slug} --action complete --session {owner UUID}`.\n   Formal Goals are accepted only when a Goal-bound SIVS controller has already\n   reached `complete` with matching TASK_REQUEST, VERIFY_CHECKLIST, Verify, and\n   Supervise proof. This records the lifecycle event, updates STATE, and writes a\n   provenance-linked reviewed project-wiki page.\n7. Repeat at Step 1. When `advance --action next` returns `complete`, report the Plan\n   outcome, remaining risks, and evidence.\n8. At each completed Phase boundary, `advance next` requires the sealed proof\n   from `core\u002FPHASE_RETROSPECTIVE_CONTRACT.md`. Run `node scripts\u002Fqe-plan.mjs\n   retrospective --slug {slug} --session {full UUID} --input {path}`; it generates\n   the Phase report, executes fresh regression, and records the retrospective.\n\n## Goal quality rules\n\n- One active Goal at a time. A safe parallel Wave is internal execution within\n  that Goal; it never creates multiple active Goals.\n- A Goal must state its verbatim objective alignment, one primary outcome, bounded file scope, explicit non-goals, dependencies, at most three requirement criteria, at most two user-journey scenarios, regression scope, risk assessment, and evidence before work starts.\n- Draft plans, model hypotheses, and unverified research never become reviewed project knowledge.\n- Use source-backed contracts, tests, verification reports, and decisions as first-class evidence.\n- Preserve an append-only ledger. Do not rewrite prior Goal events or fabricate completion.\n\n## User communication\n\nAt Plan creation or material replan, show the ordered Goal list, current Goal, success criteria,\nand any required decision. During normal progression, report concise status rather than internal\ncommands. On completion, provide the evidence-backed Plan result.\n\n## Will\n\n- Create, resume, and advance Plan-owned Goals.\n- Use QE knowledge internally before each Goal and write back only verified outcomes.\n- Run internal spec, execution, and verification units without user command choreography.\n\n## Will Not\n\n- Ask the user to invoke internal PSE stages, derived-wiki internals, or a raw ledger command.\n- Skip an active or blocked Goal.\n- Mark a Goal complete from a bare test claim, implementation report, or self-verification.\n- Promote LLM-generated text to reviewed knowledge without verification evidence.\n",{"name":5,"tier":19,"description":7,"user_invocable":36,"recommendedModel":37},true,"opus","main","098bee25999f0ad7b3bba659cc28b79555ffe77f","skills\u002FQplan",0,"https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework","https:\u002F\u002Fgithub.com\u002Finho-team","2026-10-12 20:59:00",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":36},[47,50,53],{"tool":48,"command":49},"npx","npx skills add inho-team\u002Fqe-framework --skill Qplan",{"tool":51,"command":52},"bunx","bunx skills add inho-team\u002Fqe-framework --skill Qplan",{"tool":54,"command":55},"pnpm","pnpm dlx skills add inho-team\u002Fqe-framework --skill Qplan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQplan\u002FSKILL.md",[58,64,70,74,80,84],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"LICENSE.txt","LICENSE","许可证",11357,"https:\u002F\u002Fgithub.com\u002FHuuBar\u002Fskill-routing-experiment\u002Fblob\u002Fmain\u002Funified_skills\u002Fvishal\u002Fskill-creator\u002FLICENSE.txt",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Foutput-patterns.md","REFERENCE","参考文档",1813,"https:\u002F\u002Fgithub.com\u002FHuuBar\u002Fskill-routing-experiment\u002Fblob\u002Fmain\u002Funified_skills\u002Fvishal\u002Fskill-creator\u002Freferences\u002Foutput-patterns.md",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fworkflows.md",818,"https:\u002F\u002Fgithub.com\u002FHuuBar\u002Fskill-routing-experiment\u002Fblob\u002Fmain\u002Funified_skills\u002Fvishal\u002Fskill-creator\u002Freferences\u002Fworkflows.md",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Finit_skill.py","SCRIPT","脚本",10863,"https:\u002F\u002Fgithub.com\u002FHuuBar\u002Fskill-routing-experiment\u002Fblob\u002Fmain\u002Funified_skills\u002Fvishal\u002Fskill-creator\u002Fscripts\u002Finit_skill.py",{"path":81,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fpackage_skill.py",3288,"https:\u002F\u002Fgithub.com\u002FHuuBar\u002Fskill-routing-experiment\u002Fblob\u002Fmain\u002Funified_skills\u002Fvishal\u002Fskill-creator\u002Fscripts\u002Fpackage_skill.py",{"path":85,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002Fquick_validate.py",3523,"https:\u002F\u002Fgithub.com\u002FHuuBar\u002Fskill-routing-experiment\u002Fblob\u002Fmain\u002Funified_skills\u002Fvishal\u002Fskill-creator\u002Fscripts\u002Fquick_validate.py",[89,102,125,135,142,158],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":31},"01M6DT1S8NH342N5C7G66JCW4B","Qversion","Shows the current QE Framework version. Use when asked 'what version', 'qe version', 'show version', or 'check version'.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQversion\u002FSKILL.md",[],[91,96,97,98,99,100,101,23],"version","show","framework","check","haiku","user",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":31},"01M6DT1PACV7KP1TH48T39Z7TS","Qupdate","Use for \"update plugin\", \"upgrade\", \"update qe\", \"update codex\", or \"codex plugin\". Updates marketplace metadata\u002Fcache, framework files, installed Codex assets, and the bridge for the current install.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQupdate\u002FSKILL.md",[],[104,109,110,111,112,113,114,115,116,117,118,119,97,120,23,121,122,100,123,124],"cache","pull","update","plugin","codex plugin","codex","marketplace","bridge","update codex","update plugin","upgrade","files","fetch","node","assets","Bash",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":31},"01M6DT1K90BZKR4YDMCQ75HQSH","Qresume","Use when resuming work, restoring context, continuing from where you left off, or loading a previous session after compaction or a session break.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQresume\u002FSKILL.md",[],[127,132,23,133,134,100],"session","context","work",{"skillNo":136,"name":30,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":31},"01M6DT1CGVT3D9E38GD8GRZS7Z","Explicit single-Goal alias for Qplan. Use when the user enters Qgoal with the active client prefix.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQgoal\u002FSKILL.md",[],[30,26,28,141,23,101,100,18],"active",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":31},"01M6DT18NF43V0F4DBX6C3T4VB","Qgenerate-spec","Use when a routed goal or plan handoff needs TASK_REQUEST and VERIFY_CHECKLIST documents — router-owned internal PSE unit. Use Qgoal to enter; use Qplan for roadmap work.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQgenerate-spec\u002FSKILL.md",[],[149,150,151,152,26,153,154,18,155,25,156,23,134,100,22,157,19],"Qgenerate spec","spec","handoff","documents","false","task","checklist","router","verify",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":31},"01M6DT15P0Z7BPGB403106ZG5B","Qexecute","Use when a routed pipeline or an active task artifact (TASK_REQUEST UUID) needs execution or the -verify quality loop — router-owned internal PSE unit. Use Qgoal to enter.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQexecute\u002FSKILL.md",[],[160,165,153,141,166,154,156,23,167,168,169,100,170,171,124,157,172,173,19],"read","artifact","edit","write","grep","quality","loop","execution","pipeline"]