@duypham93/openkit 0.2.3 → 0.2.5
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.md +14 -0
- package/agents/architect-agent.md +13 -7
- package/agents/ba-agent.md +11 -5
- package/agents/code-reviewer.md +7 -1
- package/agents/fullstack-agent.md +9 -2
- package/agents/master-orchestrator.md +19 -11
- package/agents/pm-agent.md +11 -5
- package/agents/qa-agent.md +13 -6
- package/agents/tech-lead-agent.md +12 -6
- package/assets/install-bundle/opencode/agents/ArchitectAgent.md +13 -7
- package/assets/install-bundle/opencode/agents/BAAgent.md +11 -5
- package/assets/install-bundle/opencode/agents/CodeReviewer.md +7 -1
- package/assets/install-bundle/opencode/agents/FullstackAgent.md +9 -2
- package/assets/install-bundle/opencode/agents/MasterOrchestrator.md +19 -11
- package/assets/install-bundle/opencode/agents/PMAgent.md +11 -5
- package/assets/install-bundle/opencode/agents/QAAgent.md +13 -6
- package/assets/install-bundle/opencode/agents/TechLeadAgent.md +12 -6
- package/assets/install-bundle/opencode/commands/brainstorm.md +13 -6
- package/assets/install-bundle/opencode/commands/delivery.md +15 -8
- package/assets/install-bundle/opencode/commands/execute-plan.md +15 -8
- package/assets/install-bundle/opencode/commands/migrate.md +16 -9
- package/assets/install-bundle/opencode/commands/quick-task.md +14 -7
- package/assets/install-bundle/opencode/commands/task.md +16 -8
- package/assets/install-bundle/opencode/commands/write-plan.md +15 -8
- package/commands/brainstorm.md +13 -6
- package/commands/delivery.md +15 -8
- package/commands/execute-plan.md +15 -8
- package/commands/migrate.md +16 -9
- package/commands/quick-task.md +14 -7
- package/commands/task.md +16 -8
- package/commands/write-plan.md +15 -8
- package/docs/operator/README.md +9 -0
- package/package.json +1 -1
- package/src/global/paths.js +6 -0
- package/src/global/workspace-shim.js +104 -0
- package/src/global/workspace-state.js +3 -0
- package/tests/cli/openkit-cli.test.js +5 -0
|
@@ -5,7 +5,13 @@ mode: subagent
|
|
|
5
5
|
|
|
6
6
|
# Tech Lead Agent - Delivery Planner
|
|
7
7
|
|
|
8
|
-
You are the Tech Lead for OpenKit full-delivery and migration work.
|
|
8
|
+
You are the Tech Lead for OpenKit full-delivery and migration work. `.opencode/openkit/context/core/workflow.md` defines lane behavior, stage order, and approvals; this file defines only the runtime contract for `TechLeadAgent`.
|
|
9
|
+
|
|
10
|
+
## Global runtime path rule
|
|
11
|
+
|
|
12
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs, templates, and workflow tools.
|
|
13
|
+
- Read canonical OpenKit files from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/`.
|
|
14
|
+
- Use `.opencode/openkit/workflow-state.json` when resuming or validating handoff context.
|
|
9
15
|
|
|
10
16
|
## Required Inputs
|
|
11
17
|
|
|
@@ -16,10 +22,10 @@ You are the Tech Lead for OpenKit full-delivery and migration work. `context/cor
|
|
|
16
22
|
|
|
17
23
|
## Required Context Reads
|
|
18
24
|
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
25
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
26
|
+
- `.opencode/openkit/context/core/code-quality.md`
|
|
27
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
28
|
+
- `.opencode/openkit/docs/templates/implementation-plan-template.md` when present
|
|
23
29
|
- the approved architecture, spec, and brief artifacts that define scope and acceptance
|
|
24
30
|
|
|
25
31
|
## Role-Local Responsibilities
|
|
@@ -33,7 +39,7 @@ You are the Tech Lead for OpenKit full-delivery and migration work. `context/cor
|
|
|
33
39
|
## Expected Output Artifact
|
|
34
40
|
|
|
35
41
|
- implementation plan at `docs/plans/YYYY-MM-DD-<feature>.md`
|
|
36
|
-
- start from
|
|
42
|
+
- start from `.opencode/openkit/docs/templates/implementation-plan-template.md` when available so `FullstackAgent` receives a stable execution contract
|
|
37
43
|
|
|
38
44
|
## Approval-Ready Conditions
|
|
39
45
|
|
|
@@ -6,6 +6,13 @@ description: "Starts Migration or Full Delivery design exploration with the brai
|
|
|
6
6
|
|
|
7
7
|
Use `/brainstorm` when work is already in `Migration` or `Full Delivery` mode and the team needs to refine design direction before implementation planning.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
## Preconditions
|
|
10
17
|
|
|
11
18
|
- The current `mode` must be `full` or `migration`
|
|
@@ -14,11 +21,11 @@ Use `/brainstorm` when work is already in `Migration` or `Full Delivery` mode an
|
|
|
14
21
|
|
|
15
22
|
## Canonical docs to load
|
|
16
23
|
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- `.opencode/workflow-state.json` when resuming
|
|
24
|
+
- `.opencode/openkit/AGENTS.md`
|
|
25
|
+
- `.opencode/openkit/context/navigation.md`
|
|
26
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
27
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
28
|
+
- `.opencode/openkit/workflow-state.json` when resuming
|
|
22
29
|
- skill `brainstorming`
|
|
23
30
|
|
|
24
31
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
@@ -39,6 +46,6 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
39
46
|
|
|
40
47
|
## Validation guidance
|
|
41
48
|
|
|
42
|
-
- Use `node .opencode/workflow-state.js show` or `node .opencode/workflow-state.js validate` when resumable state needs confirmation
|
|
49
|
+
- Use `node .opencode/openkit/workflow-state.js show` or `node .opencode/openkit/workflow-state.js validate` when resumable state needs confirmation
|
|
43
50
|
- Brainstorming output is design and workflow evidence, not app build/lint/test evidence
|
|
44
51
|
- If the repository has no app-native validation commands for the eventual implementation, record that constraint honestly in downstream artifacts
|
|
@@ -6,6 +6,13 @@ description: "Starts the Full Delivery lane for feature work and higher-risk cha
|
|
|
6
6
|
|
|
7
7
|
Use `/delivery` when work needs the full lane from the start or when quick or migration work has already escalated.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
## Preconditions
|
|
10
17
|
|
|
11
18
|
- The request satisfies one or more full-lane triggers in `context/core/workflow.md`
|
|
@@ -13,13 +20,13 @@ Use `/delivery` when work needs the full lane from the start or when quick or mi
|
|
|
13
20
|
|
|
14
21
|
## Canonical docs to load
|
|
15
22
|
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
- `.opencode/workflow-state.json` when resuming
|
|
23
|
+
- `.opencode/openkit/AGENTS.md`
|
|
24
|
+
- `.opencode/openkit/context/navigation.md`
|
|
25
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
26
|
+
- `.opencode/openkit/context/core/lane-selection.md`
|
|
27
|
+
- `.opencode/openkit/context/core/approval-gates.md`
|
|
28
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
29
|
+
- `.opencode/openkit/workflow-state.json` when resuming
|
|
23
30
|
|
|
24
31
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
25
32
|
|
|
@@ -40,6 +47,6 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
40
47
|
|
|
41
48
|
## Validation guidance
|
|
42
49
|
|
|
43
|
-
- Use `node .opencode/workflow-state.js show` or `node .opencode/workflow-state.js validate` when resumable full-mode state needs confirmation
|
|
50
|
+
- Use `node .opencode/openkit/workflow-state.js show` or `node .opencode/openkit/workflow-state.js validate` when resumable full-mode state needs confirmation
|
|
44
51
|
- Keep implementation and QA validation honest to the repository's actual tooling
|
|
45
52
|
- Do not overstate automation when the repository still lacks app-native build, lint, or test commands
|
|
@@ -6,6 +6,13 @@ description: "Executes an approved Full Delivery or Migration implementation pla
|
|
|
6
6
|
|
|
7
7
|
Use `/execute-plan` when an approved Full Delivery or Migration implementation plan is ready to be carried out.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
## Preconditions
|
|
10
17
|
|
|
11
18
|
- The current `mode` must be `full` or `migration`
|
|
@@ -14,13 +21,13 @@ Use `/execute-plan` when an approved Full Delivery or Migration implementation p
|
|
|
14
21
|
|
|
15
22
|
## Canonical docs to load
|
|
16
23
|
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
- `.opencode/workflow-state.json`
|
|
24
|
+
- `.opencode/openkit/AGENTS.md`
|
|
25
|
+
- `.opencode/openkit/context/navigation.md`
|
|
26
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
27
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
28
|
+
- `.opencode/openkit/context/core/session-resume.md`
|
|
29
|
+
- `.opencode/openkit/context/core/workflow-state-schema.md`
|
|
30
|
+
- `.opencode/openkit/workflow-state.json`
|
|
24
31
|
|
|
25
32
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
26
33
|
|
|
@@ -39,6 +46,6 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
39
46
|
|
|
40
47
|
## Validation guidance
|
|
41
48
|
|
|
42
|
-
- Run `node .opencode/workflow-state.js validate` when you need to confirm workflow-state integrity before execution
|
|
49
|
+
- Run `node .opencode/openkit/workflow-state.js validate` when you need to confirm workflow-state integrity before execution
|
|
43
50
|
- Use repo-native app build, lint, or test commands only if they actually exist and are documented
|
|
44
51
|
- If the repository still lacks app-native validation tooling, report manual checks or other real evidence instead of inventing automation
|
|
@@ -6,6 +6,13 @@ description: "Starts the Migration lane for upgrades, framework migrations, and
|
|
|
6
6
|
|
|
7
7
|
Use `/migrate` when work is primarily a project migration or upgrade effort such as framework version jumps, dependency replacement, legacy API removal, or compatibility remediation.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs, templates, and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
Core migration principle:
|
|
10
17
|
|
|
11
18
|
- preserve behavior first, decouple blockers where necessary, and migrate incrementally instead of rewriting the product
|
|
@@ -20,15 +27,15 @@ Core migration principle:
|
|
|
20
27
|
|
|
21
28
|
## Canonical docs to load
|
|
22
29
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
- `.opencode/workflow-state.json` when resuming
|
|
30
|
+
- `.opencode/openkit/AGENTS.md`
|
|
31
|
+
- `.opencode/openkit/context/navigation.md`
|
|
32
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
33
|
+
- `.opencode/openkit/context/core/lane-selection.md`
|
|
34
|
+
- `.opencode/openkit/context/core/approval-gates.md`
|
|
35
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
36
|
+
- `.opencode/openkit/docs/templates/migration-baseline-checklist.md`
|
|
37
|
+
- `.opencode/openkit/docs/templates/migration-verify-checklist.md`
|
|
38
|
+
- `.opencode/openkit/workflow-state.json` when resuming
|
|
32
39
|
|
|
33
40
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
34
41
|
|
|
@@ -6,6 +6,13 @@ description: "Starts the Quick Task lane for narrow, low-risk work."
|
|
|
6
6
|
|
|
7
7
|
Use `/quick-task` when the user wants to enter the quick lane directly for bounded small-to-medium work that stays within the quick-lane limits, remains lower risk, and uses a short verification path.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/` or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
## Preconditions
|
|
10
17
|
|
|
11
18
|
- The request must satisfy quick-lane criteria in `context/core/workflow.md`
|
|
@@ -13,12 +20,12 @@ Use `/quick-task` when the user wants to enter the quick lane directly for bound
|
|
|
13
20
|
|
|
14
21
|
## Canonical docs to load
|
|
15
22
|
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- `.opencode/workflow-state.json` when resuming
|
|
23
|
+
- `.opencode/openkit/AGENTS.md`
|
|
24
|
+
- `.opencode/openkit/context/navigation.md`
|
|
25
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
26
|
+
- `.opencode/openkit/context/core/lane-selection.md`
|
|
27
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
28
|
+
- `.opencode/openkit/workflow-state.json` when resuming
|
|
22
29
|
|
|
23
30
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
24
31
|
|
|
@@ -42,4 +49,4 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
42
49
|
|
|
43
50
|
- Keep quick-task validation short and real, following `context/core/project-config.md`
|
|
44
51
|
- If no app-native test or lint command exists, document the manual or artifact-based verification path clearly
|
|
45
|
-
- Use `node .opencode/workflow-state.js validate` only for workflow-state checks, not as a substitute for application testing
|
|
52
|
+
- Use `node .opencode/openkit/workflow-state.js validate` only for workflow-state checks, not as a substitute for application testing
|
|
@@ -6,6 +6,14 @@ description: "Default entry command. Lets the Master Orchestrator classify work
|
|
|
6
6
|
|
|
7
7
|
Use `/task` when the user wants the default entrypoint and expects the Master Orchestrator to choose the lane.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/workflow-state.json`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- For workflow-state CLI operations in global mode, use `node .opencode/openkit/workflow-state.js <command>`.
|
|
15
|
+
- Use the target repository only for product/application code, local build tooling, and project-specific docs.
|
|
16
|
+
|
|
9
17
|
## Preconditions
|
|
10
18
|
|
|
11
19
|
- A user request exists with enough information to summarize the initial goal, scope, and risk
|
|
@@ -13,12 +21,12 @@ Use `/task` when the user wants the default entrypoint and expects the Master Or
|
|
|
13
21
|
|
|
14
22
|
## Canonical docs to load
|
|
15
23
|
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- `.opencode/workflow-state.json` when resuming
|
|
24
|
+
- `.opencode/openkit/AGENTS.md`
|
|
25
|
+
- `.opencode/openkit/context/navigation.md`
|
|
26
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
27
|
+
- `.opencode/openkit/context/core/lane-selection.md`
|
|
28
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
29
|
+
- `.opencode/openkit/workflow-state.json` when resuming
|
|
22
30
|
|
|
23
31
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
24
32
|
|
|
@@ -41,6 +49,6 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
41
49
|
|
|
42
50
|
## Validation guidance
|
|
43
51
|
|
|
44
|
-
- Use `node .opencode/workflow-state.js status` or `node .opencode/workflow-state.js show` to inspect resumable state before rerouting when needed
|
|
45
|
-
- Use `node .opencode/workflow-state.js validate`
|
|
52
|
+
- Use `node .opencode/openkit/workflow-state.js status` or `node .opencode/openkit/workflow-state.js show` to inspect resumable state before rerouting when needed
|
|
53
|
+
- Use `node .opencode/openkit/workflow-state.js validate` to validate stale or manually edited state when needed
|
|
46
54
|
- Do not imply repo-native app build, lint, or test commands exist when this repository has not defined them
|
|
@@ -6,6 +6,13 @@ description: "Triggers the writing-plans skill to create bite-sized tasks from s
|
|
|
6
6
|
|
|
7
7
|
Use `/write-plan` to create an implementation plan for work currently in `Full Delivery` or `Migration` mode.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs, templates, and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
## Preconditions
|
|
10
17
|
|
|
11
18
|
- The current `mode` must be `full` or `migration`
|
|
@@ -15,13 +22,13 @@ Use `/write-plan` to create an implementation plan for work currently in `Full D
|
|
|
15
22
|
|
|
16
23
|
## Canonical docs to load
|
|
17
24
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
- `.opencode/workflow-state.json`
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
+
- `.opencode/openkit/AGENTS.md`
|
|
26
|
+
- `.opencode/openkit/context/navigation.md`
|
|
27
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
28
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
29
|
+
- `.opencode/openkit/workflow-state.json`
|
|
30
|
+
- `.opencode/openkit/docs/templates/implementation-plan-template.md`
|
|
31
|
+
- `.opencode/openkit/docs/templates/migration-report-template.md` when migration work benefits from one running artifact
|
|
25
32
|
- skill `writing-plans`
|
|
26
33
|
|
|
27
34
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
@@ -47,4 +54,4 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
47
54
|
- The plan should name the strongest real validation path available in the repository
|
|
48
55
|
- In migration mode, use `migration_report` when handoffs would benefit from a single running narrative instead of scattered notes
|
|
49
56
|
- If no repo-native app build, lint, or test command exists, say that explicitly in the plan instead of guessing a stack command
|
|
50
|
-
- Use `node .opencode/workflow-state.js validate` only to confirm workflow state, not to stand in for implementation verification
|
|
57
|
+
- Use `node .opencode/openkit/workflow-state.js validate` only to confirm workflow state, not to stand in for implementation verification
|
package/commands/brainstorm.md
CHANGED
|
@@ -6,6 +6,13 @@ description: "Starts Migration or Full Delivery design exploration with the brai
|
|
|
6
6
|
|
|
7
7
|
Use `/brainstorm` when work is already in `Migration` or `Full Delivery` mode and the team needs to refine design direction before implementation planning.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
## Preconditions
|
|
10
17
|
|
|
11
18
|
- The current `mode` must be `full` or `migration`
|
|
@@ -14,11 +21,11 @@ Use `/brainstorm` when work is already in `Migration` or `Full Delivery` mode an
|
|
|
14
21
|
|
|
15
22
|
## Canonical docs to load
|
|
16
23
|
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- `.opencode/workflow-state.json` when resuming
|
|
24
|
+
- `.opencode/openkit/AGENTS.md`
|
|
25
|
+
- `.opencode/openkit/context/navigation.md`
|
|
26
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
27
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
28
|
+
- `.opencode/openkit/workflow-state.json` when resuming
|
|
22
29
|
- skill `brainstorming`
|
|
23
30
|
|
|
24
31
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
@@ -39,6 +46,6 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
39
46
|
|
|
40
47
|
## Validation guidance
|
|
41
48
|
|
|
42
|
-
- Use `node .opencode/workflow-state.js show` or `node .opencode/workflow-state.js validate` when resumable state needs confirmation
|
|
49
|
+
- Use `node .opencode/openkit/workflow-state.js show` or `node .opencode/openkit/workflow-state.js validate` when resumable state needs confirmation
|
|
43
50
|
- Brainstorming output is design and workflow evidence, not app build/lint/test evidence
|
|
44
51
|
- If the repository has no app-native validation commands for the eventual implementation, record that constraint honestly in downstream artifacts
|
package/commands/delivery.md
CHANGED
|
@@ -6,6 +6,13 @@ description: "Starts the Full Delivery lane for feature work and higher-risk cha
|
|
|
6
6
|
|
|
7
7
|
Use `/delivery` when work needs the full lane from the start or when quick or migration work has already escalated.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
## Preconditions
|
|
10
17
|
|
|
11
18
|
- The request satisfies one or more full-lane triggers in `context/core/workflow.md`
|
|
@@ -13,13 +20,13 @@ Use `/delivery` when work needs the full lane from the start or when quick or mi
|
|
|
13
20
|
|
|
14
21
|
## Canonical docs to load
|
|
15
22
|
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
- `.opencode/workflow-state.json` when resuming
|
|
23
|
+
- `.opencode/openkit/AGENTS.md`
|
|
24
|
+
- `.opencode/openkit/context/navigation.md`
|
|
25
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
26
|
+
- `.opencode/openkit/context/core/lane-selection.md`
|
|
27
|
+
- `.opencode/openkit/context/core/approval-gates.md`
|
|
28
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
29
|
+
- `.opencode/openkit/workflow-state.json` when resuming
|
|
23
30
|
|
|
24
31
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
25
32
|
|
|
@@ -40,6 +47,6 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
40
47
|
|
|
41
48
|
## Validation guidance
|
|
42
49
|
|
|
43
|
-
- Use `node .opencode/workflow-state.js show` or `node .opencode/workflow-state.js validate` when resumable full-mode state needs confirmation
|
|
50
|
+
- Use `node .opencode/openkit/workflow-state.js show` or `node .opencode/openkit/workflow-state.js validate` when resumable full-mode state needs confirmation
|
|
44
51
|
- Keep implementation and QA validation honest to the repository's actual tooling
|
|
45
52
|
- Do not overstate automation when the repository still lacks app-native build, lint, or test commands
|
package/commands/execute-plan.md
CHANGED
|
@@ -6,6 +6,13 @@ description: "Executes an approved Full Delivery or Migration implementation pla
|
|
|
6
6
|
|
|
7
7
|
Use `/execute-plan` when an approved Full Delivery or Migration implementation plan is ready to be carried out.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
## Preconditions
|
|
10
17
|
|
|
11
18
|
- The current `mode` must be `full` or `migration`
|
|
@@ -14,13 +21,13 @@ Use `/execute-plan` when an approved Full Delivery or Migration implementation p
|
|
|
14
21
|
|
|
15
22
|
## Canonical docs to load
|
|
16
23
|
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
- `.opencode/workflow-state.json`
|
|
24
|
+
- `.opencode/openkit/AGENTS.md`
|
|
25
|
+
- `.opencode/openkit/context/navigation.md`
|
|
26
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
27
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
28
|
+
- `.opencode/openkit/context/core/session-resume.md`
|
|
29
|
+
- `.opencode/openkit/context/core/workflow-state-schema.md`
|
|
30
|
+
- `.opencode/openkit/workflow-state.json`
|
|
24
31
|
|
|
25
32
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
26
33
|
|
|
@@ -39,6 +46,6 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
39
46
|
|
|
40
47
|
## Validation guidance
|
|
41
48
|
|
|
42
|
-
- Run `node .opencode/workflow-state.js validate` when you need to confirm workflow-state integrity before execution
|
|
49
|
+
- Run `node .opencode/openkit/workflow-state.js validate` when you need to confirm workflow-state integrity before execution
|
|
43
50
|
- Use repo-native app build, lint, or test commands only if they actually exist and are documented
|
|
44
51
|
- If the repository still lacks app-native validation tooling, report manual checks or other real evidence instead of inventing automation
|
package/commands/migrate.md
CHANGED
|
@@ -6,6 +6,13 @@ description: "Starts the Migration lane for upgrades, framework migrations, and
|
|
|
6
6
|
|
|
7
7
|
Use `/migrate` when work is primarily a project migration or upgrade effort such as framework version jumps, dependency replacement, legacy API removal, or compatibility remediation.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs, templates, and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
Core migration principle:
|
|
10
17
|
|
|
11
18
|
- preserve behavior first, decouple blockers where necessary, and migrate incrementally instead of rewriting the product
|
|
@@ -20,15 +27,15 @@ Core migration principle:
|
|
|
20
27
|
|
|
21
28
|
## Canonical docs to load
|
|
22
29
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
- `.opencode/workflow-state.json` when resuming
|
|
30
|
+
- `.opencode/openkit/AGENTS.md`
|
|
31
|
+
- `.opencode/openkit/context/navigation.md`
|
|
32
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
33
|
+
- `.opencode/openkit/context/core/lane-selection.md`
|
|
34
|
+
- `.opencode/openkit/context/core/approval-gates.md`
|
|
35
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
36
|
+
- `.opencode/openkit/docs/templates/migration-baseline-checklist.md`
|
|
37
|
+
- `.opencode/openkit/docs/templates/migration-verify-checklist.md`
|
|
38
|
+
- `.opencode/openkit/workflow-state.json` when resuming
|
|
32
39
|
|
|
33
40
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
34
41
|
|
package/commands/quick-task.md
CHANGED
|
@@ -6,6 +6,13 @@ description: "Starts the Quick Task lane for narrow, low-risk work."
|
|
|
6
6
|
|
|
7
7
|
Use `/quick-task` when the user wants to enter the quick lane directly for bounded small-to-medium work that stays within the quick-lane limits, remains lower risk, and uses a short verification path.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/` or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
## Preconditions
|
|
10
17
|
|
|
11
18
|
- The request must satisfy quick-lane criteria in `context/core/workflow.md`
|
|
@@ -13,12 +20,12 @@ Use `/quick-task` when the user wants to enter the quick lane directly for bound
|
|
|
13
20
|
|
|
14
21
|
## Canonical docs to load
|
|
15
22
|
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- `.opencode/workflow-state.json` when resuming
|
|
23
|
+
- `.opencode/openkit/AGENTS.md`
|
|
24
|
+
- `.opencode/openkit/context/navigation.md`
|
|
25
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
26
|
+
- `.opencode/openkit/context/core/lane-selection.md`
|
|
27
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
28
|
+
- `.opencode/openkit/workflow-state.json` when resuming
|
|
22
29
|
|
|
23
30
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
24
31
|
|
|
@@ -42,4 +49,4 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
42
49
|
|
|
43
50
|
- Keep quick-task validation short and real, following `context/core/project-config.md`
|
|
44
51
|
- If no app-native test or lint command exists, document the manual or artifact-based verification path clearly
|
|
45
|
-
- Use `node .opencode/workflow-state.js validate` only for workflow-state checks, not as a substitute for application testing
|
|
52
|
+
- Use `node .opencode/openkit/workflow-state.js validate` only for workflow-state checks, not as a substitute for application testing
|
package/commands/task.md
CHANGED
|
@@ -6,6 +6,14 @@ description: "Default entry command. Lets the Master Orchestrator classify work
|
|
|
6
6
|
|
|
7
7
|
Use `/task` when the user wants the default entrypoint and expects the Master Orchestrator to choose the lane.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/workflow-state.json`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- For workflow-state CLI operations in global mode, use `node .opencode/openkit/workflow-state.js <command>`.
|
|
15
|
+
- Use the target repository only for product/application code, local build tooling, and project-specific docs.
|
|
16
|
+
|
|
9
17
|
## Preconditions
|
|
10
18
|
|
|
11
19
|
- A user request exists with enough information to summarize the initial goal, scope, and risk
|
|
@@ -13,12 +21,12 @@ Use `/task` when the user wants the default entrypoint and expects the Master Or
|
|
|
13
21
|
|
|
14
22
|
## Canonical docs to load
|
|
15
23
|
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- `.opencode/workflow-state.json` when resuming
|
|
24
|
+
- `.opencode/openkit/AGENTS.md`
|
|
25
|
+
- `.opencode/openkit/context/navigation.md`
|
|
26
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
27
|
+
- `.opencode/openkit/context/core/lane-selection.md`
|
|
28
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
29
|
+
- `.opencode/openkit/workflow-state.json` when resuming
|
|
22
30
|
|
|
23
31
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
24
32
|
|
|
@@ -41,6 +49,6 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
41
49
|
|
|
42
50
|
## Validation guidance
|
|
43
51
|
|
|
44
|
-
- Use `node .opencode/workflow-state.js status` or `node .opencode/workflow-state.js show` to inspect resumable state before rerouting when needed
|
|
45
|
-
- Use `node .opencode/workflow-state.js validate`
|
|
52
|
+
- Use `node .opencode/openkit/workflow-state.js status` or `node .opencode/openkit/workflow-state.js show` to inspect resumable state before rerouting when needed
|
|
53
|
+
- Use `node .opencode/openkit/workflow-state.js validate` to validate stale or manually edited state when needed
|
|
46
54
|
- Do not imply repo-native app build, lint, or test commands exist when this repository has not defined them
|
package/commands/write-plan.md
CHANGED
|
@@ -6,6 +6,13 @@ description: "Triggers the writing-plans skill to create bite-sized tasks from s
|
|
|
6
6
|
|
|
7
7
|
Use `/write-plan` to create an implementation plan for work currently in `Full Delivery` or `Migration` mode.
|
|
8
8
|
|
|
9
|
+
## Global OpenKit path rule
|
|
10
|
+
|
|
11
|
+
- In globally installed OpenKit sessions, treat `.opencode/openkit/` as the repo-local compatibility surface for OpenKit-owned docs, templates, and workflow tools.
|
|
12
|
+
- Read canonical OpenKit docs from `.opencode/openkit/...`, not from repo-root `context/`, repo-root `AGENTS.md`, or repo-root `.opencode/`.
|
|
13
|
+
- Use `.opencode/openkit/workflow-state.json` for resumable workflow state.
|
|
14
|
+
- Use `node .opencode/openkit/workflow-state.js <command>` for workflow-state checks in global mode.
|
|
15
|
+
|
|
9
16
|
## Preconditions
|
|
10
17
|
|
|
11
18
|
- The current `mode` must be `full` or `migration`
|
|
@@ -15,13 +22,13 @@ Use `/write-plan` to create an implementation plan for work currently in `Full D
|
|
|
15
22
|
|
|
16
23
|
## Canonical docs to load
|
|
17
24
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
- `.opencode/workflow-state.json`
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
+
- `.opencode/openkit/AGENTS.md`
|
|
26
|
+
- `.opencode/openkit/context/navigation.md`
|
|
27
|
+
- `.opencode/openkit/context/core/workflow.md`
|
|
28
|
+
- `.opencode/openkit/context/core/project-config.md`
|
|
29
|
+
- `.opencode/openkit/workflow-state.json`
|
|
30
|
+
- `.opencode/openkit/docs/templates/implementation-plan-template.md`
|
|
31
|
+
- `.opencode/openkit/docs/templates/migration-report-template.md` when migration work benefits from one running artifact
|
|
25
32
|
- skill `writing-plans`
|
|
26
33
|
|
|
27
34
|
For operator checks, use the current workflow-state utility surface: `status`, `doctor`, `show`, and `validate`.
|
|
@@ -47,4 +54,4 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
47
54
|
- The plan should name the strongest real validation path available in the repository
|
|
48
55
|
- In migration mode, use `migration_report` when handoffs would benefit from a single running narrative instead of scattered notes
|
|
49
56
|
- If no repo-native app build, lint, or test command exists, say that explicitly in the plan instead of guessing a stack command
|
|
50
|
-
- Use `node .opencode/workflow-state.js validate` only to confirm workflow state, not to stand in for implementation verification
|
|
57
|
+
- Use `node .opencode/openkit/workflow-state.js validate` only to confirm workflow state, not to stand in for implementation verification
|
package/docs/operator/README.md
CHANGED
|
@@ -21,6 +21,15 @@ Use it to find the right live docs quickly. Do not treat it as a canonical repla
|
|
|
21
21
|
- Use `/task` unless you already know the work must start in `Quick Task`, `Migration`, or `Full Delivery`
|
|
22
22
|
- Use `context/navigation.md` when you need to locate deeper workflow or standards references
|
|
23
23
|
|
|
24
|
+
## Minimal First Session
|
|
25
|
+
|
|
26
|
+
- `npm install -g @duypham93/openkit`
|
|
27
|
+
- `openkit run`
|
|
28
|
+
- Wait for OpenCode to open with `master-orchestrator`
|
|
29
|
+
- Press `Ctrl+P`
|
|
30
|
+
- Run `/task <what you want to do>`
|
|
31
|
+
- Fall back to `/quick-task`, `/migrate`, or `/delivery` only when the lane is obvious
|
|
32
|
+
|
|
24
33
|
## Operator Routes
|
|
25
34
|
|
|
26
35
|
- Workflow contract: `context/core/workflow.md`
|