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 +1 -1
- package/runtime/BUILD.json +2 -2
- package/runtime/agents/SKILL.md +19 -13
package/package.json
CHANGED
package/runtime/BUILD.json
CHANGED
package/runtime/agents/SKILL.md
CHANGED
|
@@ -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
|
|
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-
|
|
157
|
-
3. `instruction-set/analysis-profile.md`
|
|
158
|
-
4. `
|
|
159
|
-
5.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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
|
|