okstra 0.130.1 → 0.130.3
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.
- package/docs/architecture.md +7 -1
- package/docs/cli.md +10 -2
- package/docs/project-structure-overview.md +16 -9
- package/docs/task-process/implementation-planning.md +11 -5
- package/package.json +1 -1
- package/runtime/BUILD.json +2 -2
- package/runtime/agents/workers/antigravity-worker.md +3 -1
- package/runtime/agents/workers/claude-worker.md +1 -1
- package/runtime/agents/workers/codex-worker.md +3 -1
- package/runtime/agents/workers/report-writer-worker.md +8 -4
- package/runtime/prompts/lead/adapters/claude-code.md +2 -2
- package/runtime/prompts/lead/convergence.md +44 -21
- package/runtime/prompts/lead/okstra-lead-contract.md +9 -2
- package/runtime/prompts/lead/plan-body-verification.md +55 -12
- package/runtime/prompts/lead/report-writer.md +16 -15
- package/runtime/prompts/lead/team-contract.md +8 -6
- package/runtime/prompts/profiles/implementation-planning.md +10 -2
- package/runtime/python/okstra_ctl/codex_dispatch.py +5 -1
- package/runtime/python/okstra_ctl/convergence.py +121 -1
- package/runtime/python/okstra_ctl/convergence_engine.py +903 -13
- package/runtime/python/okstra_ctl/convergence_migration.py +9 -1
- package/runtime/python/okstra_ctl/dispatch_core.py +13 -0
- package/runtime/python/okstra_ctl/plan_items.py +203 -0
- package/runtime/python/okstra_ctl/plan_items_cli.py +81 -0
- package/runtime/python/okstra_ctl/report_finalize.py +6 -4
- package/runtime/python/okstra_ctl/worker_artifact_paths.py +23 -0
- package/runtime/python/okstra_ctl/worker_liveness.py +4 -4
- package/runtime/python/okstra_ctl/worker_prompt_body.py +1 -1
- package/runtime/python/okstra_ctl/worker_prompt_contract.py +2 -1
- package/runtime/python/okstra_ctl/worker_prompt_headers.py +14 -0
- package/runtime/schemas/convergence-critic-results-v1.0.schema.json +57 -0
- package/runtime/schemas/convergence-groups-v1.0.schema.json +109 -0
- package/runtime/schemas/convergence-round-results-v1.0.schema.json +55 -0
- package/runtime/schemas/final-report-v1.0.schema.json +21 -2
- package/runtime/templates/report-writer-prompt-preamble.md +5 -3
- package/runtime/templates/reports/final-report.template.md +1 -1
- package/runtime/templates/worker-prompt-preamble.md +8 -7
- package/runtime/validators/validate-run.py +154 -118
- package/runtime/validators/validate_session_conformance.py +66 -23
- package/src/cli-registry.mjs +7 -0
- package/src/commands/execute/convergence.mjs +6 -1
- package/src/commands/execute/plan-items.mjs +9 -0
- package/src/commands/inspect/worker-liveness.mjs +2 -2
package/src/cli-registry.mjs
CHANGED
|
@@ -73,6 +73,13 @@ export const COMMAND_REGISTRY = [
|
|
|
73
73
|
category: "admin",
|
|
74
74
|
summary: ["Advance and validate deterministic re-verification state"],
|
|
75
75
|
},
|
|
76
|
+
{
|
|
77
|
+
name: "plan-items",
|
|
78
|
+
module: "./commands/execute/plan-items.mjs",
|
|
79
|
+
export: "run",
|
|
80
|
+
category: "admin",
|
|
81
|
+
summary: ["Extract and validate deterministic plan-body items"],
|
|
82
|
+
},
|
|
76
83
|
{
|
|
77
84
|
name: "git-reconcile",
|
|
78
85
|
module: "./commands/execute/git-reconcile.mjs",
|
|
@@ -8,8 +8,14 @@ Usage:
|
|
|
8
8
|
okstra convergence plan-round --work-state <path> --plan <path>
|
|
9
9
|
okstra convergence apply-round --work-state <path> --plan <path> \\
|
|
10
10
|
--results <path>
|
|
11
|
+
okstra convergence apply-critic-gaps --work-state <path> --results <path>
|
|
11
12
|
okstra convergence finalize --work-state <path> --output <path>
|
|
12
13
|
okstra convergence validate --state <path> --kind <working|final>
|
|
14
|
+
okstra convergence example --kind <groups|round-results|critic-results>
|
|
15
|
+
|
|
16
|
+
Working lifecycle:
|
|
17
|
+
groups v1.0 → work v1.0 → round-plan/results v1.0 → final v1.3
|
|
18
|
+
historical final readers: v1.0, v1.1, v1.2
|
|
13
19
|
|
|
14
20
|
This internal admin command is consumed by the Phase 5.5 lead contract. It
|
|
15
21
|
does not install or revive the obsolete okstra-convergence skill.
|
|
@@ -31,4 +37,3 @@ export async function run(args) {
|
|
|
31
37
|
});
|
|
32
38
|
return result.code;
|
|
33
39
|
}
|
|
34
|
-
|
|
@@ -6,8 +6,8 @@ Usage:
|
|
|
6
6
|
okstra worker-liveness [--audit <path>]... [--prompt <path>]...
|
|
7
7
|
[--max-idle <seconds>] [--launch-grace <seconds>] [--json]
|
|
8
8
|
|
|
9
|
-
--audit
|
|
10
|
-
the
|
|
9
|
+
--audit an in-process worker audit sidecar path; stale past the heartbeat cadence
|
|
10
|
+
means the worker hung.
|
|
11
11
|
--prompt a CLI-wrapper prompt-history path; no sibling .log or .status.json
|
|
12
12
|
past the launch grace means the wrapper never started.
|
|
13
13
|
|