okstra 0.34.0 → 0.34.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "okstra",
3
- "version": "0.34.0",
3
+ "version": "0.34.1",
4
4
  "description": "Multi-agent cross-verification orchestrator runtime + Claude Code skills.",
5
5
  "license": "MIT",
6
6
  "author": "devonshin",
@@ -1,5 +1,5 @@
1
1
  {
2
- "package": "0.34.0",
3
- "builtAt": "2026-05-19T16:31:42.883Z",
2
+ "package": "0.34.1",
3
+ "builtAt": "2026-05-19T16:34:08.806Z",
4
4
  "repoRoot": "/home/runner/work/okstra/okstra"
5
5
  }
@@ -150,21 +150,27 @@ Executor is chosen at run-prep time via `--executor <claude|codex|gemini>` (or `
150
150
 
151
151
  Treat cross verify input as a task bundle, not as a single file. If the user did not specify an explicit task key or task path, use `.project-docs/okstra/discovery/latest-task.json` as the current-task convenience pointer. If task browsing, task-id disambiguation, or project-level task inventory is needed, inspect `.project-docs/okstra/discovery/task-catalog.json` first.
152
152
 
153
- After context-loader completes, read the following files. The ordering below reflects logical priority for synthesis; for execution, lead MUST issue all Read calls **in a single message (parallel reads)** these files are independent and serial reads waste several seconds per run with no benefit.
153
+ After context-loader completes, read **only the five mandatory files below** in a single parallel-Read message at the start of Phase 1. The other instruction-set files are loaded lazily at the phase that actually needs them see "Lazy reading discipline" below. This split came from observed lead-token bloat: in `fontsninja-classifier-v2:dev-9461:dev-9495` RD-001 the lead burned 71 M tokens (97 % cache_read) largely because every phase entry re-absorbed a 93 KB instruction-set baseline that included files only one downstream phase ever actually used.
154
+
155
+ **Mandatory at Phase 1 start (parallel Read, one message):**
154
156
 
155
157
  1. `task-manifest.json` (found by context-loader)
156
- 2. `task-index.md` only if a quick human summary is useful
157
- 3. `instruction-set/analysis-profile.md`
158
- 4. `instruction-set/analysis-material.md`
159
- 5. `instruction-set/reference-expectations.md`
160
- 6. `instruction-set/task-brief.md`
161
- 7. `instruction-set/final-report-template.md`
162
- 8. the current run manifest under `runs/<task-type>/manifests/`
163
- 9. the current run team-state artifact
164
-
165
- Extract: task key, task type, work category, workflow lifecycle snapshot, selected worker roster, assigned models, worker result paths, worker prompt history paths, current run prompt directory, final report path, final status path, validator path, resume helper path, config-file references, deployment-manifest references, and their expected values or invariants.
166
-
167
- If previous run reports exist, use as historical context only. If `history/timeline.json` exists, use it to review past runs. If discovery metadata or current artifacts conflict with a newer user instruction, prefer the user instruction. If `reference-expectations.md` explicitly says expectations were not provided, treat that as missing information and say `I don't know` rather than inventing expected states.
158
+ 2. `instruction-set/task-brief.md` needed to compose every worker prompt
159
+ 3. `instruction-set/analysis-profile.md` — needed to compose worker prompts and pick the right `Required workers:` block
160
+ 4. the current run manifest under `runs/<task-type>/manifests/`
161
+ 5. the current run team-state artifact
162
+
163
+ **Lazy reading discipline (do NOT read at Phase 1):**
164
+
165
+ - `task-index.md` — only when the user explicitly asks for a human summary or when history disambiguation is required.
166
+ - `instruction-set/analysis-material.md` — read at Phase 2 only if it is referenced by `analysis-profile.md` or by the brief. Many task bundles have no material file (the placeholder `> 자료가 제공되지 않았습니다` is canonical); in that case skip.
167
+ - `instruction-set/reference-expectations.md` read at Phase 6 synthesis (or whenever the report-writer worker is dispatched) it informs the match/gap assessment, not worker dispatch.
168
+ - `instruction-set/final-report-template.md` — never read by Lead. The Report writer worker reads it as part of its own [Required reading]; Lead only references its path when dispatching.
169
+ - `history/timeline.json` read only on user request or when carry-in resolution requires it.
170
+
171
+ Extract from the five mandatory files: task key, task type, work category, workflow lifecycle snapshot, selected worker roster, assigned models, worker result paths, worker prompt history paths, current run prompt directory, final report path, final status path, validator path, resume helper path, config-file references, deployment-manifest references, and their expected values or invariants.
172
+
173
+ If previous run reports exist, use as historical context only. If discovery metadata or current artifacts conflict with a newer user instruction, prefer the user instruction. If `reference-expectations.md` explicitly says expectations were not provided (you can confirm this without reading the file if the brief's "Expected state" section is empty), treat that as missing information and say `I don't know` rather than inventing expected states.
168
174
 
169
175
  ## Phase 2 — Phase 5: Prompt preparation, team creation, execution, fallback
170
176