okstra 0.220.1 → 0.221.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.
- package/dist/cli-registry.mjs +6 -0
- package/dist/cli-registry.mjs.map +1 -1
- package/docs/architecture.md +2 -0
- package/docs/cli.md +7 -3
- package/docs/project-structure-overview.md +1 -1
- package/package.json +1 -1
- package/runtime/BUILD.json +2 -2
- package/runtime/prompts/launch.template.md +1 -1
- package/runtime/prompts/lead/okstra-lead-contract.md +9 -5
- package/runtime/prompts/lead/team-contract.md +1 -1
- package/runtime/python/okstra_ctl/adapters/hosts/capability_adapter.py +3 -2
- package/runtime/python/okstra_ctl/adapters/hosts/claude-code/relay.md +3 -3
- package/runtime/python/okstra_ctl/adapters/hosts/claude-code/worker-session.md +4 -2
- package/runtime/python/okstra_ctl/adapters/hosts/grok/relay.md +3 -3
- package/runtime/python/okstra_ctl/adapters/providers/antigravity/adapter.py +27 -0
- package/runtime/python/okstra_ctl/adapters/providers/claude/adapter.py +24 -0
- package/runtime/python/okstra_ctl/adapters/providers/codex/adapter.py +24 -0
- package/runtime/python/okstra_ctl/adapters/providers/grok/adapter.py +25 -0
- package/runtime/python/okstra_ctl/adapters/providers/zai/adapter.py +20 -1
- package/runtime/python/okstra_ctl/agent/prompt_cli/materialize.py +3 -0
- package/runtime/python/okstra_ctl/analysis_packet.py +14 -0
- package/runtime/python/okstra_ctl/correction_cli.py +44 -5
- package/runtime/python/okstra_ctl/correction_round.py +40 -11
- package/runtime/python/okstra_ctl/domain/mcp.py +43 -0
- package/runtime/python/okstra_ctl/domain/provider.py +2 -0
- package/runtime/python/okstra_ctl/domain/wizard/interaction.py +89 -8
- package/runtime/python/okstra_ctl/file_size_cap.py +142 -0
- package/runtime/python/okstra_ctl/initial_prompt_materialization.py +3 -6
- package/runtime/python/okstra_ctl/manager_cli.py +11 -1
- package/runtime/python/okstra_ctl/manager_sync.py +38 -2
- package/runtime/python/okstra_ctl/mcp_cli.py +179 -0
- package/runtime/python/okstra_ctl/mcp_servers.py +421 -0
- package/runtime/python/okstra_ctl/phases/implementation/instructions/_implementation-deliverable.md +4 -3
- package/runtime/python/okstra_ctl/phases/implementation/instructions/_implementation-executor.md +1 -0
- package/runtime/python/okstra_ctl/phases/implementation/instructions/_implementation-self-check.md +1 -0
- package/runtime/python/okstra_ctl/phases/implementation/instructions/_implementation-verifier.md +3 -2
- package/runtime/python/okstra_ctl/phases/implementation_option_selection/profile.md +1 -1
- package/runtime/python/okstra_ctl/phases/implementation_planning/authoring.py +19 -0
- package/runtime/python/okstra_ctl/phases/implementation_planning/instructions/plan-body-verification.md +14 -0
- package/runtime/python/okstra_ctl/phases/implementation_planning/profile.md +2 -1
- package/runtime/python/okstra_ctl/phases/technical_verification/entry.py +37 -0
- package/runtime/python/okstra_ctl/phases/technical_verification/validation.py +3 -3
- package/runtime/python/okstra_ctl/render.py +7 -48
- package/runtime/python/okstra_ctl/report_language.py +4 -5
- package/runtime/python/okstra_ctl/run.py +29 -0
- package/runtime/python/okstra_ctl/stage_done.py +37 -3
- package/runtime/skills/_fragments/wizard-lead-takeover.md +1 -1
- package/runtime/skills/_fragments/wizard-relay-protocol.md +2 -2
- package/runtime/skills/okstra-discussion/SKILL.md +3 -3
- package/runtime/skills/okstra-manager/SKILL.md +1 -0
- package/runtime/skills/okstra-run/SKILL.md +3 -3
- package/runtime/skills/okstra-setup/SKILL.md +2 -0
- package/runtime/skills/okstra-setup/references/project-config.md +34 -0
- package/runtime/templates/report-writer-prompt-preamble.md +1 -1
- package/runtime/templates/reports/task-brief.template.md +3 -3
- package/runtime/validators/validate-run.py +13 -0
package/dist/cli-registry.mjs
CHANGED
|
@@ -94,6 +94,12 @@ export const COMMAND_REGISTRY = [
|
|
|
94
94
|
category: "admin",
|
|
95
95
|
summary: ["List models and set or unset role model defaults"],
|
|
96
96
|
},
|
|
97
|
+
{
|
|
98
|
+
name: "mcp",
|
|
99
|
+
python: { target: { module: "okstra_ctl.mcp_cli" } },
|
|
100
|
+
category: "admin",
|
|
101
|
+
summary: ["Declare project MCP servers; check which providers reach them"],
|
|
102
|
+
},
|
|
97
103
|
{
|
|
98
104
|
name: "worker-dispatch",
|
|
99
105
|
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;KACF;IACD;QACE,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,wCAAwC;QAChD,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,OAAO;QACjB,OAAO,EA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`, `FINAL_*`, and `CLA
|
|
|
279
279
|
|
|
280
280
|
Host adapters and model providers are independent axes. The host registry discovers bundled adapters and explicit user installs under `~/.okstra/adapters/hosts/<id>/`; the provider registry uses the parallel `~/.okstra/adapters/providers/<id>/` root. Neither registry executes adapter code found in a project repository. A host descriptor names its native provider, while every non-native worker assignment resolves through the provider's CLI wrapper.
|
|
281
281
|
|
|
282
|
+
A provider adapter may also set `ProviderSpec.mcp_inventory`: a command that lists that provider CLI's MCP servers without an inference call, plus a parser that turns its output into `(visible name, enabled | disabled | needs-auth)` rows. prepare and `okstra mcp check` run each distinct command once in the project root under a 20-second limit and match the rows against `.okstra/project.json` `mcpServers` names and aliases (`scripts/okstra_ctl/mcp_servers.py`). The core never names a provider: an adapter without the field, or whose command fails, reports every declared server as `unknown` for that provider.
|
|
283
|
+
|
|
282
284
|
The terminal front door accepts `okstra run <host-id-or-alias>`, resolves it through `HostAdapterRegistry`, and probes `entry_mode="spawn-process"` readiness before starting that adapter's CLI. It does not infer the host from installed provider binaries and does not fall back to another host when the selected adapter is unavailable.
|
|
283
285
|
|
|
284
286
|
The legacy standalone shell path remains Claude-specific:
|
package/docs/cli.md
CHANGED
|
@@ -833,6 +833,9 @@ The `okstra` Node CLI (`bin/okstra`) provides both installer/admin commands and
|
|
|
833
833
|
| `okstra doctor [--runtime claude-code\|codex\|antigravity\|external\|all] [--phase <phase>] [--json]` | Diagnose the runtime, Python imports, skill/agent installation, and model-pool state. The JSON `modelPool` object reports pool errors, default errors, binding precision, observed model, max write boundary, and invocation downgrade reason. It never sends an inference call. The `codex`, `antigravity`, and `external` runtimes omit Claude skill checks. `--phase` adds readiness checks for `implementation`, `final-verification`, `release-handoff`, or `improvement-discovery` |
|
|
834
834
|
| `okstra model list [--role <role>] [--host <host>] [--json]` | List catalog models for a host and optional role. Unselectable exact bindings report `exact binding unavailable`. No inference call |
|
|
835
835
|
| `okstra model default set\|unset <role> ... --scope project\|global [--cwd <dir>]` | Atomically write or remove `modelDefaults` for one canonical role |
|
|
836
|
+
| `okstra mcp add --name <name> --description <text> --tool <tool>... [--alias <name>...] [--notes <text>] [--cwd <dir>]` | Validate and add, or replace by name, one `.okstra/project.json` `mcpServers` entry. `--alias` names the server as a provider CLI lists it |
|
|
837
|
+
| `okstra mcp list [--json] [--cwd <dir>]` / `okstra mcp remove --name <name> [--cwd <dir>]` | Print the declared servers and any malformed entries (exit 1 when one is malformed) / remove one entry by name |
|
|
838
|
+
| `okstra mcp check [--provider <id>...] [--brief <path>] [--json] [--cwd <dir>]` | Run each provider adapter's MCP listing (`ProviderSpec.mcp_inventory`, no inference call) and report every declared server as `reachable`, `disabled`, `missing`, or `unknown` (the adapter cannot list) per provider. Defaults to every registered provider. `--brief` adds the brief MCP-source check. prepare runs the same check for the run's providers, prints `prepare: mcp: ...` warnings, and renders the result into the launch prompt and the analysis packet; it never refuses a run |
|
|
836
839
|
| `okstra setup --project-id <id>` | Create or update `.okstra/project.json` in the current project. When `<PROJECT_ROOT>/CLAUDE.md` or `AGENTS.md` already exists, it also appends — or refreshes in place — an okstra-managed block between `<!-- okstra:citation-guidance:begin -->` / `end` telling agents not to cite okstra-internal references (report section numbers, `C-NNN` ids, run/stage ids, `.okstra/...` paths) outside an okstra report. Neither file is created, and a failure is a warning, not an error |
|
|
837
840
|
| `okstra check-project [--json]` | Verify that the current project is registered |
|
|
838
841
|
| `okstra preflight [--runtime <name>] [--cwd <dir>] [--machine]` | Single skill-preflight call combining `ensure-installed`, with silent reinstall when stale, `check-project`, and host-specific `runtimeReadiness`. It defaults to a fixed text projection. `--machine` returns the automation JSON contract, and `--json` is a deprecated one-release alias. A `claude-code` host checks project workspace trust. A `codex` current-session host verifies write access to `~/.okstra/worktrees/registry.lock`; a sandbox denial blocks before the wizard with the `switch-codex-to-full-access-and-rerun` action. `antigravity` and `external` hosts return ready without reading Claude Code state. Step 0 of every project-scoped skill converges on this command |
|
|
@@ -869,7 +872,7 @@ The `okstra` Node CLI (`bin/okstra`) provides both installer/admin commands and
|
|
|
869
872
|
| `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. |
|
|
870
873
|
| `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. |
|
|
871
874
|
| `okstra convergence prepare-groups --run-manifest <path> --input <grouping.md>` | 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. |
|
|
872
|
-
| `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. 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. |
|
|
875
|
+
| `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. |
|
|
873
876
|
| `okstra rollup [--task-group <group>] [--project-root <dir>] [--cwd <dir>] [--text\|--json]` | Read-only backend for the okstra-rollup skill. `--text` emits ordered fixed labels for model use. The default and `--json` preserve the full machine JSON contract and exit codes. Omitting `--task-group` targets the whole project catalog. |
|
|
874
877
|
| `okstra usage-report [--days <positive-int>] [--project-root <dir>] [--cwd <dir>] [--text\|--json]` | Read-only backend for the okstra-usage skill. `--text` emits ordered fixed labels for model use. The default and `--json` preserve the full machine JSON contract and exit codes. Defaults to the current project's last 30 days. |
|
|
875
878
|
| `okstra worker-state transition --team-state <path> --worker <id> --status <in-progress\|completed\|timeout\|error\|not-run> [--reason <text>] [--model <execution-value>]` | Atomically update one persisted worker row. `in-progress` records the authoritative `startedAt` and clears `endedAt`; terminal states record `endedAt`; `timeout`, `error`, and `not-run` require a reason. Dispatch adapters use this same transition path, so CLI-backed and in-process orchestration share the status timestamp contract |
|
|
@@ -889,8 +892,9 @@ The `okstra` Node CLI (`bin/okstra`) provides both installer/admin commands and
|
|
|
889
892
|
| `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 |
|
|
890
893
|
| `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 }` |
|
|
891
894
|
| `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 }` |
|
|
892
|
-
| `okstra correction prompt --run-manifest <path> --round <N> --role <executor\|verifier> --base <sha> --
|
|
893
|
-
| `okstra
|
|
895
|
+
| `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 run's convergence record: 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. |
|
|
896
|
+
| `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. |
|
|
897
|
+
| `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. |
|
|
894
898
|
| `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. |
|
|
895
899
|
| `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 |
|
|
896
900
|
| `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 |
|
|
@@ -361,7 +361,7 @@ Important modules:
|
|
|
361
361
|
| `worker_prompt_headers.py` | shared rendering of phase-aware worker prompt anchors (`worker_prompt_headers`): coding-preflight only for implementation and compact target identity for final-verification |
|
|
362
362
|
| `worker_prompt_body.py` | provider-neutral initial analysis body/input renderer shared by Codex and external/team dispatch paths |
|
|
363
363
|
| `report_prose_keys.py` | `PROSE_KEYS` — final-report leaf keys whose values are reader-facing prose; `validators/validate-run.py` uses it to reject null literals (`None`, `null`) in prose cells |
|
|
364
|
-
| `report_language.py` | report-writer `**Report Language:**` resolution (`resolve_report_language`) — precedence project config → global config → `en`; the value is a language tag the report writer authors its prose in,
|
|
364
|
+
| `report_language.py` | report-writer `**Report Language:**` resolution (`resolve_report_language`) — precedence project config → global config → `en`; the value is a language tag the report writer authors its prose in, resolved once at prepare into the run manifest's `reportLanguage`, which both dispatch paths stamp into the prompt |
|
|
365
365
|
| `worker_prompt_policy.py` | `PromptPlan` generating SSOT — resolves functional audience, equality group, packet-only input, coding-preflight eligibility, required headers, and size limits without consulting provider/model identity |
|
|
366
366
|
| `worker_prompt_contract.py` | deterministic cross-task initial-prompt validator and normalized cross-worker equality SSOT, reused by dispatch adapters and the Phase 7 persisted-artifact validator |
|
|
367
367
|
| `initial_prompt_materialization.py` | sole owner of roster-derived initial prompt rendering, request compatibility checks, contract validation, and immutable create-if-absent publication; exposes `materialize_initial_prompts(InitialPromptMaterializationRequest) -> tuple[Path, ...]` |
|
package/package.json
CHANGED
package/runtime/BUILD.json
CHANGED
|
@@ -140,7 +140,7 @@ Do not end the turn after the validator result. Task-qualified report paths and
|
|
|
140
140
|
{{AVAILABLE_MCP_SERVERS}}
|
|
141
141
|
- The full usage policy and per-phase rules live in the analysis packet's `Available MCP Servers` extract. Inject only the one-line pointer below into each analysis-worker prompt: `**MCP servers:** follow the analysis packet's "Available MCP Servers" section. If the section is absent or says none, treat MCP as unavailable for this run; never infer tools from host configuration.`
|
|
142
142
|
- **Invocation rule (forward to every worker prompt)**: MCP tools are addressed through the executing worker provider's native tool interface — never by running the tool name as a shell command. In-process workers call the tool directly; CLI workers use that CLI's configured MCP transport. A worker without the configured MCP server records `MCP not available in this CLI` instead of guessing.
|
|
143
|
-
-
|
|
143
|
+
- Each server line ends with `Reachable from:` / `Not reachable:` per provider, measured at prepare by that provider adapter's MCP listing (`unknown` means the adapter could not list). Assign work that needs a server to a worker whose provider is reachable. A worker on any other provider records `MCP not available in this CLI` in its `Missing Information or Assumptions` block rather than guessing or shell-falling-back.
|
|
144
144
|
- MCP queries are evidence-grade. Cite server, table, and the SELECT used in worker output. MCP must NOT be used as a write path in any phase, including `implementation`.
|
|
145
145
|
|
|
146
146
|
## Host Orchestration Rules
|
|
@@ -180,7 +180,7 @@ Every `okstra` command the lead documents cite, grouped by phase, each spelled w
|
|
|
180
180
|
|---|---|---|
|
|
181
181
|
| `okstra report-finalize --project-root <dir> --run-manifest <path> --report <path>` | Run the whole Phase 7 sequence; do not run its steps separately. Without `--only` it records `phase-7-persist` first; emit its `progressLines` | `report-writer` "Phase 6 → Phase 7 execution sequence" |
|
|
182
182
|
| `okstra handoff record-verified --plan-run-root <dir> --stage <N> --report-path <path> --data-json <path>` | Record an accepted final-verification against its stage. `report-finalize` runs it in its `record-verified` step; run it by hand only to repair a registry after that step failed | `report-writer` "Phase 6 → Phase 7 execution sequence" |
|
|
183
|
-
| `okstra correction prompt --run-manifest <path> --round <N> --role <executor\|verifier> --base <sha> --finding <F-id>` | Write a correction-round instruction body; materialize it with dispatch kind `correction-r<N
|
|
183
|
+
| `okstra correction prompt --run-manifest <path> --round <N> --role <executor\|verifier> --base <sha> --stage-base <sha> --finding <F-id>` | Write a correction-round instruction body; materialize it with dispatch kind `correction-r<N>`. `--stage-base` adds the stage's 400-line file-size findings | `_implementation-deliverable.md` "Correction round" |
|
|
184
184
|
| `okstra stage-done <task-key> --stage <N> --carry <carry.json> --report <path>` | Settle an implementation stage whose synthesised verdict is not FAIL: writes the flat `runs/implementation/carry/stage-<N>.json` sidecar and appends the `done` row — never write either by hand | `_implementation-deliverable.md` "Lead post-stage persistence" |
|
|
185
185
|
| `okstra stage-fail <task-key> --stage <N> --head-commit <sha> --report <path> --reason <why>` | Record an implementation stage whose synthesised verdict is FAIL, or that ended with no verifier result, as `failed` — never call `append_consumer` from python | `_implementation-deliverable.md` "Lead post-stage persistence" |
|
|
186
186
|
| `okstra team teardown --project-root <dir> --run-manifest <path>` | Close every recorded pane at the end of the run | cmux adapter "Semantic operation mapping" |
|
|
@@ -594,10 +594,12 @@ If `Report writer worker` is in the selected roster (`recommendedWorkers` / `res
|
|
|
594
594
|
Before constructing the dispatch prompt, the lead MUST:
|
|
595
595
|
|
|
596
596
|
- Preserve the `**Report Language:**` value already materialized in the
|
|
597
|
-
report-writer dispatch prompt.
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
597
|
+
report-writer dispatch prompt. Both dispatch paths stamp it from the run
|
|
598
|
+
manifest's `reportLanguage`, resolved once at prepare time; report assembly
|
|
599
|
+
copies the same value into the final record. That value is authoritative
|
|
600
|
+
for report artifacts: a host, project or global instruction file
|
|
601
|
+
(`CLAUDE.md`, `AGENTS.md`) does not override it, so never instruct the
|
|
602
|
+
writer to use another language.
|
|
601
603
|
|
|
602
604
|
The convergence output provides four finding categories:
|
|
603
605
|
|
|
@@ -699,6 +701,8 @@ Treat `plannedPaths` as an expected change inventory, not an exhaustive authoriz
|
|
|
699
701
|
|
|
700
702
|
Preserve original results and attempt identities when correcting declaration formatting, missing rationale, or required artifacts. Continue the smallest affected repair within the approved objectives. Do not restart implementation or request renewed permission solely for a plan-path mismatch. If a required artifact is unusable, repair that artifact and keep only its dependent steps waiting. If the same repair produces no new evidence, report the unresolved requirement and resume point instead of repeating the whole implementation.
|
|
701
703
|
|
|
704
|
+
When an executor stops because an approved step places a real-IO test in the project source test tree (`_implementation-executor.md` "Real-IO test isolation"), the way forward is a new `implementation-planning` run. Never offer the user, as an option, an exception that commits that test to the source tree or makes a reachable backend a pass condition; real-backend checks run only as advisory Tier 3 conformance scripts under `<task_root>/qa/scripts/`, which are never committed (observed 2026-10-18, dev-11374).
|
|
705
|
+
|
|
702
706
|
Ask for user judgment only when the proposed work changes approved objectives or acceptance conditions, crosses an explicit authority boundary, or adds an unapproved external action. A warning does not waive read-only roles, protected paths, independent verification, or final acceptance checks. Never convert an old closed failed attempt into success by overwriting its audit; use a recorded recovery with independent evidence.
|
|
703
707
|
|
|
704
708
|
For a closed attempt whose only failure was a declaration discrepancy, preserve that attempt and its original result. Use the existing `agent-prompt materialize` and dispatch workflow to create a bounded evidence-recovery invocation in the same run, with a distinct result path and explicit references to the original invocation, result, and audit. Ask it to reconcile the declaration and required artifacts against current evidence, not repeat completed implementation. Then dispatch the selected independent verifiers against the current source and artifacts. Adopt the new verified result through normal result collection; retain the original failure as history. Do not use this route to bypass a real authority violation or unresolved code defect.
|
|
@@ -80,7 +80,7 @@ The Phase 7 run validator enforces the same cross-task rule against the persiste
|
|
|
80
80
|
|
|
81
81
|
When a worker reads any project-relative path from the prompt, it MUST resolve it against `Project Root` (e.g. `<Project Root>/<Result Path>`) — never use bare relative paths that depend on cwd.
|
|
82
82
|
|
|
83
|
-
Inject only the packet-scoped one-line pointer into every analysis worker's prompt: `**MCP servers:** follow the analysis packet's "Available MCP Servers" section. If the section is absent or says none, treat MCP as unavailable for this run; never infer tools from host configuration.`
|
|
83
|
+
Inject only the packet-scoped one-line pointer into every analysis worker's prompt: `**MCP servers:** follow the analysis packet's "Available MCP Servers" section. If the section is absent or says none, treat MCP as unavailable for this run; never infer tools from host configuration.` Every provider CLI's MCP availability is governed by its own configuration; the packet's server lines say which providers listed each server at prepare. A worker records `MCP not available in this CLI` when its CLI does not expose a server the packet names.
|
|
84
84
|
|
|
85
85
|
Persist the exact worker prompt before dispatch per Operating Rule 6; never use `/tmp/*prompt*.txt` as the canonical artifact path.
|
|
86
86
|
|
|
@@ -23,6 +23,7 @@ from okstra_ctl.domain.wizard.interaction import (
|
|
|
23
23
|
AnswerProtocol,
|
|
24
24
|
InteractionPlan,
|
|
25
25
|
WizardPrompt,
|
|
26
|
+
labels_decode_uniquely,
|
|
26
27
|
)
|
|
27
28
|
from okstra_ctl.ports import (
|
|
28
29
|
HostModelBindingPort,
|
|
@@ -139,7 +140,7 @@ class CapabilityInteractionPort:
|
|
|
139
140
|
):
|
|
140
141
|
return InteractionPlan(
|
|
141
142
|
"native-multi",
|
|
142
|
-
AnswerProtocol("
|
|
143
|
+
AnswerProtocol("selected-labels", multi=True),
|
|
143
144
|
)
|
|
144
145
|
if (
|
|
145
146
|
not prompt.multi
|
|
@@ -169,7 +170,7 @@ class CapabilityInteractionPort:
|
|
|
169
170
|
return (
|
|
170
171
|
self._limits.option_count_fits(len(labels))
|
|
171
172
|
and len(set(labels)) == len(labels)
|
|
172
|
-
and (not prompt.multi or
|
|
173
|
+
and (not prompt.multi or labels_decode_uniquely(labels))
|
|
173
174
|
)
|
|
174
175
|
|
|
175
176
|
def _native_group_fits(
|
|
@@ -69,7 +69,7 @@ Read this contract when `okstra preflight` returns this file as `runtimeReadines
|
|
|
69
69
|
"envelope": "answers",
|
|
70
70
|
"key": "rendered-question-text",
|
|
71
71
|
"selection": "selected-labels-joined-comma-space",
|
|
72
|
-
"submit": "
|
|
72
|
+
"submit": "raw"
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"native-group": {
|
|
@@ -86,7 +86,7 @@ Read this contract when `okstra preflight` returns this file as `runtimeReadines
|
|
|
86
86
|
"envelope": "answers",
|
|
87
87
|
"key": "rendered-question-text",
|
|
88
88
|
"selection": "selected-label-or-labels-joined-comma-space",
|
|
89
|
-
"multiValue": "
|
|
89
|
+
"multiValue": "raw",
|
|
90
90
|
"submit": "compact-step-json-values"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
@@ -144,7 +144,7 @@ Read this contract when `okstra preflight` returns this file as `runtimeReadines
|
|
|
144
144
|
```
|
|
145
145
|
`recovery` names what to do when a function this relay declares does not work in the live client. `native-question-refused` fires the first time a declared native question function is refused or errors at call time, whatever the reason (the client cannot present the card, the session has no view, the call returns no answer). Do not call it again and do not hunt for another native function: drop every token in `dropSemanticFunctions` from the intersection you computed in Step 1, keep `plain_text_input`, and render every remaining screen through the text mapping (`numbered-single` / `numbered-multi` / `sequential-group`), which preserves every option. Numbered text is the recovery path, so the ban on printing a numbered list does not apply once this fires. The wizard state file is untouched by a refused call — the pending prompt is still the current step, and `okstra wizard step --state-file <path> --no-submit` returns it again. Tell the user in one line that the host picker is unavailable and the run continues as numbered lists, then continue the wizard. Never abandon the run or ask the user to retype an identifier because the picker is gone.
|
|
146
146
|
|
|
147
|
-
For `AskUserQuestion`, map each wizard option to the tool's `{label, description}` input without removing, shortening, or reordering entries. Look up each answer by the exact rendered `question` string sent to the tool, including the progress suffix; the `answers` keys are question text, not positions or headers. A single-select answer is the selected label. A multi-select answer is one string whose selected labels are joined with `, `.
|
|
147
|
+
For `AskUserQuestion`, map each wizard option to the tool's `{label, description}` input without removing, shortening, or reordering entries. Look up each answer by the exact rendered `question` string sent to the tool, including the progress suffix; the `answers` keys are question text, not positions or headers. A single-select answer is the selected label. A multi-select answer is one string whose selected labels are joined with `, `. Submit that string unchanged: labels may themselves contain `, `, so do not split it or map it to values — the wizard decodes it against the complete option list and rejects only a selection it cannot split one way. Native plans are emitted only when the prompt fits `nativeLimits` (unique option labels, two to four options, one to four questions); other prompts use the text mapping so no option is dropped. For a group, key the compact JSON object by the corresponding `questions[].step`; a single-select question stores its matching option value, and a multi-select question stores the host's joined label string unchanged as one string, not a JSON array. Never use the display header as an answer key. The `Q1`…`Q4` headers only satisfy the host tool's short-header input and carry no domain meaning.
|
|
148
148
|
|
|
149
149
|
For a `host-text` mapping, render each numbered item as its option label followed by its description verbatim; preserve every item and its order. The next user message is the raw answer. Do not translate numbers, CSV members, labels, or values before `okstra wizard step`. A sequential group wraps each raw reply in one compact JSON object keyed by `questions[].step`; the wizard owns normalization.
|
|
150
150
|
|
|
@@ -64,8 +64,10 @@ do not rely on inherited cwd, and never use `cd` to move the session.
|
|
|
64
64
|
The run's available MCP servers and tools are listed in the analysis packet's
|
|
65
65
|
`Available MCP Servers` section. When that section is absent or says none, treat
|
|
66
66
|
MCP as unavailable for this run and never infer tools from host configuration.
|
|
67
|
-
Call a listed tool directly by name (`mcp__<server>__<tool
|
|
68
|
-
|
|
67
|
+
Call a listed tool directly by name (`mcp__<server>__<tool>`, where `<server>`
|
|
68
|
+
is the name the server line reports for claude, with spaces and dots as `_`);
|
|
69
|
+
do not shell out via `claude --mcp-cli call ...` and do not run a tool name as a
|
|
70
|
+
Bash command.
|
|
69
71
|
When a server you need is not listed, record `MCP not available for this run` in
|
|
70
72
|
your output rather than guessing a tool name.
|
|
71
73
|
|
|
@@ -69,7 +69,7 @@ Read this contract when `okstra preflight` returns this file as `runtimeReadines
|
|
|
69
69
|
"envelope": "answers",
|
|
70
70
|
"key": "rendered-question-text",
|
|
71
71
|
"selection": "selected-labels-joined-comma-space",
|
|
72
|
-
"submit": "
|
|
72
|
+
"submit": "raw"
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"native-group": {
|
|
@@ -85,7 +85,7 @@ Read this contract when `okstra preflight` returns this file as `runtimeReadines
|
|
|
85
85
|
"envelope": "answers",
|
|
86
86
|
"key": "rendered-question-text",
|
|
87
87
|
"selection": "selected-label-or-labels-joined-comma-space",
|
|
88
|
-
"multiValue": "
|
|
88
|
+
"multiValue": "raw",
|
|
89
89
|
"submit": "compact-step-json-values"
|
|
90
90
|
}
|
|
91
91
|
},
|
|
@@ -143,7 +143,7 @@ Read this contract when `okstra preflight` returns this file as `runtimeReadines
|
|
|
143
143
|
```
|
|
144
144
|
`recovery` names what to do when a function this relay declares does not work in the live client. `native-question-refused` fires the first time a declared native question function is refused or errors at call time, whatever the reason (the client cannot present the card, the session has no view, the call returns no answer). Do not call it again and do not hunt for another native function: drop every token in `dropSemanticFunctions` from the intersection you computed in Step 1, keep `plain_text_input`, and render every remaining screen through the text mapping (`numbered-single` / `numbered-multi` / `sequential-group`), which preserves every option. Numbered text is the recovery path, so the ban on printing a numbered list does not apply once this fires. The wizard state file is untouched by a refused call — the pending prompt is still the current step, and `okstra wizard step --state-file <path> --no-submit` returns it again. Tell the user in one line that the host picker is unavailable and the run continues as numbered lists, then continue the wizard. Never abandon the run or ask the user to retype an identifier because the picker is gone.
|
|
145
145
|
|
|
146
|
-
For `ask_user_question`, map each wizard option to the tool's `{label, description}` input without removing, shortening, or reordering entries. Do not send `preview`. Look up each answer by the exact rendered `question` string sent to the tool, including the progress suffix. A single-select answer is the selected label. A multi-select answer is one string whose selected labels are joined with `, `.
|
|
146
|
+
For `ask_user_question`, map each wizard option to the tool's `{label, description}` input without removing, shortening, or reordering entries. Do not send `preview`. Look up each answer by the exact rendered `question` string sent to the tool, including the progress suffix. A single-select answer is the selected label. A multi-select answer is one string whose selected labels are joined with `, `. Submit that string unchanged: labels may themselves contain `, `, so do not split it or map it to values — the wizard decodes it against the complete option list and rejects only a selection it cannot split one way. Native plans are emitted only when the prompt fits `nativeLimits` (unique option labels, two to fifteen options, one to eight questions); other prompts use the text mapping so no option is dropped. The host adds a free-text row on every question. Do not drop a wizard option to make room for it. If the user types in that row and the text matches no option label, submit the typed text unchanged. For a group, key the compact JSON object by the corresponding `questions[].step`; a single-select question stores its matching option value, and a multi-select question stores the host's joined label string unchanged as one string, not a JSON array.
|
|
147
147
|
|
|
148
148
|
For a `host-text` mapping, render each numbered item as its option label followed by its description verbatim; preserve every item and its order. The next user message is the raw answer. Do not translate numbers, CSV members, labels, or values before `okstra wizard step`. A sequential group wraps each raw reply in one compact JSON object keyed by `questions[].step`; the wizard owns normalization.
|
|
149
149
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Bundled Antigravity provider catalog."""
|
|
2
2
|
from typing import Any, Mapping
|
|
3
3
|
|
|
4
|
+
from okstra_ctl.domain.mcp import McpInventory, McpInventoryProbe, VisibleMcpServer
|
|
4
5
|
from okstra_ctl.domain.provider import (
|
|
5
6
|
LeadLaunchSpec,
|
|
6
7
|
ModelSpec,
|
|
@@ -294,6 +295,31 @@ class AntigravityExecution:
|
|
|
294
295
|
)
|
|
295
296
|
|
|
296
297
|
|
|
298
|
+
_AGY_TABLE_HEADER = ("NAME", "TYPE", "STATUS", "COMMAND/URL")
|
|
299
|
+
_AGY_STATES = {"enabled": "enabled", "disabled": "disabled"}
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
def parse_mcp_list(stdout: str) -> McpInventory:
|
|
303
|
+
"""JSON 출력이 없어 실측한 두 형태만 읽는다(agy 1.4.2): 빈 목록 메시지와
|
|
304
|
+
`NAME TYPE STATUS COMMAND/URL` 표. 그 밖의 출력은 판정 불가로 돌린다."""
|
|
305
|
+
if stdout.strip() == "No MCP servers configured.":
|
|
306
|
+
return McpInventory(listed=True)
|
|
307
|
+
lines = [line for line in stdout.splitlines() if line.strip()]
|
|
308
|
+
if not lines or tuple(lines[0].split()) != _AGY_TABLE_HEADER:
|
|
309
|
+
return McpInventory.unavailable("agy mcp list output format is not recognised")
|
|
310
|
+
servers = []
|
|
311
|
+
for line in lines[1:]:
|
|
312
|
+
cells = line.split()
|
|
313
|
+
state = _AGY_STATES.get(cells[2]) if len(cells) >= 4 else None
|
|
314
|
+
if state is None:
|
|
315
|
+
return McpInventory.unavailable(f"agy mcp list row is not recognised: {line.strip()}")
|
|
316
|
+
servers.append(VisibleMcpServer(cells[0], state))
|
|
317
|
+
return McpInventory(listed=True, servers=tuple(servers))
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
MCP_INVENTORY = McpInventoryProbe(argv=("agy", "mcp", "list"), parse=parse_mcp_list)
|
|
321
|
+
|
|
322
|
+
|
|
297
323
|
def create_provider() -> ProviderSpec:
|
|
298
324
|
return ProviderSpec(
|
|
299
325
|
provider="antigravity",
|
|
@@ -321,6 +347,7 @@ def create_provider() -> ProviderSpec:
|
|
|
321
347
|
executable="agy", model_flag="--model", prompt_flag="--prompt-interactive"
|
|
322
348
|
),
|
|
323
349
|
exec_strategy=AntigravityExecution(),
|
|
350
|
+
mcp_inventory=MCP_INVENTORY,
|
|
324
351
|
execution_normalizer=AntigravityExecutionNormalizer(),
|
|
325
352
|
served_model_normalizer=normalise_served_model,
|
|
326
353
|
)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"""Bundled Claude provider catalog."""
|
|
2
2
|
from typing import Any, Mapping
|
|
3
|
+
from okstra_ctl.domain.mcp import McpInventory, McpInventoryProbe, VisibleMcpServer
|
|
3
4
|
from okstra_ctl.domain.provider import (
|
|
4
5
|
LeadLaunchSpec,
|
|
5
6
|
ModelSpec,
|
|
@@ -154,6 +155,28 @@ class ClaudeExecution:
|
|
|
154
155
|
)
|
|
155
156
|
|
|
156
157
|
|
|
158
|
+
def parse_mcp_list(stdout: str) -> McpInventory:
|
|
159
|
+
"""행 모양은 `<name>: <target> - <status>` 다. 이름 자체에 콜론이 들어가므로
|
|
160
|
+
(`plugin:design:slack`) 첫 `": "` 에서 자르고 상태는 마지막 `" - "` 뒤를 읽는다."""
|
|
161
|
+
servers: list[VisibleMcpServer] = []
|
|
162
|
+
for line in stdout.splitlines():
|
|
163
|
+
head, sep, rest = line.partition(": ")
|
|
164
|
+
if not sep or " - " not in rest:
|
|
165
|
+
continue
|
|
166
|
+
status = rest.rpartition(" - ")[2]
|
|
167
|
+
if "Connected" in status and not status.startswith("✗"):
|
|
168
|
+
state = "enabled"
|
|
169
|
+
elif "Needs authentication" in status:
|
|
170
|
+
state = "needs-auth"
|
|
171
|
+
else:
|
|
172
|
+
state = "disabled"
|
|
173
|
+
servers.append(VisibleMcpServer(head.strip(), state))
|
|
174
|
+
return McpInventory(listed=True, servers=tuple(servers))
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
MCP_INVENTORY = McpInventoryProbe(argv=("claude", "mcp", "list"), parse=parse_mcp_list)
|
|
178
|
+
|
|
179
|
+
|
|
157
180
|
def create_provider() -> ProviderSpec:
|
|
158
181
|
return ProviderSpec(
|
|
159
182
|
provider="claude",
|
|
@@ -188,4 +211,5 @@ def create_provider() -> ProviderSpec:
|
|
|
188
211
|
),
|
|
189
212
|
exec_strategy=ClaudeExecution(),
|
|
190
213
|
served_model_normalizer=normalise_served_model,
|
|
214
|
+
mcp_inventory=MCP_INVENTORY,
|
|
191
215
|
)
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"""Bundled Codex provider catalog."""
|
|
2
|
+
import json
|
|
3
|
+
|
|
4
|
+
from okstra_ctl.domain.mcp import McpInventory, McpInventoryProbe, VisibleMcpServer
|
|
2
5
|
from okstra_ctl.domain.provider import (
|
|
3
6
|
LeadLaunchSpec,
|
|
4
7
|
ModelSpec,
|
|
@@ -126,6 +129,26 @@ class CodexExecution:
|
|
|
126
129
|
)
|
|
127
130
|
|
|
128
131
|
|
|
132
|
+
def parse_mcp_list(stdout: str) -> McpInventory:
|
|
133
|
+
try:
|
|
134
|
+
rows = json.loads(stdout)
|
|
135
|
+
except json.JSONDecodeError as exc:
|
|
136
|
+
return McpInventory.unavailable(f"codex mcp list --json is not JSON ({exc})")
|
|
137
|
+
if not isinstance(rows, list):
|
|
138
|
+
return McpInventory.unavailable("codex mcp list --json is not a list")
|
|
139
|
+
servers = tuple(
|
|
140
|
+
VisibleMcpServer(row["name"], "enabled" if row.get("enabled") else "disabled")
|
|
141
|
+
for row in rows
|
|
142
|
+
if isinstance(row, dict) and isinstance(row.get("name"), str)
|
|
143
|
+
)
|
|
144
|
+
return McpInventory(listed=True, servers=servers)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
MCP_INVENTORY = McpInventoryProbe(
|
|
148
|
+
argv=("codex", "mcp", "list", "--json"), parse=parse_mcp_list,
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
|
|
129
152
|
def create_provider() -> ProviderSpec:
|
|
130
153
|
return ProviderSpec(
|
|
131
154
|
provider="codex",
|
|
@@ -159,4 +182,5 @@ def create_provider() -> ProviderSpec:
|
|
|
159
182
|
exec_strategy=CodexExecution(),
|
|
160
183
|
execution_normalizer=CodexExecutionNormalizer(),
|
|
161
184
|
served_model_normalizer=normalise_served_model,
|
|
185
|
+
mcp_inventory=MCP_INVENTORY,
|
|
162
186
|
)
|
|
@@ -4,6 +4,7 @@ from pathlib import Path
|
|
|
4
4
|
from typing import Any, Mapping
|
|
5
5
|
from urllib.parse import quote
|
|
6
6
|
|
|
7
|
+
from okstra_ctl.domain.mcp import McpInventory, McpInventoryProbe, VisibleMcpServer
|
|
7
8
|
from okstra_ctl.domain.provider import (
|
|
8
9
|
LeadLaunchSpec,
|
|
9
10
|
ModelSpec,
|
|
@@ -292,6 +293,29 @@ class GrokExecution:
|
|
|
292
293
|
)
|
|
293
294
|
|
|
294
295
|
|
|
296
|
+
def parse_mcp_list(stdout: str) -> McpInventory:
|
|
297
|
+
"""실측은 빈 목록뿐이었다(grok 1.0.46). 행 형식을 모르므로 `name` 이 없는
|
|
298
|
+
행은 빈 목록이 아니라 판정 불가로 돌린다."""
|
|
299
|
+
try:
|
|
300
|
+
rows = json.loads(stdout)
|
|
301
|
+
except json.JSONDecodeError as exc:
|
|
302
|
+
return McpInventory.unavailable(f"grok mcp list --json is not JSON ({exc})")
|
|
303
|
+
if not isinstance(rows, list):
|
|
304
|
+
return McpInventory.unavailable("grok mcp list --json is not a list")
|
|
305
|
+
servers: list[VisibleMcpServer] = []
|
|
306
|
+
for row in rows:
|
|
307
|
+
if not isinstance(row, dict) or not isinstance(row.get("name"), str):
|
|
308
|
+
return McpInventory.unavailable("grok mcp list --json row has no name field")
|
|
309
|
+
enabled = row.get("enabled", True) is not False
|
|
310
|
+
servers.append(VisibleMcpServer(row["name"], "enabled" if enabled else "disabled"))
|
|
311
|
+
return McpInventory(listed=True, servers=tuple(servers))
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
MCP_INVENTORY = McpInventoryProbe(
|
|
315
|
+
argv=("grok", "mcp", "list", "--json"), parse=parse_mcp_list,
|
|
316
|
+
)
|
|
317
|
+
|
|
318
|
+
|
|
295
319
|
def create_provider() -> ProviderSpec:
|
|
296
320
|
return ProviderSpec(
|
|
297
321
|
provider="grok",
|
|
@@ -324,4 +348,5 @@ def create_provider() -> ProviderSpec:
|
|
|
324
348
|
lead_launch=GROK_LEAD_LAUNCH,
|
|
325
349
|
exec_strategy=GrokExecution(),
|
|
326
350
|
served_model_normalizer=normalise_served_model,
|
|
351
|
+
mcp_inventory=MCP_INVENTORY,
|
|
327
352
|
)
|
|
@@ -7,7 +7,11 @@ from dataclasses import replace
|
|
|
7
7
|
from pathlib import Path
|
|
8
8
|
from typing import Any
|
|
9
9
|
|
|
10
|
-
from okstra_ctl.adapters.providers.claude.adapter import
|
|
10
|
+
from okstra_ctl.adapters.providers.claude.adapter import (
|
|
11
|
+
ClaudeExecution,
|
|
12
|
+
parse_mcp_list as _claude_mcp_list,
|
|
13
|
+
)
|
|
14
|
+
from okstra_ctl.domain.mcp import McpInventory, McpInventoryProbe
|
|
11
15
|
from okstra_ctl.domain.provider import ModelSpec, ProviderSpec, ServedModelAttestation
|
|
12
16
|
from okstra_ctl.domain.role import ROLE_DEFINITIONS
|
|
13
17
|
from okstra_ctl.domain.worker_exec import ExecCommand, PolicySupport, WorkerExecRequest
|
|
@@ -111,6 +115,20 @@ class ZaiExecution:
|
|
|
111
115
|
return ClaudeExecution().policy_support()
|
|
112
116
|
|
|
113
117
|
|
|
118
|
+
def parse_mcp_list(stdout: str) -> McpInventory:
|
|
119
|
+
"""워커는 `--setting-sources ""` 로 떠서 사용자 범위 서버는 빠지고 claude.ai
|
|
120
|
+
커넥터만 남는다(2026-10-18, claude 2.1.302 실측)."""
|
|
121
|
+
listed = _claude_mcp_list(stdout)
|
|
122
|
+
return McpInventory(
|
|
123
|
+
listed=True,
|
|
124
|
+
servers=tuple(s for s in listed.servers if s.name.startswith("claude.ai ")),
|
|
125
|
+
note="calls through the z.ai backend are not verified",
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
MCP_INVENTORY = McpInventoryProbe(argv=("claude", "mcp", "list"), parse=parse_mcp_list)
|
|
130
|
+
|
|
131
|
+
|
|
114
132
|
def create_provider() -> ProviderSpec:
|
|
115
133
|
roles = frozenset(role.id for role in ROLE_DEFINITIONS if role.id != "leader")
|
|
116
134
|
return ProviderSpec(
|
|
@@ -126,4 +144,5 @@ def create_provider() -> ProviderSpec:
|
|
|
126
144
|
}),
|
|
127
145
|
exec_strategy=ZaiExecution(),
|
|
128
146
|
served_model_normalizer=normalise_served_model,
|
|
147
|
+
mcp_inventory=MCP_INVENTORY,
|
|
129
148
|
)
|
|
@@ -340,6 +340,9 @@ def _materialize_run(
|
|
|
340
340
|
),
|
|
341
341
|
)
|
|
342
342
|
if args.audience == "report-writer" and uses_report_contract_v3(manifest):
|
|
343
|
+
# 조립이 `meta.reportLanguage` 로 옮기는 값과 같은 출처여야 한다.
|
|
344
|
+
report_language = str(manifest.get("reportLanguage") or "en")
|
|
345
|
+
anchor_lines = anchor_lines + (f"**Report Language:** {report_language}",)
|
|
343
346
|
body = _with_report_writer_sections(
|
|
344
347
|
args,
|
|
345
348
|
project_root,
|