okstra 0.226.0 → 0.228.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/README.md +2 -1
  2. package/dist/cli-registry.mjs +6 -0
  3. package/dist/cli-registry.mjs.map +1 -1
  4. package/dist/commands/execute/wizard.mjs +12 -15
  5. package/dist/commands/execute/wizard.mjs.map +1 -1
  6. package/docs/architecture/storage-model.md +77 -0
  7. package/docs/cli.md +43 -7
  8. package/docs/project-structure-overview.md +13 -3
  9. package/package.json +1 -1
  10. package/runtime/BUILD.json +2 -2
  11. package/runtime/agents/operations/code-review.json +1 -1
  12. package/runtime/prompts/duties/code-reviewer.json +1 -0
  13. package/runtime/prompts/lead/convergence.md +5 -19
  14. package/runtime/prompts/lead/okstra-lead-contract.md +2 -2
  15. package/runtime/prompts/profiles/_coding-conventions-preflight.md +1 -1
  16. package/runtime/prompts/wizard/prompts.ko.json +44 -0
  17. package/runtime/python/okstra_ctl/adapters/verification_inputs.py +22 -0
  18. package/runtime/python/okstra_ctl/adapters/worker_defaults.py +63 -0
  19. package/runtime/python/okstra_ctl/agent/prompt_cli/cli.py +3 -0
  20. package/runtime/python/okstra_ctl/agent/prompt_cli/corrections.py +5 -0
  21. package/runtime/python/okstra_ctl/analysis_packet.py +52 -21
  22. package/runtime/python/okstra_ctl/approval_decisions.py +30 -1
  23. package/runtime/python/okstra_ctl/approved_plan_stage_extract.py +100 -66
  24. package/runtime/python/okstra_ctl/brief_sources.py +162 -44
  25. package/runtime/python/okstra_ctl/code_review_coverage.py +81 -19
  26. package/runtime/python/okstra_ctl/code_review_scope.py +157 -0
  27. package/runtime/python/okstra_ctl/code_review_target.py +115 -55
  28. package/runtime/python/okstra_ctl/conformance.py +9 -3
  29. package/runtime/python/okstra_ctl/correction_cli.py +6 -5
  30. package/runtime/python/okstra_ctl/correction_round.py +1 -1
  31. package/runtime/python/okstra_ctl/design_surfaces.py +51 -19
  32. package/runtime/python/okstra_ctl/domain/worker_defaults.py +106 -0
  33. package/runtime/python/okstra_ctl/file_size_cap.py +56 -6
  34. package/runtime/python/okstra_ctl/final_report_schema.py +37 -30
  35. package/runtime/python/okstra_ctl/fixed_text.py +31 -9
  36. package/runtime/python/okstra_ctl/implementation_direction.py +18 -0
  37. package/runtime/python/okstra_ctl/initial_prompt_materialization.py +59 -21
  38. package/runtime/python/okstra_ctl/json_registry.py +3 -18
  39. package/runtime/python/okstra_ctl/manager_split.py +201 -84
  40. package/runtime/python/okstra_ctl/model_io/references.py +31 -1
  41. package/runtime/python/okstra_ctl/model_io/renderers.py +30 -1
  42. package/runtime/python/okstra_ctl/model_io_cli.py +9 -0
  43. package/runtime/python/okstra_ctl/path_hints.py +13 -1
  44. package/runtime/python/okstra_ctl/paths.py +4 -0
  45. package/runtime/python/okstra_ctl/phases/final_verification/prior_blockers.py +87 -45
  46. package/runtime/python/okstra_ctl/phases/final_verification/profile.md +2 -2
  47. package/runtime/python/okstra_ctl/phases/final_verification/spec.md +10 -2
  48. package/runtime/python/okstra_ctl/phases/final_verification/validation.py +19 -11
  49. package/runtime/python/okstra_ctl/phases/implementation/instructions/_implementation-deliverable.md +2 -2
  50. package/runtime/python/okstra_ctl/phases/implementation/instructions/_implementation-executor.md +4 -2
  51. package/runtime/python/okstra_ctl/phases/implementation/instructions/_implementation-self-check.md +1 -1
  52. package/runtime/python/okstra_ctl/phases/implementation/instructions/_implementation-verifier.md +5 -3
  53. package/runtime/python/okstra_ctl/phases/implementation/spec.md +14 -0
  54. package/runtime/python/okstra_ctl/phases/implementation_option_selection/authoring.py +2 -1
  55. package/runtime/python/okstra_ctl/phases/implementation_option_selection/profile.md +1 -1
  56. package/runtime/python/okstra_ctl/phases/implementation_option_selection/validation.py +53 -37
  57. package/runtime/python/okstra_ctl/phases/implementation_planning/authoring.py +22 -0
  58. package/runtime/python/okstra_ctl/phases/implementation_planning/instructions/plan-body-verification.md +1 -1
  59. package/runtime/python/okstra_ctl/phases/implementation_planning/profile.md +1 -1
  60. package/runtime/python/okstra_ctl/plan_items.py +9 -11
  61. package/runtime/python/okstra_ctl/ports/verification_inputs.py +17 -0
  62. package/runtime/python/okstra_ctl/ports/worker_defaults.py +25 -0
  63. package/runtime/python/okstra_ctl/prior_planning.py +6 -17
  64. package/runtime/python/okstra_ctl/prior_run_summary.py +35 -0
  65. package/runtime/python/okstra_ctl/qa_commands.py +66 -1
  66. package/runtime/python/okstra_ctl/qa_commands_cli.py +67 -0
  67. package/runtime/python/okstra_ctl/qa_procedures.py +235 -0
  68. package/runtime/python/okstra_ctl/registry/verification_inputs_store.py +8 -0
  69. package/runtime/python/okstra_ctl/registry/worker_defaults_store.py +8 -0
  70. package/runtime/python/okstra_ctl/render.py +10 -0
  71. package/runtime/python/okstra_ctl/report_assembly.py +12 -12
  72. package/runtime/python/okstra_ctl/run.py +123 -6
  73. package/runtime/python/okstra_ctl/stage_done.py +5 -4
  74. package/runtime/python/okstra_ctl/verification_input_ref.py +80 -0
  75. package/runtime/python/okstra_ctl/verification_input_types.py +32 -0
  76. package/runtime/python/okstra_ctl/verification_inputs.py +162 -0
  77. package/runtime/python/okstra_ctl/verification_plan.py +116 -0
  78. package/runtime/python/okstra_ctl/wizard/cli.py +16 -4
  79. package/runtime/python/okstra_ctl/wizard/confirmation.py +21 -0
  80. package/runtime/python/okstra_ctl/wizard/engine.py +25 -3
  81. package/runtime/python/okstra_ctl/wizard/ids.py +23 -0
  82. package/runtime/python/okstra_ctl/wizard/render.py +2 -2
  83. package/runtime/python/okstra_ctl/wizard/roles.py +73 -23
  84. package/runtime/python/okstra_ctl/wizard/state.py +55 -14
  85. package/runtime/python/okstra_ctl/wizard/steps_roles.py +5 -3
  86. package/runtime/python/okstra_ctl/wizard/worker_settings.py +334 -0
  87. package/runtime/python/okstra_ctl/worker_defaults.py +135 -0
  88. package/runtime/python/okstra_ctl/worker_prompt_body.py +12 -6
  89. package/runtime/python/okstra_ctl/worker_prompt_contract.py +5 -1
  90. package/runtime/python/okstra_ctl/worker_prompt_headers.py +50 -1
  91. package/runtime/python/okstra_ctl/write_policy.py +33 -18
  92. package/runtime/python/okstra_project/dirs.py +22 -0
  93. package/runtime/python/okstra_project/resolver.py +10 -0
  94. package/runtime/schemas/final-report-v3.0.schema.json +5 -1
  95. package/runtime/skills/okstra-brief-gen/SKILL.md +10 -4
  96. package/runtime/skills/okstra-code-review/SKILL.md +59 -63
  97. package/runtime/skills/okstra-code-review/references/census-rules.md +14 -2
  98. package/runtime/skills/okstra-code-review/references/review-calibration.md +32 -9
  99. package/runtime/skills/okstra-manager/SKILL.md +2 -2
  100. package/runtime/skills/okstra-run/SKILL.md +21 -1
  101. package/runtime/skills/okstra-setup/SKILL.md +2 -0
  102. package/runtime/skills/okstra-setup/references/project-config.md +2 -0
  103. package/runtime/validators/validate-brief.py +21 -5
package/README.md CHANGED
@@ -71,7 +71,7 @@ okstra/ npm package = repo root
71
71
  ├── skills/ public skill Markdown sources (8 user-facing skills)
72
72
  ├── agents/ Claude host execution-adapter definitions
73
73
  ├── prompts/, schemas/, templates/, validators/
74
- ├── docs/ English manuals (architecture, CLI, storage, container, performance)
74
+ ├── docs/ English manuals (architecture, CLI, storage, container, performance); implementation-process.md is Korean
75
75
  ├── tests/, tests-e2e/
76
76
  ├── .claude-plugin/plugin.json secondary skills-CLI channel manifest
77
77
  ├── .github/workflows/ release-please.yml, release.yml
@@ -279,6 +279,7 @@ Major workflow changes added to `main` after 0.8.0:
279
279
  <a id="further-reading"></a>
280
280
  ## 4. Further reading
281
281
 
282
+ - [`docs/implementation-process.md`](docs/implementation-process.md) — maintainer workflow for changing okstra: isolated work, validation, reviewed PRs, correction rounds, user-approved merge, and human acceptance.
282
283
  - [`docs/architecture.md`](docs/architecture.md) — detailed manual covering prompt and team contracts, storage, task-type phase rules, lifecycle, and workflow.
283
284
  - [`docs/cli.md`](docs/cli.md) — complete reference for `okstra.sh` arguments, options, and interactive input flow.
284
285
  - [`RELEASING.md`](RELEASING.md) — version cutting and publication through release-please or the manual fallback.
@@ -100,6 +100,12 @@ export const COMMAND_REGISTRY = [
100
100
  category: "admin",
101
101
  summary: ["Declare project MCP servers; check which providers reach them"],
102
102
  },
103
+ {
104
+ name: "qa",
105
+ python: { target: { module: "okstra_ctl.qa_commands_cli" } },
106
+ category: "admin",
107
+ summary: ["Register, inspect, and check reusable verification procedures"],
108
+ },
103
109
  {
104
110
  name: "worker-dispatch",
105
111
  python: { target: { module: "okstra_ctl.worker_dispatch" }, inject: ["workspace-root", "okstra-bin"] },
@@ -1 +1 @@
1
- {"version":3,"file":"cli-registry.mjs","sourceRoot":"","sources":["../src/cli-registry.mts"],"names":[],"mappings":"AAOA,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B;QACE,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,kCAAkC;QAC1C,MAAM,EAAE,YAAY;QACpB,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE,CAAC,0DAA0D,CAAC;KACtE;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,MAAM,EAAE,kCAAkC;QAC1C,MAAM,EAAE,oBAAoB;QAC5B,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE,CAAC,0DAA0D,CAAC;KACtE;IACD;QACE,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,oCAAoC;QAC5C,MAAM,EAAE,cAAc;QACtB,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE,CAAC,0DAA0D,CAAC;KACtE;IACD;QACE,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,gCAAgC;QACxC,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE,CAAC,qDAAqD,CAAC;KACjE;IACD;QACE,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,iCAAiC;QACzC,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,OAAO;QACjB,OAAO,EAAE;YACP,sEAAsE;SACvE;KAC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IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC;IACpE,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC;IAC5E,OAAO,CAAC,IAAI,EAAE,GAAG,aAAa,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC7C,CAAC;AAED,SAAS,UAAU,CAAC,QAAuC;IACzD,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC;SAC3D,GAAG,CAAC,SAAS,CAAC;SACd,IAAI,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC;AAED,MAAM,CAAC,MAAM,KAAK,GAChB,QAAQ;IACR,qBAAqB;IACrB,UAAU,CAAC,OAAO,CAAC;IACnB,2FAA2F;IAC3F,UAAU,CAAC,eAAe,CAAC;IAC3B,uBAAuB;IACvB,cAAc;IACd,MAAM,CAAC"}
@@ -18,6 +18,7 @@ Subcommands:
18
18
 
19
19
  Usage:
20
20
  okstra wizard new-state-file
21
+ okstra wizard init --worker-settings --state-file <path> --host-runtime <runtime> [--project-root <p> --project-id <id>]
21
22
  okstra wizard init --state-file <path> --project-root <p> --project-id <id> --host-runtime <runtime> \\
22
23
  --entry-mode current-session --available-function <semantic-name>
23
24
  okstra wizard step --state-file <path> (--answer <value> | --no-submit)
@@ -41,7 +42,7 @@ All subcommands emit a single JSON object on stdout. On validation failure
41
42
  // make legitimate directive/base-ref answers unsubmittable. The inline
42
43
  // "--key=value" form lets callers pass any value (including empty)
43
44
  // unambiguously.
44
- const BOOLEAN_FLAGS = new Set(["no-submit"]);
45
+ const BOOLEAN_FLAGS = new Set(["no-submit", "worker-settings"]);
45
46
  function stringFlag(flags, key) {
46
47
  const value = flags[key];
47
48
  return typeof value === "string" ? value : undefined;
@@ -97,11 +98,15 @@ export function buildPythonArgs(sub, flags, workspaceRoot = "") {
97
98
  pyArgs.push("--workspace-root", workspaceRoot);
98
99
  const projectRoot = stringFlag(flags, "project-root");
99
100
  const projectId = stringFlag(flags, "project-id");
100
- if (!projectRoot || !projectId) {
101
+ if (!flags["worker-settings"] && (!projectRoot || !projectId)) {
101
102
  throw new Error("init requires --project-root and --project-id");
102
103
  }
103
- pyArgs.push("--project-root", projectRoot);
104
- pyArgs.push("--project-id", projectId);
104
+ if (flags["worker-settings"])
105
+ pyArgs.push("--worker-settings");
106
+ if (projectRoot)
107
+ pyArgs.push("--project-root", projectRoot);
108
+ if (projectId)
109
+ pyArgs.push("--project-id", projectId);
105
110
  const hostRuntime = stringFlag(flags, "host-runtime");
106
111
  if (hostRuntime) {
107
112
  pyArgs.push("--host-runtime", hostRuntime);
@@ -166,28 +171,20 @@ export async function run(args) {
166
171
  return 0;
167
172
  }
168
173
  let flags;
174
+ let pyArgs;
169
175
  try {
170
176
  flags = parseFlags(rest);
177
+ pyArgs = buildPythonArgs(sub, flags);
171
178
  }
172
179
  catch (err) {
173
180
  const message = err instanceof Error ? err.message : String(err);
174
181
  process.stderr.write(`error: ${message}\n\n${USAGE}`);
175
182
  return 2;
176
183
  }
177
- if (!flags["state-file"]) {
178
- process.stderr.write("error: --state-file is required\n");
179
- return 2;
180
- }
181
- let workspaceRoot = "";
182
184
  if (sub === "init") {
183
- if (!flags["project-root"] || !flags["project-id"]) {
184
- process.stderr.write("error: init requires --project-root and --project-id\n");
185
- return 2;
186
- }
187
185
  const paths = await resolvePaths();
188
- workspaceRoot = paths.workspace;
186
+ pyArgs = buildPythonArgs(sub, flags, paths.workspace);
189
187
  }
190
- const pyArgs = buildPythonArgs(sub, flags, workspaceRoot);
191
188
  const result = await runPythonModule({
192
189
  module: "okstra_ctl.wizard",
193
190
  args: pyArgs,
@@ -1 +1 @@
1
- {"version":3,"file":"wizard.mjs","sour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AAI,WAAW,EAAE,EAC3E,IAAI,EACJ,CAAC,CACF,GAAG,IAAI,CACT,CAAC;QACF,OAAO,CAAC,CAAC;IACX,CAAC;IAED,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpC,OAAO,MAAM,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;AAC7C,CAAC"}
@@ -76,6 +76,83 @@ After the host-native lead takes over, the lead and its assigned workers add the
76
76
  - `runs/implementation/carry/stage-<N>.json` *(implementation only: execution evidence sidecar. Stage-SHARED like `consumers.jsonl` — it lives flat under the task-type run dir, NOT under `stage-<N>/`, because the next stage's carry-in and `backfill_done_from_carry` glob it without knowing the producing run's layout)*
77
77
  - `consumers.jsonl` *(implementation-planning only: backlinks to the impl-run that consumed each stage in this plan; append-only)*
78
78
 
79
+ #### Prepared verification declarations
80
+
81
+ New `implementation` and `final-verification` preparations with a resolved source
82
+ worktree freeze QA declarations and procedure bodies in
83
+ `verification/inputs-<task-type>-<seq>.json`, relative to the resolved run directory.
84
+ The run manifest and compact run contexts retain `verificationInputsPath` and
85
+ `verificationInputsDigest`. Preparation reuses the original digest on a resumed
86
+ run and refuses modified bytes, another run's path, symlinked artifacts, or a
87
+ changed source worktree. A previously published run manifest without these fields
88
+ remains readable and is not retrofitted. Snapshot publication and reference checks
89
+ are covered by `tests/run/test_project_qa_command_gate.py` and
90
+ `tests/application/test_host_orchestration_render.py`.
91
+
92
+ These declarations do not prove that a command ran. Preparation does not require
93
+ future inspection scripts to exist, and execution receipts are a separate contract.
94
+
95
+ `okstra model-io run-input --run-manifest <path>` projects the recorded
96
+ `verificationInputsPath` and `verificationInputsDigest` as fixed scalar lines.
97
+ Absent or non-scalar values display `-`, including older manifests without a
98
+ snapshot reference. This view does not load snapshot contents, verify the digest,
99
+ or reread current project QA settings. Its projection contract is covered by
100
+ `tests/inspect/test_model_io_cli.py`.
101
+
102
+ `okstra model-io verification-input --run-manifest <path>` validates the canonical
103
+ run, its matching snapshot path, schema, cross-field constraints and recorded
104
+ digest through `VerificationInputStore.read` before printing any input content.
105
+ It exposes frozen QA declarations, procedure bodies and optional approved-plan
106
+ fields as fixed name/order/value rows. JSON-quoted scalar values preserve empty
107
+ strings, line breaks, backticks and control characters without expanding an owned
108
+ object for the model to parse. Current project QA settings are not reread.
109
+ `test_verification_input_projection_uses_frozen_validated_declarations` and
110
+ `test_verification_input_projection_rejects_invalid_input_before_output` cover
111
+ this boundary. The projection is declaration input, not execution evidence.
112
+
113
+ Worker prompt headers carry the recorded snapshot's absolute path and digest,
114
+ with the shared declaration-source instruction and the validated text command.
115
+ Workers use that projection rather than opening the snapshot JSON. Tier 2 uses its `qaCommands`,
116
+ including an empty collection. Tier 1 uses `approvedPlan.validationChecklist`
117
+ when that plan is present; otherwise it retains the phase's existing approved
118
+ plan or brief source. Consumer instructions defer to this rule, including the
119
+ executor's project-policy preflight. Older prompts without the header use their
120
+ legacy lookup. Phase, stage and QA ownership policies remain in force.
121
+ Both initial materialization and direct agent-prompt materialization
122
+ use the shared header renderer. It rejects incomplete reference pairs and leaves
123
+ older manifests without a reference unchanged. These headers identify inputs;
124
+ they do not validate the referenced file's contents or prove execution.
125
+ Initial materialization repairs an undispatched prompt missing any of these
126
+ lines through its existing replacement boundary. Already dispatched prompt
127
+ history remains unchanged. Header and recovery contracts are covered by
128
+ `tests/contract/test_prompt_fragment_ownership.py` and
129
+ `tests/run/initial_prompt_materialization/test_recovery.py`.
130
+ `tests/contract/test_docs_runtime_contract.py` checks consumer/spec alignment;
131
+ this instruction check does not establish that a worker executed a command.
132
+
133
+ New preparations pass their selected `.data.json` approved-plan record to snapshot
134
+ storage. These
135
+ snapshots use input schema `2.0` and retain the report path, original byte digest,
136
+ report schema version, validation rows with their phases and stage references,
137
+ and conformance script/capability declarations or exemption reasons. Report
138
+ schemas `2.0` and `3.0` share their authoritative validation-row definitions with
139
+ this reader. Planning audit, accounting, and presentation fields are not copied.
140
+ Conformance declarations are parsed without requiring their scripts to exist.
141
+ The reader continues to accept declaration-only input schema `1.0`; it never
142
+ invents a plan for an existing snapshot. The storage behavior is covered by
143
+ `tests/run/test_project_qa_command_gate.py`.
144
+
145
+ Final verification still accepts legacy Markdown plans. Their preparations keep
146
+ the declaration-only input schema `1.0`; structured plan expectations are not
147
+ inferred from Markdown. This compatibility is covered by
148
+ `tests/handoff/test_fv_stage_arg_threading.py`.
149
+
150
+ When a snapshot includes a plan, preparation compares its stored path with the
151
+ currently selected plan path. A changed or missing selection is rejected without
152
+ rewriting the snapshot. Errors identify the frozen path and distinguish a missing
153
+ structured-plan selection from a different selected path. This input-reuse check reads frozen expectation bytes;
154
+ existing approval and stage-selection gates retain their own plan reads.
155
+
79
156
  #### Direction-selection handoff authorities
80
157
 
81
158
  | Artifact | Content authority | Digest contract |
package/docs/cli.md CHANGED
@@ -546,6 +546,30 @@ Legacy `--lead-model`, `--claude-model`, `--codex-model`, `--antigravity-model`,
546
546
 
547
547
  `okstra model list [--role <role>] [--host <host>] [--json]` prints the catalog without an inference call. `okstra model default set|unset <role> ... --scope project|global` writes `modelDefaults` to `.okstra/project.json` or `~/.okstra/config.json`.
548
548
 
549
+ ### Saved worker rosters
550
+
551
+ Ask `/okstra-run` to configure worker settings, or say `okstra-run worker settings`. This opens a separate settings flow rather than starting a task. Select global defaults or project overrides, edit the roles you need, then review and save the changes together. Cancel leaves configuration unchanged. Global settings also work outside a registered project.
552
+
553
+ The settings flow writes `workerDefaults` into the existing configuration files: `~/.okstra/config.json` for global settings (respecting `OKSTRA_HOME`), or `<PROJECT_ROOT>/.okstra/project.json` for project overrides.
554
+
555
+ ```json
556
+ {
557
+ "workerDefaults": {
558
+ "analyser": ["claude/opus", "codex/gpt-6.1-sol"],
559
+ "critic": [],
560
+ "report-writer": ["claude/sonnet"]
561
+ }
562
+ }
563
+ ```
564
+
565
+ Each model is one worker. An empty array means zero workers for an optional role. A missing project role inherits the global role; a project array replaces the entire global array. Removing a project override restores inheritance. The editor validates the shared count range across phases where the role is static; for example, verifier defaults allow 1–3 workers, while a particular final-verification run may select up to 5.
566
+
567
+ A valid saved roster skips that role's launch picker. Unconfigured or unavailable roles alone need a selection. The final confirmation shows models, count, and source, and Edit changes only the current run. Explicit role flags and explicitly reused previous-run selections take precedence over saved settings. If either count or model is explicit for a role, saved roster values are not mixed into that role. Existing `modelDefaults` remain candidate preferences.
568
+
569
+ These settings apply to static worker roles. The leader remains host-controlled, and dynamic verifiers keep their source participant's assignment. The runtime uses the same default resolver for the wizard and direct preparation.
570
+
571
+ For host integrations, initialize the settings state with `okstra wizard init --worker-settings --state-file <path> --host-runtime <host>`. Project flags are optional in this mode. Relay the returned prompts using the normal `step` command. Settings initialization returns the host's `relayContract` path; `done` ends settings and never authorizes task launch.
572
+
549
573
  ### `--lead-provider`
550
574
 
551
575
  Compatibility assertion for previously recorded invocations. The value must match the host-native provider: `claude` on Claude Code, `codex` on Codex, and `antigravity` on Antigravity. It is not an independent lead selector. Other providers belong in the worker roster and run through CLI wrappers; preparation rejects a cross-provider lead rather than recording one model and silently running another.
@@ -878,7 +902,7 @@ The `okstra` Node CLI (`bin/okstra`) provides both installer/admin commands and
878
902
  | `okstra convergence validate --state <path> --kind <working\|final>` | Validate replayable working state or a terminal final state |
879
903
  | `okstra convergence example --kind <groups\|round-results\|critic-results\|coverage-batch\|acceptance-batch>` | Print one deterministic valid input example as JSON. Each kind feeds one command: `groups` → `seed --groups`, `round-results` → `apply-round --results`, `coverage-batch` → `apply-critic-gaps --results`, `acceptance-batch` → `apply-acceptance-critic --results`. `critic-results` feeds nothing — it is the critic worker's own result document, and feeding it to `apply-critic-gaps` is rejected by design; that reducer takes the coverage batch the lead assembles from those candidates plus each analyser's vote, which is what `--kind coverage-batch` prints |
880
904
  | `okstra group-context init --project-root <root> --task-group <group>` | Write the task-group context skeleton `.okstra/briefs/<task-group>/group-context.md` from `templates/reports/group-context.template.md` and print the sections to fill. Exits 2 when the file already has human sections; a file okstra created with only its memory region gets the human skeleton inserted above that region. The filled document is validated by `validators/validate-brief.py` (frontmatter `type: group-context`), copied by preparation into `instruction-set/task-group-context.md`, and carried in the analysis packet's `## Task-Group Context` section ahead of the brief extract; the trailing `## Task Memory` region between `<!-- okstra:task-memory:begin -->` / `end` markers is written by `report-finalize` (`record-group-memory`) and reaches sibling tasks as `## Task-Group Memory`. Preparation refuses a file that still carries a `<...>` placeholder line, and a task-group without the file prepares as before |
881
- | `okstra brief-sources attach --project-root <root> --brief <path>` | Upgrade a brief in place: for every git-untracked document under the project root (`.md`, `.markdown`, `.txt`, `.rst`, `.adoc`, outside `.okstra/`) that the brief names outside `## Source Material` without a `### Source N — file` entry, append one at the end of Source Material with `format: by-reference` and a project-relative `ref`. No other line changes, so end-state ids, External Gates and hand edits stay. Every later prepare copies those files read-only into the analysis packet's `## Cited Local Documents`. `validators/validate-brief.py` refuses such a brief until the entry exists (a task worktree is a checkout and lacks the file); prints `nothing to attach` when none is missing, and exits 2 when the brief has no Source Material section |
905
+ | `okstra brief-sources attach --project-root <root> --brief <path>` | Upgrade a brief in place: for every git-untracked document under the project root (`.md`, `.markdown`, `.txt`, `.rst`, `.adoc`, outside `.okstra/`) that the brief names outside `## Source Material` without a `### Source N — file` entry, append one at the end of Source Material with `format: by-reference` and a project-relative `ref`. No other line changes, so end-state ids, External Gates and hand edits stay. Every later prepare copies those files read-only into the analysis packet's `## Cited Local Documents`. `validators/validate-brief.py` refuses such a brief until the entry exists (a task worktree is a checkout and lacks the file); prints `nothing to attach` when none is missing, and exits 2 without writing when the brief has no Source Material section, cannot be read, cites a missing document over 200,000 bytes (prepare does not copy one that large; capture the cited part as-is instead), or git fails inside the project's work tree |
882
906
  | `okstra plan-items extract (--narrative <report-narrative.md>\|--data <historical-data.json>) --output <items.json>` | Deterministically extract the complete implementation-planning `P-*` queue. Contract v3 reads the report-writer narrative before publication; `--data` is the historical v2 reader. |
883
907
  | `okstra plan-items validate (--narrative <report-narrative.md>\|--data <historical-data.json>) --items <items.json>` | Require the persisted `P-*` queue to match a fresh deterministic extraction exactly. |
884
908
  | `okstra plan-items derivations --data <data.json> --response <user-response sidecar> [--clarification C-NNN]` | List the plan statements an answered clarification may have falsified. Extracts the symbols, paths, and ids the answer names (backticked spans plus `R-001` / `DEV-10174`-style ids) and reports every string in the plan body that mentions one, as a JSON pointer plus excerpt. Advisory: it says where a decision's subject is mentioned, never which mentions are now wrong — the supersession rule (`prompts/profiles/_common-contract.md`) requires the author to enumerate before editing, and this supplies the enumeration |
@@ -893,6 +917,7 @@ The `okstra` Node CLI (`bin/okstra`) provides both installer/admin commands and
893
917
  | `okstra config <get\|set\|unset\|show> [key] [value] [--scope project\|global\|all]` | Manage persistent settings such as `pr-template-path` with atomic JSON writes |
894
918
  | `okstra memory <add\|list\|search\|show\|archive>` | Manage global conversation memory in `~/.okstra/memory-book`, a user-home store separate from project `.okstra/` and the CLI basis of the `save this in okstra` natural-language skill. `add --source-key <key>` records the source an entry stands for: adding the same key again returns the stored entry (`created: false`) instead of a second one, also when two adds race, and with `--json` a likely-secret refusal is printed as `{ ok: false, refused: "secret", secrets, message }`. An add without `--source-key` is unchanged |
895
919
  | `okstra chat <rooms\|create\|join\|members\|send\|unread\|inbox\|log\|ack>` | Global rooms under `~/.okstra/chat`. Join takes an explicit `--name`. Send takes exactly one of `--to` (`all` or a member; may equal `--as`) or `--reply-to` (an id in that room), and exactly one of `--body` or `--body-file`; a body may span several lines. A reply inherits `to` from the parent (`all` stays `all`, otherwise the parent's `from`). Unread is the inbox after the read cursor minus messages the participant sent; it does not move the cursor. `inbox` and `log` keep those arrivals, including after ack. Rows are `id @from YYYY-MM-DD HH:MM body`; a reply inserts `↑parentId` after the time; the second and later lines of a body follow on rows indented by two spaces. `ack --through` rejects an id behind the current cursor. Room and display names `.` and `..` are reserved. A `.lock` left by a dead process (pid recorded in the file) or older than 5 s is reclaimed. CLI basis of the `okstra-chat` skill. |
920
+ | `okstra model-io verification-input --run-manifest <path>` | Validate the canonical run and its recorded frozen verification-input path, schema, cross-field constraints and byte digest before emitting QA declarations, procedure bodies and optional approved-plan fields as fixed text. Scalar values use JSON quoting to preserve command characters and line breaks. Current project settings are not reread. Errors return exit 2 without a partial input view. This is declaration input, not execution evidence. |
896
921
  | `okstra model-io active-context-input --project-root <dir> --run-manifest <path>` | Resolve the prior implementation-planning active context only through the current project and run authority, then emit fixed fields such as the executor base ref. Caller-supplied active-context paths are not accepted. |
897
922
  | `okstra convergence prepare-groups --run-manifest <path> --input <grouping.md> [--correction-round <N>]` | Parse fixed grouping Markdown, validate distinct per-worker evidence and group semantics against the run authority, then publish the schema-valid groups artifact at the run-owned path. |
898
923
  | `okstra manager <init\|discover-projects\|new\|task\|list\|remove\|view> [--json]` | Public CLI for grouping cross-project okstra tasks into manager-owned context. The default is purpose-specific fixed text for model use; `--json` preserves the machine contract and exit codes. `new project --project-root` accepts only existing directories and performs setup-equivalent registration only if `.okstra/project.json` is absent. `list managers`, `list projects --manager-id <id>` and `list tasks --manager-id <id>` enumerate manager state; `view --manager-id <id>` writes `~/.okstra/managers/<id>/view/index.html` and prints its path and `file://` URL. `task split --plan <json>` writes one validated brief with a `## Project Scope` section into each project an issue is assigned to and registers those children; `task run` then passes `--task-brief`. `task run` re-reads the target child's state from its project and refuses a child that is already done there, naming its last phase and report, unless `--allow-completed` is given; `task status` prints `Synced at` and `Sync age` and marks children whose task manifest changed after that sync. For a child whose task type is `discussion`, `task sync` records a `discussion` block read from the discussion record without writing to it — state (`draft`, `completed`, or `unknown` when the record cannot be read), phase, pending questions, revisions with their change reasons, and each follow-up's pinned revision and impact-review state, re-read from the follow-up's brief — and `task status` counts the child under `discussion`, never under `done`. `task run` for a child without a registered brief takes the brief that `okstra discussion follow-up-brief` wrote for it, found in the last-synced links of a discussion child of the same manager task. `list task-groups` lists groups including empty ones; `task update` edits a task's objective, common brief or progress mode; `remove project`, `remove task`, `remove task-group` and `task remove-child` print their targets and delete manager files only with `--confirm`, and `remove project` keeps the project's children marked unlinked. |
@@ -915,9 +940,9 @@ The `okstra` Node CLI (`bin/okstra`) provides both installer/admin commands and
915
940
  | `okstra stage-map <task-key> [--cwd <dir>\|--project <dir>]` | Dump the task's implementation-planning Stage Map as JSON: `{ ok, taskKey, taskRoot, state, sourcePlanPath, stages:[{stage_number,title,depends_on,step_count,cancelled}], doneStages:[int] }`. Each stage row carries `cancelled: true` when the plan marks that Stage Map row `status: cancelled`; such a stage is never selected, cannot be closed, and is left out of whole-task final verification and release handoff. `sourcePlanPath` is the task's latest implementation-planning report — the authority on which stages exist, so a plan amendment's added stages are selectable as soon as the amended plan lands. `state` is `ready` for a resolved source and `missing` when no Stage Map exists; a corrupt source returns a structured non-zero error instead of silently selecting another report. `doneStages` is read from the implementation-planning stage consumer state (with carry recovery). This is the read-side source `/okstra-schedule-gen [task-group]` uses to derive selectable unfinished stages and their completed dependency closure |
916
941
  | `okstra stage-close <task-key> --stage <N> --from-commit <sha> [--supersede-failed <reason>] [--cwd <dir>\|--project <dir>]` | Record the `done` stage-consumer row an implementation run would have written, for a stage whose work is already committed but which never registered as done — the run ended before writing its carry sidecar, and `backfill_done_from_carry` recovers only from that file. Without it `stage-map` reports `doneStages: []` while the branch carries the commit, the next plan re-describes the stage, and every RED expectation it produces is unreachable. Refuses unless the Stage Map has that stage and does not mark it cancelled, no `done`/`failed` row exists for it, `--from-commit` resolves to a commit in the project repo, and the stage's conformance gate permits progress — the same `decide_conformance_gate` the run validator uses, so a stage closed here is not one the validator would have blocked. `--supersede-failed <reason>` closes a stage whose last row is `failed` under the same checks, for a failure that no longer applies (the checks ran in the wrong environment and the commit needs no product edit); the `done` row records `superseded_status`, the reason, the latest plan path and the conformance verdict. Closing also moves the `stage-<N>-exit` tag and releases the stage reservation, exactly as a normal stage completion does. Emits `{ ok, taskKey, taskRoot, stage, headCommit, conformance, consumersPath, supersededFailed, sourcePlanPath }` |
917
942
  | `okstra stage-reopen <task-key> --stage <N> --reason <why> [--evidence <path>] [--cwd <dir>\|--project <dir>]` | Append a `failed` stage-consumer row after a stage's `done` row, so `/okstra-run` offers that stage again for a fix run and its dependents stop branching from the withdrawn head. Use it when a later verification found a defect in a done stage — a single-stage final-verification that ended `blocked` and points at `implementation` is the case the wizard otherwise refuses. The row records the reason, `reopened_by: stage-reopen`, the head it withdraws and, with `--evidence`, the project-relative report path. Refuses a stage that is not in the latest Stage Map, is cancelled, or whose last row is not `done`. Emits `{ ok, taskKey, stage, headCommit, reason, evidencePath, consumersPath }` |
918
- | `okstra correction prompt --run-manifest <path> --round <N> --role <executor\|verifier> --base <sha> [--stage-base <sha>] [--finding <F-id> ...]` | Print the instruction body for one correction-round prompt of an implementation run, built from the convergence record that preceded the round (the run's initial one for round 1, round N-1's `convergence-correction-r<N-1>-…` re-convergence for round N): the findings to fix, the stage HEAD before the round, and the executor's or verifiers' rules. `--stage-base` adds one `FILE-SIZE:<path>` finding per file that `<stage-base>..<base>` leaves over the 400-line limit (advisory 300-line lines are not added); a round needs at least one finding from either source. Pass it to `okstra agent-prompt materialize --dispatch-kind correction-r<N>`. At most 2 rounds; exit 1 on an unknown finding or round. |
919
- | `okstra correction file-size --base <stage-base> [--head <rev>] [--repo <dir>]` | Check a stage diff against the file-size limit (400 lines, blocking) and target (300 lines, advisory). A threshold is broken by a file the diff adds over it, takes past it, or grows while already over it. Prints `FILE-SIZE:<path>:401 <before>-><after> lines (<kind>; limit 400)` per limit breach and `FILE-SIZE-ADVISORY:<path>:301 … (<kind>; target 300)` per file that breaks only the target, then `QA-RESULT: PASS\|FAIL`; only a limit breach fails. Lines are physical lines. Only `.py`, `.ts`, `.tsx`, `.js`, `.jsx`, `.mjs`, `.kt`, `.kts`, `.rs` and `.java` files are checked; `.okstra`, `node_modules`, `vendor`, `fixtures`, `__fixtures__`, `__snapshots__`, `generated` and `__generated__` directories, `*.min.*` files, and files whose first 5 lines say `@generated` or `do not edit` are exempt. Writes nothing. Exit 1 on FAIL, 2 when git cannot read the range. |
920
- | `okstra stage-done <task-key> --stage <N> --carry <carry.json> --report <path> [--cwd <dir>\|--project <dir>]` | Settle an implementation stage whose verdict is not FAIL: write the executor's Stage Carry Evidence JSON to the flat `runs/implementation/carry/stage-<N>.json`, then append the `done` row with that carry path, the report path relative to its run directory, the carry head and the completion time. A reopened stage's previous sidecar moves to `carry/superseded/stage-<N>-from-<task-type>-<seq>.json`. Refuses a carry for another stage, a failed carry, a stage already done at another head, and a carry whose `stageCommitRange` diff breaks the 400-line file-size limit (`okstra correction file-size`; the refusal names the `--stage-base` for a correction round); a repeat with the same carry writes nothing new. Prints JSON with `fileSizeCap` (`pass: <range>` or `not checked: <reason>`); exit 1 on a refusal. |
943
+ | `okstra correction prompt --run-manifest <path> --round <N> --role <executor\|verifier> --base <sha> [--stage-base <sha>] [--finding <F-id> ...]` | Print the instruction body for one correction-round prompt of an implementation run, built from the convergence record that preceded the round (the run's initial one for round 1, round N-1's `convergence-correction-r<N-1>-…` re-convergence for round N): the findings to fix, the stage HEAD before the round, and the executor's or verifiers' rules. `--stage-base` adds one `FILE-SIZE:<path>` finding per file that `<stage-base>..<base>` leaves over the 500-line limit (advisory 300-line lines are not added); a round needs at least one finding from either source. Pass it to `okstra agent-prompt materialize --dispatch-kind correction-r<N>`. At most 2 rounds; exit 1 on an unknown finding or round. |
944
+ | `okstra correction file-size --base <stage-base> [--head <rev>] [--repo <dir>]` | Check a stage diff against the file-size limit (500 lines, blocking) and target (300 lines, advisory). A threshold is broken by a file the diff adds over it or takes past it; the target is also broken by a file the diff grows while already over it, including a file already over the limit at the stage base, which the limit does not block. Prints `FILE-SIZE:<path>:501 <before>-><after> lines (<kind>; limit 500)` per limit breach and `FILE-SIZE-ADVISORY:<path>:301 … (<kind>; target 300)` per file that breaks only the target, then `QA-RESULT: PASS\|FAIL`; only a limit breach fails. Lines are physical lines. Only `.py`, `.ts`, `.tsx`, `.js`, `.jsx`, `.mjs`, `.kt`, `.kts`, `.rs` and `.java` files are checked; `.okstra`, `node_modules`, `vendor`, `fixtures`, `__fixtures__`, `__snapshots__`, `generated` and `__generated__` directories, `*.min.*` files, and files whose first 5 lines say `@generated` or `do not edit` are exempt. Writes nothing. Exit 1 on FAIL, 2 when git cannot read the range. |
945
+ | `okstra stage-done <task-key> --stage <N> --carry <carry.json> --report <path> [--cwd <dir>\|--project <dir>]` | Settle an implementation stage whose verdict is not FAIL: write the executor's Stage Carry Evidence JSON to the flat `runs/implementation/carry/stage-<N>.json`, then append the `done` row with that carry path, the report path relative to its run directory, the carry head and the completion time. A reopened stage's previous sidecar moves to `carry/superseded/stage-<N>-from-<task-type>-<seq>.json`. Refuses a carry for another stage, a failed carry, a stage already done at another head, and a carry whose `stageCommitRange` diff breaks the 500-line file-size limit (`okstra correction file-size`; the refusal names the `--stage-base` for a correction round); a repeat with the same carry writes nothing new. Prints JSON with `fileSizeCap` (`pass: <range>` or `not checked: <reason>`); exit 1 on a refusal. |
921
946
  | `okstra stage-fail <task-key> --stage <N> --head-commit <sha> --report <path> --reason <why> [--cwd <dir>\|--project <dir>]` | Append the `failed` stage-consumer row an implementation run writes when its verdict is FAIL or no verifier returned a result. Dependents stay blocked and the stage becomes selectable for a fix run. Refuses a stage missing from or cancelled in the latest Stage Map, or already `done` (use `stage-reopen`). Prints JSON; exit 1 on a refusal. |
922
947
  | `okstra discussion <confirm-subject\|ask\|address\|answer\|decide> <task-key> … --run-manifest <path>` / `okstra discussion draft <task-key>` | The facilitator's only way to write a discussion task's record under `<task-root>/discussion/`: the confirmed subject and question, questions for the user (`ask`), the user's question to one worker (`address`), answers and user decisions. `--run-manifest` must be a discussion run manifest of the same task; authors are `leader` or a worker of that run, and only a question's addressee answers it. A resent record returns the stored one (`created: false`). Every write rebuilds `draft.json`; `draft` prints it as the fixed text every participant reads. Write commands emit `{ ok, created, record, pendingForUser, pendingForParticipants }`. `add-material --kind <evidence|alternative>` records new evidence or a new alternative, and `status` prints the phase, the next question for the user, unrecovered failures and remaining disagreements |
923
948
  | `okstra discussion <cycle-open\|settle\|cycle-close> <task-key> --run-manifest <path>` / `okstra discussion recover <task-key> --failure <X-NNNN> --choice <retry\|replace\|reduce> --run-manifest <path>` / `okstra discussion <question-prompt\|collect-answer> <task-key> --question <Q-NNNN> --run-manifest <path>` | The research, refutation and question cycle of a discussion, one research cycle per run. `cycle-open` writes the research instruction from the record and records its input references (start inputs, subject, answers, materials), or returns why nothing is dispatched: `await-user`, `await-participant`, `await-recovery`, `present-options` (the references equal the last closed cycle's) or `prepare-run` (the next cycle needs a run prepared with `--discussion-start <task-key>`). `settle` records each analyser's `initial` result and each failure the dispatcher left after its retry loop (`start` when the batch could not launch, `after-retries` otherwise); `recover` records the user's choice for one failure. `cycle-close` validates the run's convergence final state and imports its findings as claims with their origin worker and verdicts. `question-prompt` writes one direct question's instruction and `agent-prompt materialize --batch` file (dispatch kind `discussion-question`), and `collect-answer` records the addressee's whole result as the answer |
@@ -925,8 +950,9 @@ The `okstra` Node CLI (`bin/okstra`) provides both installer/admin commands and
925
950
  | `okstra discussion follow-up-brief <task-key> --revision <id> --follow-up <label> --target-task <task-key> [--target-project-root <dir>] [--end-state <N-NNNN>=<EB\|PB\|EO>[:<how>]]… [--replace]` / `okstra discussion links <task-key>` / `okstra discussion impact <task-key> --from <id> --to <id> [--follow-up <label>]` / `okstra discussion apply <task-key> --revision <latest id> --target-task <task-key> --choice <adopt\|keep> [--end-state …]… [--replace]` | Follow-up tasks of a published revision, run outside a discussion run at the user's request. `follow-up-brief` writes `<target-project-root>/.okstra/briefs/<task-group>/<task-id>-<label>.md` from the revision's common requirements and those of `--follow-up`, through `validators/validate-brief.py`; it recommends `requirements-discovery` and pins the discussion, revision id, content digest and requirement ids in the frontmatter, which prepare copies into the run inputs as `discussionRevisionRef`. `--end-state` maps a requirement to an `EB`/`PB`/`EO` item; an observation method the revision does not carry leaves the brief `reporter-confirmations: pending` with an `intent-check:` row for the user. The brief is written before the link in `<task-root>/discussion/links.jsonl`, so a resend after an interruption records the link once; a brief this command did not write last needs `--replace`. `links` re-reads every target (`current`, `needs-impact-review`, `kept`, `amendment-pending`, or `unknown` when the target cannot be read), `impact` prints the changes between two revisions, and `apply` records the user's choice for one target and the latest revision: `keep`, or `adopt`, which rewrites the brief of a target without an implementation-planning plan and routes a target with a plan to the plan amendment path without touching its plan, brief or source. A resent choice returns the stored record. `okstra discussion complete-amendment <task-key> --revision <id> --target-task <task-key> [--end-state …]… [--replace]` finishes a routed adoption once the target has an implementation-planning report newer than the one it had at routing whose `frontmatter.approved` is `true`: it rewrites the brief to pin the revision and records the plan report it relied on, and `links` then shows the target `current`. Without such a report it is refused and names what is missing, and `links` shows the same in the target's `next`; it never edits or approves a plan |
926
951
  | `okstra incremental-scope <args…>` | Decide re-verify vs carry-forward scope for an `implementation-planning` clarification re-run. Thin shim into `scripts/okstra_ctl/incremental_scope.py` (deterministic): it reads the dependency graph from the prior run `data.json`'s `implementationPlanning.stageMap` and returns `mode:"incremental"` only when the base-ref SHA is unchanged and the affected stages' `downstream_stage_closure` covers at most half of all stages; `--full-reason` (selected option / Stage Map / approach) still forces `mode:"full"`. An answered `C-NNN` that traces to no stage returns `mode:"unresolved"` rather than full — pass `--impacted` with the stage numbers or `--full-reason`. `--run-manifest <path>` is required for a decision (not for `--preview`): the same decision is written to the record that manifest names in `incrementalDecisionPath`, so the report writer's authoring contract and `okstra incremental-carry` read it instead of CSVs the lead re-typed. `mode: "unresolved"` is a question back to the lead and is deliberately not recorded. `--preview --prev-data <path> --answered-clarifications <csv>` runs the link half alone — no base SHA, no side effects — and prints `{wouldForceFull, unlinkedIds, reason}`; unlinked ids set `wouldForceFull: false` and fill `unlinkedIds` |
927
952
  | `okstra incremental-carry <args…>` | Merge carried-forward plan-item verdicts into an incremental re-run. Contract v3 takes `--prev-data`, `--cur-narrative`, and the convergence-owned `--state`; it verifies carried stage rows and writes only `--out-state`, tagging copied verdicts with `carriedForwardFromSeq`. Pass `--decision <incrementalDecisionPath>` for the two stage sets — the same record the report writer's authoring contract was built from — instead of `--carry-stages` / `--reverify-stages`, which the lead re-typed off stdout; the two forms cannot be combined, and a record whose `mode` is not `incremental` is refused. Unchanged `P-Val-*` / `P-Req-*` / `P-Rb-*` rows whose extract hash still matches are carried the same way, and the sibling `plan-items-*.json` `dispatchQueue` is rewritten to match. The historical v2 `--cur-data --out` form remains readable. Ownership, scope, item, or schema drift raises `CarryError` and forces a full fallback. |
928
- | `okstra code-review target --task-key <k> --stage <N> [--project-root <dir>] [--cwd <dir>] [--json]` / `okstra code-review target --branch <name> [--base <ref>] [--date <YYYY-MM-DD>] [--project-root <dir>] [--cwd <dir>] [--json]` | Resolve what a code review reads and where its result file goes. Output is always JSON, so `--json` only makes that explicit. `--project-root` and `--cwd` are shared pre-dispatch arguments and apply to both modes; `--cwd` is only consulted when `--project-root` is absent. Both modes return `{ ok, projectRoot, mode, worktreePath, branch, baseCommit, headCommit, reviewPath, round }`; stage mode additionally returns `taskKey`, `taskRoot`, and `stage`. Stage mode takes the diff base from the `base_ref` recorded on that stage's worktree-registry row when it was provisioned — not from a rule re-applied at review time — and names the result `.okstra/tasks/<task-group>/<task-id>/code-reviews/stage-<NN>.md`, where a re-review of the same stage becomes `-r2`, `-r3`, … (the `round` field). Only a legacy row provisioned before `base_ref` was recorded falls back to re-deriving the base through `stage_targets`, and a failure there is reported as `stage_base_unresolved`. `worktreePath` comes back empty whenever the stage worktree is not usable as a live checkout — the registry row is no longer `active` (whole-task final-verification released it), the row never carried a path, or the recorded directory is gone — and the review then reads the `branch` ref instead. Branch mode uses `--base` when given, otherwise the merge-base with the default branch (`refs/remotes/origin/HEAD`, else `main`/`master`), and names the result `.project-docs/code-reviews/<branch>/<YYYY-MM-DD>-<NN>.md`, where `<NN>` (the `round` field) is the next sequence number for that date — the highest already on disk plus one. Read-only: it resolves paths and creates no directory and no file, so the review directory does not exist until the caller writes the report. Backend for the okstra-code-review skill |
929
- | `okstra code-review check-coverage --project-root <dir> --census <table-path> --completion <completion-path> [--completion <gap-fill-path> ...]` | Audits compact grouped-cell verdicts from one reviewer's verified standalone completions. Rejects changed model assignments or invalid evidence (exit 2); lists missing/unknown IDs (exit 1); complete usable coverage exits 0. The census has `## Rules` (Rule, Group, Reference) and `## Cells` (Cell, Target, Group) tables. Each result row explicitly accounts for the group's rules through Checked, N/A and Findings, with one existing target-source path:line. Checked general G2/G3/G5 criteria also require source-cited observations after ` :: ` in Evidence. Missing rules or observations are reported without expanding a target-by-bullet table; the lead audits selected references and semantic truth. |
953
+ | `okstra code-review target --task-key <k> --stage <N> [--project-root <dir>] [--cwd <dir>] [--json]` / `okstra code-review target --branch <name> --base <ref> [--date <YYYY-MM-DD>] [--project-root <dir>] [--cwd <dir>] [--json]` | Resolve what a code review reads and where its result file goes. Output is always JSON, so `--json` only makes that explicit. `--project-root` and `--cwd` are shared pre-dispatch arguments and apply to both modes; `--cwd` is only consulted when `--project-root` is absent. Both modes return `{ ok, projectRoot, mode, worktreePath, branch, baseCommit, headCommit, reviewPath, round }`; stage mode additionally returns `taskKey`, `taskRoot`, and `stage`. Stage mode takes the diff base from the `base_ref` recorded on that stage's worktree-registry row when it was provisioned — not from a rule re-applied at review time — and names the result `.okstra/tasks/<task-group>/<task-id>/code-reviews/stage-<NN>.md`, where a re-review of the same stage becomes `-r2`, `-r3`, … (the `round` field). Only a legacy row provisioned before `base_ref` was recorded falls back to re-deriving the base through `stage_targets`, and a failure there is reported as `stage_base_unresolved`. `worktreePath` comes back empty whenever the stage worktree is not usable as a live checkout — the registry row is no longer `active` (whole-task final-verification released it), the row never carried a path, or the recorded directory is gone — and the review then reads the `branch` ref instead. Branch mode requires an explicit `--base` branch or commit, rejects invalid refs, freezes it as a commit, leaves `worktreePath` empty for fixed-head reads, and names the result `.project-docs/code-reviews/<branch>/<YYYY-MM-DD>-<NN>.md`, where `<NN>` (the `round` field) is the next sequence number for that date — the highest already on disk plus one. Read-only: it resolves paths and creates no directory and no file, so the review directory does not exist until the caller writes the report. Backend for the okstra-code-review skill |
954
+ | `okstra code-review check-coverage --project-root <dir> --head <headCommit> --census <table-path> --completion <completion-path> [--completion <gap-fill-path> ...]` | Audits compact grouped-cell verdicts from one reviewer's verified standalone completions. Rejects changed model assignments, invalid evidence or a declared Review head baseline different from the requested head (exit 2); lists missing/unknown IDs (exit 1); complete usable coverage exits 0. The census has `## Rules` (Rule, Group, Reference) and `## Cells` (Cell, Target, Group) tables. Each result row explicitly accounts for the group's rules through Checked, N/A and Findings, with one target-source path:line that exists at `--head`; evidence files are read from that commit, not the working tree. Checked general G2/G3/G5 criteria also require source-cited observations after ` :: ` in Evidence. Missing rules or observations are reported without expanding a target-by-bullet table; the lead audits selected references and semantic truth. |
955
+ | `okstra code-review scope --project-root <dir> --base <baseCommit> --head <headCommit> --census <path> --policy <path> [--policy <path> ...] [--previous-head <priorHead> --previous-census <path> --completion <path> ...]` | Read-only scope proposal per reviewer. Fingerprints catalog resources and all supplied policy/calibration/instruction sources; prints the baseline, Recheck IDs and Carry candidates. Verified prior completion baselines and dependency inventories permit candidates only for unchanged clean/N/A cells with identical identities. Prior findings, changed dependencies and missing inventories reopen cells; changed rules/base, rewritten history or unmapped changed files require full inspection. Invalid input/evidence exits 2. Pass the skill, calibration, duty and applied project instructions as policies. Current reviewers independently validate the impact closure and publish full current verdicts through the existing completion boundary; candidate status never proves a clean verdict or dependency completeness. |
930
956
  | `okstra set-work-status <token> <todo\|in-progress\|blocked\|done> [--note <text> \| --note-file <path>] [--task-group <g>] [--project-root <dir>]` | Update user-managed `workStatus`. Existing briefs can be registered without a run. Direct completion requires a work and verification summary; use a UTF-8 note file for longer results. Records are shared through group context, inspect, and subsequent runs without claiming cross-verification. Ambiguous IDs return `matches[]`. A `share` failure with `statusRecorded:true` can be retried with the same command. |
931
957
  | `okstra worktree-lookup <project-id> <task-group> <task-id>` | Return the `worktree_registry.lookup` result: reserved path, branch, base ref, and current status |
932
958
  | `okstra worktree-status [--path <dir>] [--check-clean]` | Answer "is this worktree clean?" over source paths only, excluding what okstra provisioned there — `.okstra`, the configured sync entries (`.project-docs`, `.claude`, …), and any nested stage worktree. A bare `git status --porcelain` in a task worktree is never empty for that reason, so a plan step asserting a clean tree with one fails on okstra's scaffolding instead of on the stage's own work; this is the same gate `handoff` and stage integration use. Output is JSON `{ ok, path, clean, entries, excluded }` where `entries` holds the `git status --short` rows that made it dirty. Exit code is 0 regardless unless `--check-clean` is given, which exits 1 on a dirty tree so it can stand as a shell assertion (`okstra worktree-status --check-clean`). okstra writes `stage-<N>-exit` itself when it settles the stage, so a plan step must not tag. A path outside a git work tree exits 2 rather than reporting a clean tree |
@@ -945,7 +971,7 @@ The `okstra` Node CLI (`bin/okstra`) provides both installer/admin commands and
945
971
  | `okstra agent-activity append --project-root <dir> --run-manifest <path> --kind <kind> --agent <assigned-id> (--summary <text>\|--summary-file <markdown>) --outcome <outcome> [--plan-item-id <current-id>]… [--command <text> --command-cwd <dir> --command-exit-code <n> --command-output-file <markdown>] [--request-ref <returned-ref>]` | Append one structured activity after checking the agent against this run's role assignments and every plan item against its current convergence state. Python returns an `activityRequestRef`; supply only that returned value with `--request-ref` to retry idempotently. A new call without it remains a distinct activity even with identical contents. Legacy JSON command records remain automation compatibility only. |
946
972
  | `okstra agent-activity project --project-root <dir> --run-manifest <path> --data <data.json>` | Project this run's canonical activity events into `agentActivity[]`. The command preserves event order, rejects duplicate or decreasing activity IDs, and replaces no other report field. A historical manifest without `activityContractVersion: 1` returns an empty projection and leaves data.json unchanged. Normal Phase 7 execution reaches this behavior through `report-finalize`; use the standalone command only for diagnostics. |
947
973
  | `okstra lead-progress append --project-root <dir> --run-manifest <path> --phase <phase-id> [--worker <role>] [--field NAME=VALUE]… [--detail <text>]` | Append one `PROGRESS:` checkpoint to the run's `leadEventsPath` and print the line to emit to the user as `progressLine`. The checkpoint is what `validate_session_conformance.py` reads, and on a host whose adapter declares `sessionAccounting: artifact-only` the ledger is the only place it can read one — a conversation line alone is not retained there. `--phase` accepts the phase ids the lead contract's "Progress reporting (BLOCKING)" list defines; the fixed-prose checkpoints render their contract wording without `--detail`. `--worker` is resolved against team-state and rewritten to the roster `workers[].role` the per-worker checks match, so a phase-specific functional label still lands on the right worker; a name that matches no roster row is written through with a note on stderr. |
948
- | `okstra approval-decision <open\|resolve\|carry> --ledger <approval-decisions.json> …` | Write the lead-owned clarification and approval ledger. `open` validates classification-specific dispositions and complete option fields, and its repeatable `--supersedes <C-NNN>` names a carried decision the new question replaces (assembly publishes that carried row as `obsolete` once the new row is resolved), `resolve` requires real `A-NNN` check references, and `carry` keeps prior resolved decisions outside the active clarification list. `carry --from-responses <instruction-set/clarification-response.md>` is the source of truth for an answer given in an earlier run: the bundle is task-level and cumulative, each response section names the report that posed the question, and `--clarification-id` repeats to carry several ids in one call. `carry --source-ledger` remains for a prior run's ledger that is still on disk and needs `--source-run-ref`. Prepare seeds `carriedDecisions[]` itself when it creates a run's ledger from a `--clarification-response` that names a report record — every row that record answered or resolved, plus rows its user-responses sidecars answered (`scripts/okstra_ctl/approval_decisions.py` `seed_carried_decisions`) — so `carry` is for ids that record does not answer. |
974
+ | `okstra approval-decision <open\|resolve\|carry> --ledger <approval-decisions.json> …` | Write the lead-owned clarification and approval ledger. `open` validates classification-specific dispositions and complete option fields, and its repeatable `--supersedes <C-NNN>` names a carried decision the new question replaces (assembly publishes that carried row as `obsolete` once the new row is resolved), and `--candidate-ref <IO-NNN>` names the implementation option the decision is about (a candidate's `splitAcceptance` may cite only a decision opened for it), `resolve` requires real `A-NNN` check references, and `carry` keeps prior resolved decisions outside the active clarification list. `carry --from-responses <instruction-set/clarification-response.md>` is the source of truth for an answer given in an earlier run: the bundle is task-level and cumulative, each response section names the report that posed the question, and `--clarification-id` repeats to carry several ids in one call. `carry --source-ledger` remains for a prior run's ledger that is still on disk and needs `--source-run-ref`. Prepare seeds `carriedDecisions[]` itself when it creates a run's ledger from a `--clarification-response` that names a report record — every row that record answered or resolved, plus rows its user-responses sidecars answered (`scripts/okstra_ctl/approval_decisions.py` `seed_carried_decisions`) — so `carry` is for ids that record does not answer. |
949
975
  | `okstra option-votes gaps --task-manifest <task-manifest.json> (--report <final-report .data.json> \| --narrative <report-writer narrative.md>) [--json]` | List the `implementation-option-selection` candidates that fail the ranking rule on the every-analyser clause alone, and name the analyser owing each vote. Round 1 runs the designers in parallel, so each votes only on the candidates it proposed and the merged set keeps a different hole per analyser; a run whose comparison had converged can end `blocked` with an empty `rankedOptions` for that reason alone. The lead reads this before concluding `blocked` and dispatches one vote-completion assignment per named analyser — a feasibility verdict on the named candidate and nothing else, so the run stays in `candidate-comparison` mode. A candidate carrying `safetyBlockers` or `unresolvedFeasibilityFacts`, or one that could not reach two `feasible` votes even with every missing vote, is excluded: another round would not change it. `--narrative` reads the writer's markdown before assembly and tolerates its value defects; `--report` reads a published record. |
950
976
  | `okstra design-snapshot --narrative <report-narrative.md> --output <design-preparation.json>` | Detect implementation-planning design surfaces and write the detector-owned snapshot consumed by final report assembly. |
951
977
  | `okstra plan-verify --narrative <report-narrative.md> --state <plan-body-verification.json>` | Recompute the plan-body gate from the convergence-owned state before `data.json` publication. `--report <historical-data.json>` remains the v2 reader. |
@@ -1022,3 +1048,13 @@ For before/after comparison, run `okstra explain-flow explain --question "Order
1022
1048
  The standalone preparation API is shared with `okstra agent-prompt materialize`; its `--execution-runner cli-wrapper` option explicitly selects process execution for standalone callers that execute the prompt themselves.
1023
1049
 
1024
1050
  After a task checkout has been removed, retry against an available checkout with `okstra explain-flow rerun --execution <id> --source-root <path>`. The original request and captured baseline remain unchanged; the retry creates a new execution and task-history entry.
1051
+
1052
+ ## Reusable verification procedures
1053
+
1054
+ `okstra qa show --project-root <project>` lists QA declarations, procedure references, entry digests, and related-source freshness as fixed text. `okstra qa check --project-root <project>` also exits 1 when related sources differ from their registered baseline. Invalid declarations, missing files, traversal, and symlinks exit 2. When a referenced file is missing, `show` still prints the declaration and its update digest before returning the error. Neither command executes the application or treats structural validity as functional verification. Without execution evidence, the output says `not-queried`.
1055
+
1056
+ Register an existing procedure with `okstra qa register --project-root <project> --id <id> --category test --label <label> --cmd <command> --procedure-input <file> --source-path <relative-file>`. Repeat `--source-path` for related sources and `--resource-key` for non-secret shared-resource identifiers. `--category` accepts `test` or `db-test`. The command is the executable authority; examples in the procedure are not executed.
1057
+
1058
+ Code-fenced examples do not count as procedure sections. Procedures contain the Markdown headings `Execution`, `Environment`, `User actions`, `Success observations`, and `Cleanup` at level two. Existing project documents are referenced without rewriting them. An input outside the project is copied into `.okstra/verification/procedures/<id>/<content-digest>.md`. Source files and repository procedures are read from `--source-root <checkout>` when supplied; otherwise the original project is explicitly reported as the source. Procedures under `.okstra` belong to the original project.
1059
+
1060
+ Updating an existing id requires `--expected-entry-digest <digest>` from `show`. Registration serializes concurrent QA registrations and project auto-registration, preserves unrelated project fields, and atomically publishes the config only after validating the procedure. Existing entries without ids and repeated labels remain supported. A successful registration is not evidence that the feature works.
@@ -284,6 +284,15 @@ Important modules:
284
284
  | `clarification_items/` | Unified §5 clarification table parser and approval blockers. `parsing` walks the §1 table, `dispositions` decides what an answer means (it opens nothing), `rows` reads either schema, `sidecars` handles user responses, and `scan` / `carry` build on those for the fail-closed gate read and the next run's carry-in |
285
285
  | `md_table.py` | Markdown pipe-table escape/split SSOT — the `mdcell` filter (`escape_pipes`) and the `\|`-aware `split_pipe_row`; shared by the renderer, HTML view, and validators |
286
286
  | `qa_commands.py` | QA command deny-list validation for plans |
287
+ | `qa_procedures.py` | Project-relative procedure loading, content and related-source digests, fixed inspection rows, and serialized atomic QA registration |
288
+ | `verification_inputs.py` | Immutable per-run QA declaration and procedure snapshots, strict schema and digest checks, and serialized publication inside the project artifact tree |
289
+ | `verification_input_ref.py` | Optional verification input path and digest references shared by manifest rendering and compact context hydration |
290
+ | `verification_input_types.py` | Pure snapshot payload types and version constants shared by storage and its port |
291
+ | `verification_plan.py` | Approved-plan verification expectation capture and validation using the canonical report-row schema and conformance declaration parser |
292
+ | `ports/verification_inputs.py` | Typed snapshot freezing and reading boundary for preparation |
293
+ | `adapters/verification_inputs.py` | JSON snapshot store delegating to the existing immutable publication and digest reader |
294
+ | `registry/verification_inputs_store.py` | Default snapshot store composition returning the port type |
295
+ | `qa_commands_cli.py` | `okstra qa register\|show\|check` typed CLI boundary for reusable verification procedures |
287
296
  | `conformance.py` | validates task-level Tier 3 manifests, parses `QA-RESULT`, detects diff capability surfaces, and reduces results to PASS/ADVISORY/BLOCKING; DB/HTTP/external non-PASS is user-owned advisory while local IO and contract defects remain blocking, enforced by `scripts/okstra_ctl/conformance.py::decide_conformance_gate` and `validators/validate-run.py::_validate_conformance`. Also the single definition of the plan's `Conformance tests:` declaration format (`parse_conformance_tests`, `malformed_conformance_stages`), read both at the approval boundary (`run.py::_validate_approved_plan`) and at the end of an implementation run (`validators/validate-run.py`) so the two cannot disagree |
288
297
  | `pr_template.py` | PR body template resolution for release-handoff |
289
298
  | `report_views.py`, `render_final_report.py`, `final_report_schema.py` | Final-report render layer: from the assembled `data.json` (schema v2 or v3) it independently produces the full reading copy Markdown and human HTML; both schema versions render the reading copy from `final-report-v2.template.md` (schema v3 reuses the v2 template for read/render compatibility) |
@@ -324,10 +333,11 @@ Important modules:
324
333
  | `usage_report.py` | Read-only okstra-usage backend — scans the whole current project's recent run timelines, defaults to 30 days, and returns task-type coverage, raw/billable tokens, known USD cost, CPU-sum and wall-clock milliseconds, unavailable reason counts, and unmatched pricing models |
325
334
  | `json_registry.py` | shared flock + atomic JSON persistence for small okstra registries (`registry_lock`/`load_registry_json`/`save_registry_json`) — used by `worktree_registry` |
326
335
  | `stage_integrate.py` | whole-task stage integration (merge) + worktree teardown core (`integrate_stages`) — shared by whole-task final-verification entry, `okstra integrate-stages`, and container up |
327
- | `file_size_cap.py` | Stage-diff file-size thresholds for the correction round and `stage-done` (`okstra correction file-size` backend) — a 300-line target (advisory) and a 400-line limit (blocking), measured on the stage diff in physical lines for the source/test extensions okstra's coding preflight covers; vendored, fixture, snapshot, generated and `.okstra` paths, and files whose head declares itself generated, are exempt |
336
+ | `file_size_cap.py` | Stage-diff file-size thresholds for the correction round and `stage-done` (`okstra correction file-size` backend) — a 300-line target (advisory) and a 500-line limit (blocking), measured on the stage diff in physical lines for the source/test extensions okstra's coding preflight covers; vendored, fixture, snapshot, generated and `.okstra` paths, and files whose head declares itself generated, are exempt |
328
337
  | `resolve_task_key.py` | shared skill helper resolving a bare task-id → `task-catalog.json` candidate entries (`okstra resolve-task-key`) |
329
338
  | `code_review_paths.py` | filesystem-layout SSOT for code-review result files — `stage_review_dir` / `branch_review_dir` plus `next_stage_review` / `next_branch_review`, which read the existing files to derive the next round's name (`stage-<NN>.md`, then `-r2`, `-r3`, …) or the next same-day sequence (`<YYYY-MM-DD>-<NN>.md`), so skill markdown never re-derives a literal review path |
330
- | `code_review_target.py` | `okstra code-review target` backend — argument validation and JSON shaping only. Stage mode delegates whole to `okstra_project.state.code_review_target_snapshot`; branch mode is resolved here, defaulting the diff base to the merge-base with the default branch (`refs/remotes/origin/HEAD`, else `main`/`master`). Read-only: it never creates the review directory |
339
+ | `code_review_target.py` | `okstra code-review` argument and output boundary. Stage mode reads recorded stage targets; branch mode requires an explicit frozen base. Routes citation checks, verified coverage and conservative follow-up scope proposals. Read-only: it never creates the review directory |
340
+ | `code_review_scope.py` | Proposes per-reviewer carry candidates using verified prior coverage, frozen range and rule/policy fingerprints, and recorded source dependencies. Current reviewers still attest the impact boundary and publish current verdicts |
331
341
  | `session.py`, `seeding.py`, `locks.py`, `invocation.py`, `sequence.py`, `ids.py`, `material.py` | Supporting lifecycle helpers |
332
342
  | `pane_reclaim.py` | resolves which runs of the current project still hold a non-terminal dispatch, so the `SessionStart(compact)` hook can re-inject the pane-cleanup obligation for them. The signal is the newest `team-state` per run directory, not the central run index — an in-session run never appears there (ADR-0011). Imports the status split from the `dispatch_state.NON_TERMINAL_WORKER_STATUSES` SSOT |
333
343
  | `phases/improvement_discovery/lenses.py` | lens enum SSOT + cap constants for the improvement-discovery phase (DEFAULT 8, ABSOLUTE 12, MIN/MAX PRIORITY 1/4, SOURCE_WORKERS) |
@@ -400,7 +410,7 @@ Important modules:
400
410
  | `report_template_loader.py` | Jinja loader for report templates: a logical name owned by a migrated phase opens from that phase's `report_assets/`, and every other name opens from `templates/reports` |
401
411
  | `contract_graph.py`, `contract_graph_cli.py` | runtime-contract graph loader + cross-reference/dependency-closure validator and its `okstra contract-check --root <dir> (--profile\|--operation)` CLI boundary. Loads the agent contract schemas (`common`/`role`/`duty`/`profile`/`operation`), validates known role capabilities, and reports the dependency closure with per-file `path`/`schemaVersion`/`sha256`; an invalid contract raises `ContractGraphError` |
402
412
  | `json_boundary.py` | strict JSON persistence boundaries for okstra-owned artifacts — a sealed `ExternalJsonSource` (validated producer + path) is the only way owned JSON is read, and `JsonBoundaryError` names artifact / reason / path when a write cannot satisfy its contract; the SSOT that keeps the model out of internal JSON key/path authorship |
403
- | `fixed_text.py` | shared scalar-line format for the model-facing fixed-text projections — `scalar` neutralises complex values and control characters (backticks escaped for the code span `line` wraps it in), `block` projects a prose body outside any code span with its backticks intact, `line` renders one static-labelled Markdown list row, and `value_lines` losslessly flattens a JSON-shaped value into fixed name/order/value rows |
413
+ | `fixed_text.py` | shared scalar-line format for model-facing projections — `scalar` neutralises complex values and control characters, `block` keeps prose backticks intact, and `line` renders a static-labelled row. `value_lines` flattens structured values into name/order/value rows; `quoted_value_lines` uses the same traversal with JSON-quoted scalars to preserve command characters, line breaks and empty strings |
404
414
  | `model_io_cli.py`, `model_io/` | renders purpose-scoped fixed Markdown input from okstra-owned JSON for the model boundary — resolves the current run/project through the run manifest (`validated_run_authority`, `canonical_run_state_artifact`) and emits only each command's allow-listed fields in fixed order instead of expanding arbitrary nested objects. `model_io_cli.py` is the argparse surface only; inside the package, `references` resolves paths and reads JSON, `lines` turns an already-read mapping into fixed Markdown and opens nothing, and `renderers` composes the two into one function per command |
405
415
  | `assignment_environment.py` | loads ambient host-adapter facts once, outside the deterministic assignment logic; read by `run.py`, `dispatch_core.py`, the wizard's role step, and `agent-prompt materialize` |
406
416
  | `execution_identity.py` | provider-neutral execution identity value objects — participant assignment, role execution, invocation, attempt, execution manifest — and their versioned readers |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "okstra",
3
- "version": "0.226.0",
3
+ "version": "0.228.0",
4
4
  "description": "Host-aware multi-provider cross-verification orchestrator runtime and agent skills.",
5
5
  "license": "MIT",
6
6
  "author": "devonshin",
@@ -1,5 +1,5 @@
1
1
  {
2
- "package": "0.226.0",
3
- "builtAt": "2026-10-30T16:11:21.288Z",
2
+ "package": "0.228.0",
3
+ "builtAt": "2026-11-01T10:19:02.762Z",
4
4
  "repoRoot": "/home/runner/work/okstra/okstra"
5
5
  }
@@ -2,5 +2,5 @@
2
2
  "schemaVersion": "1.0",
3
3
  "id": "code-review",
4
4
  "dutyId": "code-reviewer",
5
- "count": 2
5
+ "count": 3
6
6
  }
@@ -6,6 +6,7 @@
6
6
  "Return an evidence-backed verdict for every assigned review census cell, acting as a correctness, maintainability and documented-convention gate, and without changing the census or the code under review."
7
7
  ],
8
8
  "requiredConduct": [
9
+ "On follow-up reviews, inspect the correction delta and its impact closure. Treat carry candidates as proposals: independently search affected callers, callees, contracts and tests before attesting inheritance from this slot's verified prior verdicts. Reopen candidates for newly discovered effects or evidence of a real defect; fall back to full inspection when the boundary is uncertain. Account for the full current census and distinguish inspected from inherited cells.",
9
10
  "Inspect every cell's actual diff and surrounding behavior, apply the assigned standard, trace affected call paths and tests where relevant, look for regressions and missing validation, preserve the cell identifier, and return either concrete findings or an evidence-backed clean verdict.",
10
11
  "Return one compact Coverage Verdicts table row per assigned target/group cell. Explicitly account for every shared-catalog rule ID under Checked, N/A with an inline applicability reason, or Findings with finding IDs. Share one literal inspected target-source path:line per row. Do not expand pack bullets into separate verdict rows, use all-checked claims, or mark unread rules checked.",
11
12
  "Inspect before accounting: evaluate changed constructs against every applicable canonical clause, follow result mappings and the work done by existing callees, and identify findings before compressing the coverage table. Passing tests and linters do not establish conformance to every assigned rule."
@@ -673,25 +673,11 @@ delivery was observed.
673
673
 
674
674
  ### Prompt
675
675
 
676
- The mandate `critic-prompt` renders for `final-verification` (it adds the delivery-mode header, the analysis packet line, the analyser result lines and the `### [AC-NNN]` candidate format):
677
-
678
- ```
679
- Challenge acceptance for <task-key>. The delivered work is about
680
- to be judged for acceptance. Your ONLY job is to find reasons it should NOT be
681
- accepted — surface candidate acceptance BLOCKERS the verifiers may have missed:
682
- - requirements / acceptance points with no covering evidence,
683
- - DB / IO / SQL changes lacking real-execution evidence,
684
- - regressions or broken error paths,
685
- - scope / contract violations,
686
- - other locations or cases of a mechanism the analysers already raised (for
687
- example the same stale-copy defect in a sibling editor, or after the version
688
- changed) — a cell of that class they did not judge is a new candidate.
689
- For each, emit a candidate blocker with a one-line statement, evidence (file:line /
690
- log / test output), and a severity (critical / major). A finding that would not stop the
691
- release is not a blocker — say so, and it is recorded as a conditional-acceptance
692
- condition instead. Do NOT restate an existing Acceptance Blocker. If you find none, say
693
- so explicitly.
694
- ```
676
+ The acceptance mandate lives in the generator
677
+ (`okstra_ctl/convergence_critic_prompt.py` `_ACCEPTANCE_MANDATE`), not here.
678
+ There is no second copy to keep in step: `critic-prompt` renders it with the
679
+ delivery-mode header, the analysis packet line, the analyser result lines and
680
+ the `### [AC-NNN]` candidate format, and the lead pastes the output whole.
695
681
 
696
682
  ### Verification — confirm-or-downgrade (BLOCKING)
697
683