okstra 0.82.1 → 0.83.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/README.kr.md +7 -6
- package/README.md +6 -6
- package/docs/kr/architecture.md +8 -7
- package/docs/kr/cli.md +2 -2
- package/docs/kr/performance-improvement-plan-v2.md +14 -14
- package/docs/project-structure-overview.md +7 -8
- package/docs/superpowers/plans/2026-06-15-coding-preflight-pack-dispatch-path.md +504 -0
- package/docs/superpowers/plans/2026-06-15-internal-skill-migration-final-fixups.md +342 -0
- package/docs/superpowers/plans/2026-06-15-internal-skill-migration-fixups.md +258 -0
- package/docs/superpowers/plans/2026-06-15-internal-skill-migration-remaining-fixups.md +387 -0
- package/docs/superpowers/plans/2026-06-15-internal-skill-resource-migration.md +749 -0
- package/docs/superpowers/plans/2026-06-15-worker-prompt-anchor-final-fixups.md +828 -0
- package/docs/superpowers/plans/2026-06-15-worker-prompt-header-error-contract.md +490 -0
- package/docs/task-process/README.md +1 -1
- package/docs/task-process/error-analysis.md +1 -1
- package/docs/task-process/final-verification.md +1 -1
- package/docs/task-process/implementation-planning.md +1 -1
- package/docs/task-process/implementation.md +1 -1
- package/docs/task-process/release-handoff.md +1 -1
- package/docs/task-process/requirements-discovery.md +2 -2
- package/package.json +1 -1
- package/runtime/BUILD.json +2 -2
- package/runtime/agents/TODO.md +2 -0
- package/runtime/agents/workers/claude-worker.md +8 -8
- package/runtime/agents/workers/codex-worker.md +8 -8
- package/runtime/agents/workers/gemini-worker.md +8 -8
- package/runtime/agents/workers/report-writer-worker.md +2 -2
- package/runtime/bin/lib/okstra/globals.sh +0 -1
- package/runtime/bin/okstra-wrapper-status.py +1 -1
- package/runtime/{skills/okstra-coding-preflight → prompts/coding-preflight}/languages/python.md +2 -2
- package/runtime/{skills/okstra-coding-preflight → prompts/coding-preflight}/languages/rust.md +1 -1
- package/runtime/{skills/okstra-coding-preflight/SKILL.md → prompts/coding-preflight/overview.md} +27 -38
- package/runtime/prompts/launch.template.md +5 -3
- package/runtime/{skills/okstra-context-loader/SKILL.md → prompts/lead/context-loader.md} +7 -14
- package/runtime/{skills/okstra-convergence/SKILL.md → prompts/lead/convergence.md} +12 -19
- package/runtime/{agents/SKILL.md → prompts/lead/okstra-lead-contract.md} +53 -59
- package/runtime/{skills/okstra-report-writer/SKILL.md → prompts/lead/report-writer.md} +12 -19
- package/runtime/{skills/okstra-team-contract/SKILL.md → prompts/lead/team-contract.md} +13 -19
- package/runtime/prompts/profiles/_coding-conventions-preflight.md +2 -2
- package/runtime/prompts/profiles/_common-contract.md +2 -2
- package/runtime/prompts/profiles/_implementation-executor.md +2 -2
- package/runtime/prompts/profiles/_implementation-verifier.md +2 -2
- package/runtime/prompts/profiles/error-analysis.md +2 -2
- package/runtime/prompts/profiles/final-verification.md +1 -1
- package/runtime/prompts/profiles/implementation-planning.md +4 -4
- package/runtime/prompts/profiles/requirements-discovery.md +2 -2
- package/runtime/python/okstra_ctl/codex_dispatch.py +12 -61
- package/runtime/python/okstra_ctl/context_cost.py +14 -11
- package/runtime/python/okstra_ctl/dispatch_core.py +36 -13
- package/runtime/python/okstra_ctl/paths.py +27 -1
- package/runtime/python/okstra_ctl/render.py +62 -8
- package/runtime/python/okstra_ctl/run.py +5 -5
- package/runtime/python/okstra_ctl/worker_prompt_headers.py +126 -0
- package/runtime/python/okstra_token_usage/claude.py +1 -1
- package/runtime/python/okstra_token_usage/collect.py +1 -1
- package/runtime/templates/reports/task-brief.template.md +2 -2
- package/runtime/templates/worker-prompt-preamble.md +2 -2
- package/runtime/validators/lib/validate-assets.sh +12 -4
- package/runtime/validators/validate-run.py +3 -3
- package/runtime/validators/validate_session_conformance.py +11 -11
- package/src/install.mjs +95 -81
- package/src/skill-catalog.mjs +35 -0
- package/src/uninstall.mjs +5 -0
- /package/runtime/{skills/okstra-coding-preflight/architecture → prompts/coding-preflight/architectures}/hexagonal.md +0 -0
- /package/runtime/{skills/okstra-coding-preflight → prompts/coding-preflight}/clean-code.md +0 -0
- /package/runtime/{skills/okstra-coding-preflight/languages/nodejs.md → prompts/coding-preflight/frameworks/node-server.md} +0 -0
- /package/runtime/{skills/okstra-coding-preflight → prompts/coding-preflight}/languages/java.md +0 -0
- /package/runtime/{skills/okstra-coding-preflight → prompts/coding-preflight}/languages/javascript-typescript.md +0 -0
- /package/runtime/{skills/okstra-coding-preflight → prompts/coding-preflight}/languages/kotlin.md +0 -0
- /package/runtime/{skills/okstra-coding-preflight → prompts/coding-preflight}/languages/sql.md +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// Single source of truth for which okstra skills are user-facing and which
|
|
2
|
+
// former internal skill directories must be pruned from agent skill homes on
|
|
3
|
+
// (re)install. The Claude plugin manifest (.claude-plugin/plugin.json) and the
|
|
4
|
+
// installer both derive their skill list from here, so the public surface
|
|
5
|
+
// cannot drift between discovery and install.
|
|
6
|
+
|
|
7
|
+
export const USER_SKILL_NAMES = Object.freeze([
|
|
8
|
+
"okstra-setup",
|
|
9
|
+
"okstra-brief",
|
|
10
|
+
"okstra-run",
|
|
11
|
+
"okstra-memory",
|
|
12
|
+
"okstra-inspect",
|
|
13
|
+
"okstra-schedule",
|
|
14
|
+
]);
|
|
15
|
+
|
|
16
|
+
// Names okstra used to install as skills before lead/internal contracts moved
|
|
17
|
+
// into the runtime resource tree (~/.okstra/prompts/). Install prunes these
|
|
18
|
+
// exact directories from each target skill home so upgrades do not leave the
|
|
19
|
+
// old internal skills behind. Exact-name only — never wildcard.
|
|
20
|
+
export const OBSOLETE_INTERNAL_SKILL_NAMES = Object.freeze([
|
|
21
|
+
"okstra",
|
|
22
|
+
"okstra-context-loader",
|
|
23
|
+
"okstra-team-contract",
|
|
24
|
+
"okstra-convergence",
|
|
25
|
+
"okstra-report-writer",
|
|
26
|
+
"okstra-coding-preflight",
|
|
27
|
+
]);
|
|
28
|
+
|
|
29
|
+
export function userSkillNames() {
|
|
30
|
+
return [...USER_SKILL_NAMES];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function obsoleteInternalSkillNames() {
|
|
34
|
+
return [...OBSOLETE_INTERNAL_SKILL_NAMES];
|
|
35
|
+
}
|
package/src/uninstall.mjs
CHANGED
|
@@ -206,6 +206,11 @@ export async function runUninstall(args) {
|
|
|
206
206
|
// never removed it, leaving a stale final-report schema behind.
|
|
207
207
|
await removePath(join(paths.home, "schemas"), opts);
|
|
208
208
|
|
|
209
|
+
// prompts/ tree — installed by copy mode (runtime/prompts): lead contracts
|
|
210
|
+
// + coding-preflight resource pack. Remove so an upgrade never serves stale
|
|
211
|
+
// operating contracts.
|
|
212
|
+
await removePath(join(paths.home, "prompts"), opts);
|
|
213
|
+
|
|
209
214
|
// Remove the skills we own. Manifest v2 records every target root; legacy
|
|
210
215
|
// manifests fall back to Claude-only names when the runtime manifest says
|
|
211
216
|
// Claude assets may have been installed.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/runtime/{skills/okstra-coding-preflight → prompts/coding-preflight}/languages/java.md
RENAMED
|
File without changes
|
|
File without changes
|
/package/runtime/{skills/okstra-coding-preflight → prompts/coding-preflight}/languages/kotlin.md
RENAMED
|
File without changes
|
/package/runtime/{skills/okstra-coding-preflight → prompts/coding-preflight}/languages/sql.md
RENAMED
|
File without changes
|