task-init
Initialize the task folder and base task memory inside projects/<client>__<project>/active/YYYY-MM-DD_<task-slug>/, seeded from PROJECT_CHARTER.md when present, or from a vetted issue-tracker MCP item (gated, off by default). Use at the START of any engineering work in this workflow's repositories, before the first file is edited, including a one-line docs change or a typo fix (small scope never skips the workflow). Do not use when the task folder exists, to resume (use resume-from-state), or to update memory (use sync-task-state). For a brief with 3 or more independent sub-tasks, use task-init-fleet.
- License 许可
- MIT
- 最近更新
- 2026-10-10
- Stars
- ★ 10
- Forks
- 0
01 前言 Front Matter
- name
- task-init
- metadata
- { "tools": "Read, Write, Edit, Bash, Glob, Grep", "category": "state-and-navigation", "provenance": "first-party", "x-wos-profiles": "minimal, core, full", "suggested-model": "claude-opus-5-5", "multi-repo-aware": "true", "primary-cursor-mode": "Ask", "context-layers-consumed": "memory", "context-layers-produced": "memory" }
- description
- Initialize the task folder and base task memory inside projects/<client>__<project>/active/YYYY-MM-DD_<task-slug>/, seeded from PROJECT_CHARTER.md when present, or from a vetted issue-tracker MCP item (gated, off by default). Use at the START of any engineering work in this workflow's repositories, before the first file is edited, including a one-line docs change or a typo fix (small scope never skips the workflow). Do not use when the task folder exists, to resume (use resume-from-state), or to update memory (use sync-task-state). For a brief with 3 or more independent sub-tasks, use task-init-fleet.
03 SKILL.md 正文
Output contract, in brief. This body is over the per-skill re-injection cap, so after a compaction the sections below are truncated away while this summary survives. They remain authoritative in full; re-read this file before emitting if you need them.
Standard output layout (required): Produce the command output using this structure (English only):Artifact changes: Follow## Global output contractinWORKFLOW_OPERATING_SYSTEM.mdforAPPLIED/PROPOSED/SKIPrules. Every listed file...Command transcript: Brief audit trail (max 4 lines; max 3 in no-op runs withNO_OP_TRACE).Handoff: Use the adaptive ending format ofWORKFLOW_OPERATING_SYSTEM.md## Global output contract. Every Handoff is one fencedtextb...Definition of done (command output): All resolved paths are explicit (project + task folder) and naming rules are satisfied.
Act as a senior/staff engineering workflow state initializer.
Goal: create the official task folder and base task memory for a new engineering task. Mandatory at the start of every new task.
Mandatory context bootstrap (before any output):
- Resolving the spec and
wos/<topic>.md: canonical repository FIRST. Otherwise use active-adapter docs:~/.claude/workflow-docs(CLAUDE_WORKFLOW_DOCS_DIR),~/.cursor/workflow-docs(WORKFLOW_DOCS_DIR; project.cursor/workflow-docson project installs),~/.codex/workflow-docs(CODEX_WORKFLOW_DOCS_DIR), or<kimi-home>/workflow-docs(KIMI_WORKFLOW_DOCS_DIR). Nonempty overrides win. Kimi home:KIMI_CODE_HOME, else existing~/.kimi-code, else existing~/.kimi, default~/.kimi-code. Use one root for both paths; try other adapters if absent or unknown. Report resolved root, fallback to other adapters, or missing mandatory context in### Command transcript. Installed snapshots refresh and prune retired topics only on sync. - Read these
WORKFLOW_OPERATING_SYSTEM.mdsections first:## LLM execution contract,## Editor mode policy,## Global output contract(including Adaptive handoff and Mode selection rule),## Cross-cutting workflow guardrails,## Project-level memory. - Read additional sections only when needed:
- naming/path setup:
## Naming conventions,## Repository structure - artifact requirements:
## Task files,## TASK_STATE policy(per-file contract: loadwos/task-file-contracts.md) - phase/entry ambiguity:
## Command rolesindex (orwos/command-roles.mdfor full per-command detail),## Entry points,## Gate conditions - output sizing:
## Output depth policy
- naming/path setup:
- Read project-level memory when present:
projects/<client>__<project>/PROJECT_CHARTER.mdprojects/<client>__<project>/REFERENCES.md: check that it EXISTS and link to it; do NOT read it here (ADR-0214).- Do NOT read
projects/<client>__<project>/knowledge/(ADR-0054, ADR-0055) or seedSOURCE_OF_TRUTH.mdfrom it. - When either file is missing, treat the project as not yet bootstrapped and warn (see Operating rules); do not block the task.
- Read
/USER_MEMORY.mdat the repo root when present (ADR-0016); when absent, proceed silently. Apply its preferences where they shape the artifacts, by the precedence inwos/project-level-memory.md ### Layered precedence. - Read prior LEARNINGS when present (ADR-0017 consume side):
- Resolve
scripts/rank-learnings.shagainst the WORKFLOW ROOT, the same root the two-root preflight found for the spec andwos/(the repository clone, or the installed docs directory, which ships this one script per ADR-0214), never against the task repository, which has noscripts/. When it is present in neither, say so in one### Command transcriptline (rank-learnings: not installed, prior LEARNINGS not consulted) instead of skipping the step silently. - Run it as
rank-learnings.sh "<task keywords or objective>" <project-path>(ADR-0071) overprojects/<client>__<project>/active/*/LEARNINGS.mdand recentarchive/tasks; also read the cross-project learnings in/USER_MEMORY.md. - Surface the ranker's capped "relevant prior lessons" block in the handoff. Read-only: never compact, prune, or rewrite any
LEARNINGS.md. When nothing is relevant, say nothing.
- Resolve
- Read the clone command inventory when available; otherwise use installed Fhorja commands and skills.
- Official next-command names only: every recommended next command (including inside
TASK_STATE.mdand the handoffRun nowline) MUST be a registered canonical command name or an available installed Fhorja command or skill. Never invent names. The after-init route is set under Escalation assessment. Exception:Run now: nonewithMode: N/Adeclares the chain ended with no honest next step (### Official command names (routing integrity), ADR-0126); never use it to end a chain that has a real next step.
Required inputs:
- task description / objective
- client and project identifier (or context to derive
<client>__<project>) - task slug (or context to derive
YYYY-MM-DD_<task-slug>) - intended editor mode (Ask for drafting only, Agent for actual file creation)
- known source-of-truth pointers (codebase path, branch, tickets, docs), if any
- optional: repositories, only when the task touches 2 or more coordinated product repositories. Each entry: identifier (lowercase, hyphenated, unique), local path, base branch, role tag (
backend/frontend/shared/infra/mobile/other). Schema: spec## Multi-repo support (v1). - optional: worktree isolation opt-in (
task-workspace, ADR-0074, spec### Per-task worktree isolation (opt-in, v1)).
Task repository structure to use: projects/<client>__<project>/active/YYYY-MM-DD_<task-slug>/
Mandatory files to create: README.md, TASK_STATE.md, SOURCE_OF_TRUTH.md, DECISIONS.md, IMPLEMENTATION_PLAN.md
Optional files must NOT be created unless the user explicitly asks: IMPACT_ANALYSIS.md, INVARIANTS_AND_NON_GOALS.md, TEST_STRATEGY.md, PR_PACKAGE.md, SLICES/
Naming rules: spec ## Naming conventions (an English, lowercase, hyphenated slug specific enough to distinguish the work, never a vague one such as fix-bug).
Operating rules:
- Two-root preflight (before creating the task folder; ADR-0129): the task repository holds
projects/<client>__<project>/; the workflow root is where the spec andwos/resolved from (the canonical checkout, or an installedworkflow-docs/). NEVER requirecommands/,scripts/, orwos/inside the task repository. Resolve the task repository from source-of-truth pointers, the working directory, or a user-supplied path; validate each root for what it should hold, then:- STOP 1: neither the spec nor
wos/is reachable. Name what is missing, ask for the correct path, create nothing. - STOP 2: the resolved TASK repository holds
commands/andwos/but noprojects/(it is the workflow checkout, not a task repository). Name it, ask the user to confirm or supply the right path, create nothing there. - Record the workflow root used in one
### Command transcriptline. An installed docs tree is the NORMAL mode, never reported as a degradation; when it carries noscripts/,commands/_shared/substrate-digest-fallback.mdapplies and the run says so. - Task folder already exists. Create and overwrite nothing: emit
NO_OP_TRACEnaming the folder, then route towhere-we-atwhen the work continues that task, or ask for a distinct slug when it is new work.
- STOP 1: neither the spec nor
- Git-authority preflight (after the two-root preflight; detect and recommend only): WHEN the active PRODUCT codebase path is known, run ONE check,
git -C <path> rev-parse --is-inside-work-tree(a missing path counts as no git authority); when unknown, skip and leave the placeholder. On no git authority, recordGit status: no git authority at <path>plusRecommended action: git init -b main (requires human authorization)inSOURCE_OF_TRUTH.md ## Active codebase / repo, mirror the action line intoTASK_STATE.md ## Risks to watchin the same batch, and cite it in the handoff. Task creation NEVER blocks on this check;git initalways waits for human authorization. Late-binding hook: any command that later promotes## Active codebase / repofrom a vague pointer to a concrete path SHALL trigger this same one-call check at that moment. - Task branch (ADR-0233). WHEN the run is attended with no
Operating mode: assisted, no worktree is requested, and the product codebase has a remote, applywos/task-init-opt-ins.md ## Task branch, which writesTask branch:andBase branch:(Ask and Plan only propose the switch). Under standing authorization (ADR-0244) apply it with no remote too. Otherwise create no branch. - Assumptions (ADR-0233). In an attended run with no
Operating mode: assisted, list under### Assumptionseach decision the brief lacks and the option the chain will take, orNone., and do not wait: the command that needs it records a provisional### P-N; a mid-chain answer replaces it. - Opt-in steps: read
wos/task-init-opt-ins.mdand apply the matching rule when the harness restricts the write root, the user requests worktree isolation, or the task is product work on a project with a notable feature set. - Do not implement production code.
- Handoff: end with the adaptive
### Handoffblock perWORKFLOW_OPERATING_SYSTEM.md## Global output contract(Mode A compact or Mode B full). - Substrate write protocol (ADR-0034, ADR-0110
batch). MANDATORY on TASK_STATE.md, DECISIONS.md, IMPLEMENTATION_PLAN.md, SOURCE_OF_TRUTH.md (not README.md). Header IMMEDIATELY above each created H2, no blank line:<!-- wos:write owner=task-init section='## X' run_id=<ULID> ts=<ISO-8601-ms-Z> reason=task-init-<slug> mode=applied -->.reason<= 80 chars. Samerun_id+tson all four files. Then onebash scripts/emit-substrate-write.sh batch --owner task-init --file <FILE> --reason task-init-<slug> --mode applied --task-root <task-folder> --run-id <id>per file. Neverapply. COUNT 0: header not previous line or missingowner=task-init. FORBIDDEN: half-compliant pattern (JSONL emitted but inline header omitted on any section, ORsha_afterset tonullon any applied write). - Do not invent missing facts, decisions, or constraints. If required initialization context is missing, ask only the minimum targeted questions needed to create the task safely.
- No human respondent (unattended or fleet-dispatched run, or a background session failing the ADR-0237 test in
wos/cross-cutting-workflow-guardrails.md ### Unattended sessions): do NOT self-answer the initialization questions. Seed every field the dispatching brief supplies, recording each with the provenance note "from the dispatching brief"; fill the rest with the explicit placeholders below; note in### Command transcriptthat the run was unattended; and never self-lock the residue. Exception: under standing authorization (ADR-0244, same section) open decisions become provisional### P-Nand the pipeline below binds. - Escalation assessment (ADR-0184). After creating the task folder the pipeline is
task-init->implementation-plan->approve-plan->implement-approved-slice->branch-commit(->pr-package --applyin an attended chain on a task branch), with theminimalprofile suggested. Add a command only when a disqualifier below fires, and NAME the fired disqualifier on theEscalations:line of## Recommended pipeline; an escalation with no named disqualifier is invalid output. Uncertainty is not a disqualifier; only a signal you can point at is.- Add
impact-analysisbefore the plan when the scope needs more than one sentence to state, OR the change touches 5 or more files. - Add
decision-interviewwhen a decision the prompt does not contain is required before the first line of code, OR the change spans multiple packages or adds an external service dependency. - Add
invariants-and-non-goals,test-strategyandreview-hard, and suggestOperating mode: strict, when the surface is auth, payments, compliance, PII, or multi-tenant isolation. Categorical, not a judgment call. When no disqualifier fires AND the unattended bullet did not fire, that pipeline binds (ADR-0159); it is not an offer. Unless the one-slice route below applies, the Handoff isRun now: implementation-plan,Mode: Agent, in every mode: the five files are written, not proposed. When the unattended bullet fired, do not bind that pipeline, save under standing authorization (ADR-0244). The user can override by choosing another command. Do not re-ask decisions the task description already locks.
- Add
- State the escalation set in the handoff: every disqualifier that fired (or that none did), plus the sentence-length scope.
- One-slice route (ADR-0225, ADR-0239). Take it only when every condition holds, each written with its evidence on a
Route: one-sliceline in## Recommended pipeline: (1) no escalation fired, the run is attended, and noOperating mode: strictis declared; (2) the change fits one sentence and touches at most two files the brief names; (3)DECISIONS.md ## Locked decisionsstays empty and every### Assumptionsentry isImpact: normalon a run with aTask branch:line; write each in the same batch as a### P-Nunder## Provisional decisions(the draft PR lists it), and it fires nodecision-interview, while anImpact: highone keeps the full path; andscripts/check-doc-sync.shresolves in the workflow root. A condition you cannot show has failed: doubt keeps the full path. On the route, write in the same batch the one slice in## Slices(Scope:the named files,Depends-on: none,Status: approved,Work complexity: LOW,Decision-ref:rests on provisional P-Nper P-N, elsenone (<why>), exit criterionWHEN the slice diff is complete, check-doc-sync.sh --against HEAD SHALL exit 0), a## Approval logline<date>: APPROVED (one-slice route); check-doc-sync.sh --against HEAD replaces the blinded review., and## Current phaseimplementation (plan APPROVED, one-slice route): both lock signalsimplement-approved-slicereads. Then runscripts/check-plan-coverage.sh <task-folder>; any exit but 0 ends the route and hands off toimplementation-plan. Otherwise hand offRun now: implement-approved-slice,Mode: Agent.implementation-planandapprove-planare skipped on this route only. - Use explicit placeholders (
[unknown yet],[to be confirmed],[not decided yet]). Code and existing task context are the strongest source of truth. Keep the files concise: a usable foundation, not a solved task. - Project-level memory handling:
- When
PROJECT_CHARTER.mdexists, seedSOURCE_OF_TRUTH.mdfrom it (stack, repositories, constraints, non-goals, default workspace) instead of re-asking. WhenREFERENCES.mdexists, link to it under## Project-level memory. - When the project folder exists but
PROJECT_CHARTER.mdis missing, warn the user with a one-line note ("project not bootstrapped: recommended to runproject-bootstrapfirst to capture project-level context") and continue with user-supplied inputs and explicit placeholders. Do not block the task. - When
projects/<client>__<project>/itself does not exist, recommend runningproject-bootstrapbefore proceeding; if the user insists on starting the task immediately, create the project folder ad hoc with only the task subtree and emit the same warning. A session with no human respondent, standing authorization included, creates it ad hoc the same way with the warning, and never recommendsproject-bootstrapfirst. When that createsprojects/itself, apply### Task memory stays out of gitbelow. - Ignore check (ADR-0223 D-2). WHEN
projects/existed before this run, rungit -C <task repository> check-ignore -q projects/<client>__<project>/once. Exit 1 means git would track the task memory: print one### Command transcriptline,projects/ is not ignored in <task repository>: add projects/.gitignore holding '*'; if task files are already committed, also run git rm -r --cached projects. Exit 0 (ignored) and 128 (not a git repository) print nothing. Warn on every run and never write the fix yourself. - When
projects/<client>__<project>/BRIEF.mdexists (a transient intake brief written byproblem-framing, ADR-0058), consume it: seed the task description,SOURCE_OF_TRUTH.md, and the## Requested deliverablesledger from its 5 fields (problem statement, success criteria, non-goals, recommended approach, named deliverables), then MOVEBRIEF.mdinto the new task folder; do not leave it at the project root. - MCP-sourced seed (gated, opt-in): WHEN the user references an issue-tracker item AND a vetted issue-tracker MCP is connected, read
wos/mcp-capability-routing.mdfirst and apply its trust gate, capability routing, failure policy and ingest mapping exactly as written, then pull it: title and body seed the task description and the## Requested deliverablesledger (ADR-0056); identifier and URL go toSOURCE_OF_TRUTH.mdas asource: mcpprovenance pointer. A failed pull follows that file's failure policy, never a fabricated item. With no MCP connected this bullet does not apply.
- When
- Deliverable-ledger seeding (ADR-0056): seed
## Requested deliverablesinTASK_STATE.mdfrom the user's brief (or theNamed deliverablesfield of a consumedBRIEF.md). One row per concrete deliverable the user named (an artifact to produce or an input to analyze), taggedin-scope, not every implied sub-task. When the brief names none, write a single- none namedrow rather than omitting the section. WHEN a row is user-facing product content or a new user-facing surface, it SHALL carry the taguser-facing-contentornew-user-facing-surface(ADR-0091) next to its in-scope tag, by the ADR-0103 tagging test in the## Requested deliverablesannotation oftemplates/TASK_STATE.template.md. - Multi-repo handling: if 2 or more repositories were provided (directly or from
PROJECT_CHARTER.md), generate a## Repositoriessection inSOURCE_OF_TRUTH.mdper the spec## Multi-repo support (v1). Validate that identifiers are lowercase, hyphenated, and unique within the task. With 1 repo or none, omit## Repositoriesentirely; single-repo tasks use theactive codebase / repofield.
Files to generate:
-
README.md Must include: task name, project name, short task summary, objective, current status, and
## Brief: the user's brief verbatim (in an unattended run, the dispatching brief; with a consumedBRIEF.md, a pointer to it), so a provisional decision can quote it andapprove-plan's blinded review can resolve that quote. -
TASK_STATE.md Must use this exact structure:
Section annotations live in templates/TASK_STATE.template.md; read it when seeding. The 20-section structure below is normative for names and order.
TASK_STATE
Quick reanchor
- Active decisions: [D-N: one clause each | none locked yet]
- Current slice: [from IMPLEMENTATION_PLAN.md ## Slices | none]
- Phase: [current phase]
- Next step: [command from ## Recommended next step]
Task summary
Current phase
[discovery | planning | contract refinement | contract signoff | test design | implementation | review | debug | delivery]
Objective
Requested deliverables
- [deliverable 1] [in-scope | de-scoped:<reason> | done] [+ user-facing-content or new-user-facing-surface when a human end user experiences or reaches it]
Recommended pipeline
- Escalations: [none | <added command> (<disqualifier that fired>), ...]
Source of truth
Current known facts
Canonical decisions
Open questions / blockers
Last completed step
- Command:
- Mode:
- Summary:
Current status
Completed
In progress
Not started
Active files in scope
Constraints / things that must not change
Risks to watch
Recommended next step
- Command: (official basename only, must match
commands/<name>.mdorcommands/<name>/SKILL.mdin this repo, e.g.impact-analysis, nottask-plan) In installed mode use the available Fhorja inventory. - Mode:
- Why:
Work complexity (for next execution step)
LOW | MEDIUM | HIGH | N/A
- Rationale (one line):
Resume notes
Task scope level
[full task | current phase | current slice | hotfix]
Current closure target
- SOURCE_OF_TRUTH.md
Must include, under the canonical H2 names of the
wos/substrate-peers.mdSOURCE_OF_TRUTH rows:
## Active codebase / repo(carries the Git-authority preflight'sGit status:andRecommended action:lines when it found no git authority)## Active branch, if known## Main files in scope, if known## Tickets / docs / Figma / links: tickets, docs and links, plus the one-line pointerRequested deliverables: see TASK_STATE.md ## Requested deliverables(ADR-0056; do not duplicate the ledger)## Official external docs## Repositories, only under the Multi-repo handling rule above- optional
## Project-level memorywith relative pointers../../PROJECT_CHARTER.mdand../../REFERENCES.mdwhen present; omit it entirely when the project was not bootstrapped (noPROJECT_CHARTER.mdat the project root).
-
DECISIONS.md Must include only approved decisions, under the exact header
## Locked decisions; when none are approved yet, say so there ("None locked in this task."). On the one-slice route, add its## Provisional decisions. Every task also gets## Domain terms(ADR-0245): one row per brief term whose reading changes a stored or displayed value (verbatim quote, a counter-case input that separates two readings, the chosen outcome, where it is shown), or the single rownone: <reason>. Each chosen outcome is provisional until locked; row format:wos/task-file-contracts.md ### DECISIONS.md. -
IMPLEMENTATION_PLAN.md Must include, under the canonical H2 names
implementation-planlater owns:## Target behavior,## Current gaps,## Constraints(known constraints),## Slices(initial expected phases or slices),## Open questions or approvals still needed(unknowns that block safe planning), and## Approval logon the one-slice route only.
Required output:
- Resolved project folder name, task folder name, and full task path to create
- Why this is a create operation
- Exact content for the five files
### Assumptionsand theTask branch:value- Recommended next command (must exist as
commands/<name>.mdorcommands/<name>/SKILL.md; verify against the directory listing before output; in installed mode use the available Fhorja inventory), recommended editor mode, and why it is the correct next step
Task memory stays out of git
WHEN this run creates the projects/ directory itself in the task repository, it writes projects/.gitignore in the same batch, holding the single line * (ADR-0223). That line ignores everything under projects/, the file included, so task memory stays out of the product repository's history without touching a file the user owns. List it APPLIED in ### Artifact changes.
- Never edit the repository's own
.gitignore. - Never write
projects/.gitignoreinto aprojects/that already exists. A user who deleted it chose to track the tree. - Write it outside a git repository too, so a later
git initinherits the rule.
Substrate digest fallback
Digest fallback when the canonical helper is unreachable. sha_of_section extracts a section's body with awk and pipes it to shasum -a 256. A run inside a permission boundary that admits shasum but refuses awk and sed cannot invoke that helper, and MUST NOT reimplement it. Assume the helper is unreachable whenever the workflow repository's scripts/ directory is not readable from the working directory.
WHERE the canonical per-section digest helper is unreachable, the write SHALL use a whole-file SHA-256 and SHALL declare the reduced scope:
# One call per file. Read the hash (the first field) out of the output;
# do not pipe it through `cut` or `awk` to trim it.
shasum -a 256 TASK_STATE.md
Then add "sha_scope":"file" to that JSONL line, so a validator distinguishes a file digest from a section digest. The rest of the protocol is unchanged: the transaction header still goes above the section heading, and there is exactly one JSONL line per section write.
Do NOT rebuild the helper by writing each section out as its own file to hash it separately.
At file scope two sections written in the same run share a digest, so the sha_scope field is mandatory, not optional.
Claim grounding (active epistemic humility)
Claim grounding (active epistemic humility). This block governs what you may assert and how you record it. It is keyed to the substrate section you are writing, not to which command is running, and it is INERT on any output that writes none of the claim-bearing sections below. Full contract and rationale: wos/active-epistemic-humility.md.
-
When this applies. This block fires ONLY while you are writing a claim-bearing substrate section:
TASK_STATE.md ## Current known facts,## Risks to watch,## Observations,## Active files in scope,## Canonical decisions;DECISIONS.md ## Locked decisions;IMPLEMENTATION_PLAN.md ## Current gaps,## Risks and mitigations;IMPACT_ANALYSIS.md;EXTERNAL_RESEARCH.md;REFERENCES.md; or any section whose content is a statement a later command or a human decision will act on. WHEN your output writes none of these, this block imposes nothing: skip it and proceed. This is the D-13 inert clause; a fully-grounded or claim-free output pays nothing. -
The unit is the load-bearing claim. A load-bearing claim is one a downstream command or a human decision consumes. A passing aside is not load-bearing; a statement someone will act on is. Apply the rest of this block per load-bearing claim, not per sentence.
-
Ground it or abstain. Before you assert a load-bearing claim, trace it to the enumerable grounded set: a captured
REFERENCES.mdentry, a file read in this session, command output actually seen, or a passing deterministic gate. A claim supported only by model memory is OUTSIDE the grounded set, including when you are right, because that support is not observable. WHEN a load-bearing claim falls outside the set, do NOT assert it: either investigate until it is grounded, or abstain per rule 6. -
Status records provenance, never confidence. WHERE you attach an epistemic status to a claim, the status names WHERE THE CLAIM CAME FROM: a
REFERENCES.mdentry title, a file path plus line, or the gate output it came from. It SHALL NOT express a degree of certainty. Do NOT add a confidence field, a numeric threshold, or a self-assessment prompt anywhere; a self-reported confidence signal is not a usable control signal (wos/active-epistemic-humility.mdPart 1.3). A status whose referent slot is empty is read as UNKNOWN, not as a weak yes. -
Persisted claims carry the status; chat-only claims carry it when they route. Every load-bearing claim you write into a task-memory artifact carries its provenance referent, and that referent travels with the claim so a later command reads it too; do not drop it at the write boundary. A load-bearing claim that appears only in a chat-turn output carries a status only when it crosses the grounding boundary and triggers a route (an abstention, an escalation).
-
Abstain as a routed continuation, never a bare refusal. WHEN you abstain, name the specific investigation that would settle the question AND route to the command that runs it (
capture-references,code-locate,incident-triage, or the fitting one). A withholding that stalls the work is invalid output. Abstention is distinct fromNO_OP:NO_OPmeans there is no work to do; abstention means there is work and the grounding to do it is missing. -
An unfired gate is not evidence. The absence of a fired check does not mean grounding existed. Do not read silence here as a pass.
Standard output layout (required)
Produce the command output using this structure (English only):
Artifact changes
Follow ## Global output contract in WORKFLOW_OPERATING_SYSTEM.md for APPLIED / PROPOSED / SKIP rules. Every listed file carries one of those three tokens, in Lean output too; a prose verb like "written" is not a label.
Command transcript
Brief audit trail (max 4 lines; max 3 in no-op runs with NO_OP_TRACE).
Handoff
Use the adaptive ending format of WORKFLOW_OPERATING_SYSTEM.md ## Global output contract. Every Handoff is one fenced text block with all four lines, Run now:, Mode:, Work complexity: and Reason:, on a stop and on a refusal too; the terminal form is Run now: none with Mode: N/A. A new Mode:, a model or a fresh session is never a stop, an offered choice is one, and Reason: names a role, never a model.
Definition of done (command output)
- All resolved paths are explicit (project + task folder) and naming rules are satisfied.
- All five mandatory files are emitted with the full structure in
Files to generate; missing or partial files invalidate the run (placeholders are required where facts are unknown, but the file itself must exist). ### Artifact changesmarks task-memory writesAPPLIEDin every mode (ADR-0199). A section this command does not own gets a<!-- PROPOSED by <command>: ... -->block for its owner instead (ADR-0034), in Agent mode too.- The
Run now:basename is a real command (commands/<name>.mdorcommands/<name>/SKILL.md; installed mode: the Fhorja inventory); invented names such astask-planorplanare invalid output. SOURCE_OF_TRUTH.mdcarries## Repositoriesexactly when the Multi-repo handling rule requires it, one valid entry per repository, and omits it otherwise.- Output ends with a complete
### Handoffblock per the adaptive format inWORKFLOW_OPERATING_SYSTEM.md## Global output contract. A response that ends after the mandatory file contents without a complete Handoff is invalid output. - Optionally self-check K.2 substrate-write compliance via
bash scripts/verify-substrate-batch.sh <task-folder>(headers, log and orphans in one call, ADR-0110) before finishing; not a gate. - Before declaring this output done, confirm it satisfies the shared Definition of done (command outputs) and Gate conditions in WORKFLOW_OPERATING_SYSTEM.md.
Quality bar: Optimize for strong initialization, low ambiguity, resumability, and strict alignment with the official task repository structure.
04 同仓库更多 Skills
fixture-status
Fixture skill that reads status only. Use when you want a quick status. Do not use when several plans run at once (use fixture-plan-fleet).
fixture-plan
Fixture skill that plans a thing end to end. Use when the plan is missing. Do not use when you only need a status read.
fixture-plan-fleet
Fixture skill, the fleet variant of fixture-plan. Use when several plans run at once. Do not use for a single plan (use fixture-plan).
fixture-status
Fixture skill that reads status only. Use when you want a quick status. Do not use when several plans run at once (use fixture-plan-fleet).
fixture-plan
Fixture skill that plans a thing end to end. Use when the plan is missing. Do not use when you only need a status read (use fixture-status).
fixture-plan-fleet
Fixture skill, the fleet variant of fixture-plan. Use when several plans run at once. Do not use for a single plan (use fixture-plan).