@duypham93/openkit 0.2.2 → 0.2.4
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 +16 -0
- package/agents/architect-agent.md +5 -1
- package/agents/ba-agent.md +5 -1
- package/agents/code-reviewer.md +5 -1
- package/agents/fullstack-agent.md +6 -1
- package/agents/master-orchestrator.md +8 -1
- package/agents/pm-agent.md +5 -1
- package/agents/qa-agent.md +6 -1
- package/agents/tech-lead-agent.md +5 -1
- package/assets/install-bundle/opencode/agents/ArchitectAgent.md +0 -1
- package/assets/install-bundle/opencode/agents/BAAgent.md +0 -1
- package/assets/install-bundle/opencode/agents/CodeReviewer.md +0 -1
- package/assets/install-bundle/opencode/agents/FullstackAgent.md +0 -1
- package/assets/install-bundle/opencode/agents/MasterOrchestrator.md +0 -1
- package/assets/install-bundle/opencode/agents/PMAgent.md +0 -1
- package/assets/install-bundle/opencode/agents/QAAgent.md +0 -1
- package/assets/install-bundle/opencode/agents/TechLeadAgent.md +0 -1
- package/commands/brainstorm.md +7 -1
- package/commands/delivery.md +8 -1
- package/commands/execute-plan.md +7 -1
- package/commands/migrate.md +7 -0
- package/commands/quick-task.md +8 -1
- package/commands/task.md +10 -2
- package/commands/write-plan.md +7 -1
- package/docs/operations/internal-records/2026-03-24-release-checklist.md +5 -4
- package/docs/operator/README.md +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,6 +85,22 @@ Preferred global path:
|
|
|
85
85
|
4. Run `openkit upgrade` to refresh the installed global kit when a newer package version is available.
|
|
86
86
|
5. Run `openkit uninstall [--remove-workspaces]` when you need to remove the global kit and optionally clear workspace state.
|
|
87
87
|
|
|
88
|
+
Inside the OpenCode session opened by `openkit run`, OpenKit defaults to the `master-orchestrator` agent. Use `Ctrl+P` to open the command palette and run OpenKit commands like `/task`, `/quick-task`, `/migrate`, or `/delivery`.
|
|
89
|
+
|
|
90
|
+
Quickstart:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
npm install -g @duypham93/openkit
|
|
94
|
+
openkit run
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
First session:
|
|
98
|
+
|
|
99
|
+
1. Wait for OpenCode to open with the `master-orchestrator` agent.
|
|
100
|
+
2. Press `Ctrl+P` to open the command palette.
|
|
101
|
+
3. Run `/task` for the safest default entrypoint.
|
|
102
|
+
4. Use `/quick-task`, `/migrate`, or `/delivery` only when you already know the right lane.
|
|
103
|
+
|
|
88
104
|
In this worktree today:
|
|
89
105
|
|
|
90
106
|
- the global install path is implemented for the `openkit` CLI and is now the preferred user experience.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: ArchitectAgent
|
|
3
2
|
description: "System Architect agent. Converts an approved spec into an architecture decision package that is ready for planning."
|
|
4
3
|
mode: subagent
|
|
5
4
|
---
|
|
@@ -8,6 +7,11 @@ mode: subagent
|
|
|
8
7
|
|
|
9
8
|
You are the System Architect for OpenKit full-delivery and migration work. `context/core/workflow.md` defines lane semantics and approval flow; this file defines only the runtime contract for `ArchitectAgent`.
|
|
10
9
|
|
|
10
|
+
## Global runtime path rule
|
|
11
|
+
|
|
12
|
+
- In globally installed OpenKit sessions, resolve OpenKit-owned context and templates from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `context/`, `docs/templates/`, or `.opencode/`.
|
|
13
|
+
- Resolve workflow state from `OPENKIT_WORKFLOW_STATE` when resuming or validating handoff context.
|
|
14
|
+
|
|
11
15
|
## Required Inputs
|
|
12
16
|
|
|
13
17
|
- approved requirements spec at `docs/specs/YYYY-MM-DD-<feature>.md`
|
package/agents/ba-agent.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: BAAgent
|
|
3
2
|
description: "Business Analyst agent. Converts an approved brief into a requirements spec with clear acceptance criteria and edge cases."
|
|
4
3
|
mode: subagent
|
|
5
4
|
---
|
|
@@ -8,6 +7,11 @@ mode: subagent
|
|
|
8
7
|
|
|
9
8
|
You are the Business Analyst for OpenKit full-delivery work. `context/core/workflow.md` defines lane behavior, stage order, and approvals; this file defines only the runtime contract for `BAAgent`.
|
|
10
9
|
|
|
10
|
+
## Global runtime path rule
|
|
11
|
+
|
|
12
|
+
- In globally installed OpenKit sessions, resolve OpenKit-owned context and templates from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `context/`, `docs/templates/`, or `.opencode/`.
|
|
13
|
+
- Resolve workflow state from `OPENKIT_WORKFLOW_STATE` when resuming or validating handoff context.
|
|
14
|
+
|
|
11
15
|
## Required Inputs
|
|
12
16
|
|
|
13
17
|
- approved product brief at `docs/briefs/YYYY-MM-DD-<feature>.md`
|
package/agents/code-reviewer.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: CodeReviewer
|
|
3
2
|
description: "Code reviewer subagent. Two-stage review: spec compliance first, then code quality. Dispatched by Fullstack Agent."
|
|
4
3
|
mode: subagent
|
|
5
4
|
permission:
|
|
@@ -13,6 +12,11 @@ permission:
|
|
|
13
12
|
|
|
14
13
|
You are the Code Reviewer subagent, dispatched by the Fullstack Agent. You perform a two-stage review: spec compliance first, code quality second.
|
|
15
14
|
|
|
15
|
+
## Global runtime path rule
|
|
16
|
+
|
|
17
|
+
- In globally installed OpenKit sessions, resolve OpenKit-owned context from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `context/` or `.opencode/`.
|
|
18
|
+
- Resolve workflow state from `OPENKIT_WORKFLOW_STATE` when resumable review context is needed.
|
|
19
|
+
|
|
16
20
|
## Important
|
|
17
21
|
|
|
18
22
|
You are **stateless** - you do not carry context from previous sessions. The Fullstack Agent will provide all required context in the prompt.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: FullstackAgent
|
|
3
2
|
description: "Implementation specialist. Executes quick tasks directly and full-delivery work from approved plans with strong validation discipline."
|
|
4
3
|
mode: subagent
|
|
5
4
|
permission:
|
|
@@ -16,6 +15,12 @@ permission:
|
|
|
16
15
|
|
|
17
16
|
You are the implementation specialist for OpenKit. `context/core/workflow.md` defines lane behavior and stage order; this file describes only the execution contract for `FullstackAgent` in each mode.
|
|
18
17
|
|
|
18
|
+
## Global runtime path rule
|
|
19
|
+
|
|
20
|
+
- In globally installed OpenKit sessions, resolve OpenKit-owned context from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `context/` or `.opencode/`.
|
|
21
|
+
- Resolve workflow state from `OPENKIT_WORKFLOW_STATE` when resumable execution context is needed.
|
|
22
|
+
- Use the target repository only for implementation work and project-native validation commands.
|
|
23
|
+
|
|
19
24
|
## Shared Responsibilities
|
|
20
25
|
|
|
21
26
|
- Read `context/core/code-quality.md`, `context/core/workflow.md`, and `context/core/project-config.md` before implementing
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: MasterOrchestrator
|
|
3
2
|
description: "Central brain of the AI Software Factory. Chooses workflow lane, routes tasks between agents, manages feedback loops, and classifies QA errors."
|
|
4
3
|
mode: primary
|
|
5
4
|
---
|
|
@@ -8,6 +7,14 @@ mode: primary
|
|
|
8
7
|
|
|
9
8
|
You are the coordinator for OpenKit. `context/core/workflow.md` is the canonical source for lane semantics, stage order, escalation rules, approval rules, and the quick/migration/full contract. This file keeps only `MasterOrchestrator` responsibilities.
|
|
10
9
|
|
|
10
|
+
## Global runtime path rule
|
|
11
|
+
|
|
12
|
+
- In globally installed OpenKit sessions, do not assume the target repository contains OpenKit kit files such as `AGENTS.md`, `context/`, `docs/templates/`, or `.opencode/`.
|
|
13
|
+
- Resolve canonical OpenKit files under `OPENKIT_KIT_ROOT`. For example, `context/core/workflow.md` means `${OPENKIT_KIT_ROOT}/context/core/workflow.md`.
|
|
14
|
+
- Resolve workflow state from `OPENKIT_WORKFLOW_STATE`.
|
|
15
|
+
- For workflow-state CLI operations in global mode, use `node "${OPENKIT_KIT_ROOT}/.opencode/workflow-state.js" --state "${OPENKIT_WORKFLOW_STATE}" <command>`.
|
|
16
|
+
- Use the target repository only for application code, project docs, and project-native validation paths.
|
|
17
|
+
|
|
11
18
|
## Core Responsibilities
|
|
12
19
|
|
|
13
20
|
### Lane selection ownership
|
package/agents/pm-agent.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: PMAgent
|
|
3
2
|
description: "Product Manager agent. Converts user intent into an approval-ready product brief for full-delivery work."
|
|
4
3
|
mode: subagent
|
|
5
4
|
---
|
|
@@ -8,6 +7,11 @@ mode: subagent
|
|
|
8
7
|
|
|
9
8
|
You are the Product Manager for OpenKit full-delivery work. `context/core/workflow.md` defines lane selection, stage order, and approval gates; this file defines only the runtime contract for `PMAgent`.
|
|
10
9
|
|
|
10
|
+
## Global runtime path rule
|
|
11
|
+
|
|
12
|
+
- In globally installed OpenKit sessions, resolve OpenKit-owned context and templates from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `context/`, `docs/templates/`, or `.opencode/`.
|
|
13
|
+
- Resolve workflow state from `OPENKIT_WORKFLOW_STATE` when resuming or validating handoff context.
|
|
14
|
+
|
|
11
15
|
## Required Inputs
|
|
12
16
|
|
|
13
17
|
- full-delivery intake from `MasterOrchestrator`
|
package/agents/qa-agent.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: QAAgent
|
|
3
2
|
description: "Quality Assurance agent. Runs QA Lite for quick tasks, migration QA for upgrades, and full QA for delivery work, classifying issues for feedback routing."
|
|
4
3
|
mode: subagent
|
|
5
4
|
permission:
|
|
@@ -15,6 +14,12 @@ permission:
|
|
|
15
14
|
|
|
16
15
|
You are the QA engineer for OpenKit. `context/core/workflow.md` keeps the canonical lane semantics; this file describes only the QA contract, evidence expectations, and mode-specific behavior deltas. QA validates, classifies, and reports; it does not fix code.
|
|
17
16
|
|
|
17
|
+
## Global runtime path rule
|
|
18
|
+
|
|
19
|
+
- In globally installed OpenKit sessions, resolve OpenKit-owned context and templates from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `context/`, `docs/templates/`, or `.opencode/`.
|
|
20
|
+
- Resolve workflow state from `OPENKIT_WORKFLOW_STATE` when resumable QA context is needed.
|
|
21
|
+
- Use the target repository only for implementation evidence, validation commands, and project-specific artifacts.
|
|
22
|
+
|
|
18
23
|
## Shared Responsibilities
|
|
19
24
|
|
|
20
25
|
- Receive completed implementation context through `MasterOrchestrator`
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: TechLeadAgent
|
|
3
2
|
description: "Tech Lead agent. Converts approved architecture into an execution-ready implementation plan and planning handoff."
|
|
4
3
|
mode: subagent
|
|
5
4
|
---
|
|
@@ -8,6 +7,11 @@ mode: subagent
|
|
|
8
7
|
|
|
9
8
|
You are the Tech Lead for OpenKit full-delivery and migration work. `context/core/workflow.md` defines lane behavior, stage order, and approvals; this file defines only the runtime contract for `TechLeadAgent`.
|
|
10
9
|
|
|
10
|
+
## Global runtime path rule
|
|
11
|
+
|
|
12
|
+
- In globally installed OpenKit sessions, resolve OpenKit-owned context and templates from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `context/`, `docs/templates/`, or `.opencode/`.
|
|
13
|
+
- Resolve workflow state from `OPENKIT_WORKFLOW_STATE` when resuming or validating handoff context.
|
|
14
|
+
|
|
11
15
|
## Required Inputs
|
|
12
16
|
|
|
13
17
|
- approved architecture document at `docs/architecture/YYYY-MM-DD-<feature>.md`
|
package/commands/brainstorm.md
CHANGED
|
@@ -6,6 +6,12 @@ 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, resolve OpenKit-owned docs from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `AGENTS.md`, `context/`, or `.opencode/`.
|
|
12
|
+
- Resolve resumable workflow state from `OPENKIT_WORKFLOW_STATE`.
|
|
13
|
+
- Use `node "${OPENKIT_KIT_ROOT}/.opencode/workflow-state.js" --state "${OPENKIT_WORKFLOW_STATE}" <command>` for workflow-state checks in global mode.
|
|
14
|
+
|
|
9
15
|
## Preconditions
|
|
10
16
|
|
|
11
17
|
- The current `mode` must be `full` or `migration`
|
|
@@ -39,6 +45,6 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
39
45
|
|
|
40
46
|
## Validation guidance
|
|
41
47
|
|
|
42
|
-
- Use
|
|
48
|
+
- Use the workflow-state utility against `OPENKIT_WORKFLOW_STATE` when resumable state needs confirmation
|
|
43
49
|
- Brainstorming output is design and workflow evidence, not app build/lint/test evidence
|
|
44
50
|
- 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, resolve OpenKit-owned docs from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `AGENTS.md`, `context/`, or `.opencode/`.
|
|
12
|
+
- For example, `context/core/workflow.md` means `${OPENKIT_KIT_ROOT}/context/core/workflow.md`.
|
|
13
|
+
- Resolve resumable workflow state from `OPENKIT_WORKFLOW_STATE`.
|
|
14
|
+
- Use `node "${OPENKIT_KIT_ROOT}/.opencode/workflow-state.js" --state "${OPENKIT_WORKFLOW_STATE}" <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`
|
|
@@ -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
|
|
50
|
+
- Use the workflow-state utility against `OPENKIT_WORKFLOW_STATE` 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,12 @@ 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, resolve OpenKit-owned docs from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `AGENTS.md`, `context/`, `docs/`, or `.opencode/`.
|
|
12
|
+
- Resolve resumable workflow state from `OPENKIT_WORKFLOW_STATE`.
|
|
13
|
+
- Use `node "${OPENKIT_KIT_ROOT}/.opencode/workflow-state.js" --state "${OPENKIT_WORKFLOW_STATE}" <command>` for workflow-state checks in global mode.
|
|
14
|
+
|
|
9
15
|
## Preconditions
|
|
10
16
|
|
|
11
17
|
- The current `mode` must be `full` or `migration`
|
|
@@ -39,6 +45,6 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
39
45
|
|
|
40
46
|
## Validation guidance
|
|
41
47
|
|
|
42
|
-
- Run
|
|
48
|
+
- Run the workflow-state utility against `OPENKIT_WORKFLOW_STATE` when you need to confirm workflow-state integrity before execution
|
|
43
49
|
- Use repo-native app build, lint, or test commands only if they actually exist and are documented
|
|
44
50
|
- 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, resolve OpenKit-owned docs from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `AGENTS.md`, `context/`, `docs/templates/`, or `.opencode/`.
|
|
12
|
+
- For example, `context/core/workflow.md` means `${OPENKIT_KIT_ROOT}/context/core/workflow.md`, and `docs/templates/migration-baseline-checklist.md` means `${OPENKIT_KIT_ROOT}/docs/templates/migration-baseline-checklist.md`.
|
|
13
|
+
- Resolve resumable workflow state from `OPENKIT_WORKFLOW_STATE`.
|
|
14
|
+
- Use `node "${OPENKIT_KIT_ROOT}/.opencode/workflow-state.js" --state "${OPENKIT_WORKFLOW_STATE}" <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
|
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 `AGENTS.md`, `context/`, `docs/`, and `.opencode/` as kit-owned assets under `OPENKIT_KIT_ROOT`, not as files in the target repository.
|
|
12
|
+
- Resolve canonical docs like `context/core/workflow.md` as `${OPENKIT_KIT_ROOT}/context/core/workflow.md`.
|
|
13
|
+
- Resolve resumable workflow state from `OPENKIT_WORKFLOW_STATE`.
|
|
14
|
+
- Use `node "${OPENKIT_KIT_ROOT}/.opencode/workflow-state.js" --state "${OPENKIT_WORKFLOW_STATE}" <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`
|
|
@@ -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
|
|
52
|
+
- Use the workflow-state utility against `OPENKIT_WORKFLOW_STATE` 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, do not assume the target repository contains `AGENTS.md`, `context/`, `docs/`, or `.opencode/` from the OpenKit kit.
|
|
12
|
+
- Resolve canonical OpenKit docs under the absolute kit root from `OPENKIT_KIT_ROOT`. For example, `context/core/workflow.md` means `${OPENKIT_KIT_ROOT}/context/core/workflow.md`.
|
|
13
|
+
- Resolve workflow state from `OPENKIT_WORKFLOW_STATE`, not from the target repository, unless you are intentionally operating inside the OpenKit repository itself.
|
|
14
|
+
- For workflow-state CLI operations in global mode, use `node "${OPENKIT_KIT_ROOT}/.opencode/workflow-state.js" --state "${OPENKIT_WORKFLOW_STATE}" <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
|
|
@@ -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
|
|
45
|
-
- Use
|
|
52
|
+
- Use the workflow-state utility against `OPENKIT_WORKFLOW_STATE` to inspect resumable state before rerouting when needed
|
|
53
|
+
- Use the workflow-state utility against `OPENKIT_WORKFLOW_STATE` 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,12 @@ 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, resolve OpenKit-owned docs and templates from `OPENKIT_KIT_ROOT` instead of assuming the target repository contains `AGENTS.md`, `context/`, `docs/templates/`, or `.opencode/`.
|
|
12
|
+
- Resolve resumable workflow state from `OPENKIT_WORKFLOW_STATE`.
|
|
13
|
+
- Use `node "${OPENKIT_KIT_ROOT}/.opencode/workflow-state.js" --state "${OPENKIT_WORKFLOW_STATE}" <command>` for workflow-state checks in global mode.
|
|
14
|
+
|
|
9
15
|
## Preconditions
|
|
10
16
|
|
|
11
17
|
- The current `mode` must be `full` or `migration`
|
|
@@ -47,4 +53,4 @@ For operator checks, use the current workflow-state utility surface: `status`, `
|
|
|
47
53
|
- The plan should name the strongest real validation path available in the repository
|
|
48
54
|
- In migration mode, use `migration_report` when handoffs would benefit from a single running narrative instead of scattered notes
|
|
49
55
|
- 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
|
|
56
|
+
- Use the workflow-state utility against `OPENKIT_WORKFLOW_STATE` only to confirm workflow state, not to stand in for implementation verification
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# OpenKit 0.2.
|
|
1
|
+
# OpenKit 0.2.3 Release Checklist
|
|
2
2
|
|
|
3
3
|
Date: 2026-03-24
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ Date: 2026-03-24
|
|
|
11
11
|
|
|
12
12
|
## Pre-Publish
|
|
13
13
|
|
|
14
|
-
- confirm `package.json` version is `0.2.
|
|
14
|
+
- confirm `package.json` version is `0.2.3`
|
|
15
15
|
- confirm docs describe `npm install -g @duypham93/openkit` and `openkit run` as the preferred path
|
|
16
16
|
- confirm release note draft is up to date in `docs/operations/internal-records/2026-03-24-simplified-install-ux.md`
|
|
17
17
|
- run:
|
|
@@ -26,13 +26,14 @@ node --test tests/cli/openkit-cli.test.js tests/global/*.test.js tests/runtime/*
|
|
|
26
26
|
npm pack
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
- verify the tarball name is `duypham93-openkit-0.2.
|
|
29
|
+
- verify the tarball name is `duypham93-openkit-0.2.3.tgz`
|
|
30
30
|
|
|
31
31
|
## Local Smoke Test
|
|
32
32
|
|
|
33
33
|
- install the tarball into a temporary prefix
|
|
34
34
|
- verify `openkit --help` shows the new quickstart
|
|
35
35
|
- verify `openkit run` performs first-time setup and hands off to `opencode`
|
|
36
|
+
- verify the materialized kit can load the `master-orchestrator` agent and OpenKit commands through the OpenCode config directory
|
|
36
37
|
|
|
37
38
|
## Publish
|
|
38
39
|
|
|
@@ -40,7 +41,7 @@ npm pack
|
|
|
40
41
|
- publish the package from the repository root:
|
|
41
42
|
|
|
42
43
|
```bash
|
|
43
|
-
npm publish
|
|
44
|
+
npm publish --access public
|
|
44
45
|
```
|
|
45
46
|
|
|
46
47
|
- if using the packed tarball path explicitly, publish the generated archive instead
|
package/docs/operator/README.md
CHANGED
|
@@ -17,9 +17,19 @@ Use it to find the right live docs quickly. Do not treat it as a canonical repla
|
|
|
17
17
|
- Read `README.md` for the top-level product and runtime boundary summary
|
|
18
18
|
- Read `docs/operations/runbooks/openkit-daily-usage.md` for the detailed day-to-day usage path in this repository
|
|
19
19
|
- Install the CLI with `npm install -g @duypham93/openkit`, then run `openkit run` for first-time setup and `openkit doctor` to verify readiness
|
|
20
|
+
- Once OpenCode is open, use `Ctrl+P` and choose `/task`, `/quick-task`, `/migrate`, or `/delivery` to enter the right workflow lane
|
|
20
21
|
- Use `/task` unless you already know the work must start in `Quick Task`, `Migration`, or `Full Delivery`
|
|
21
22
|
- Use `context/navigation.md` when you need to locate deeper workflow or standards references
|
|
22
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
|
+
|
|
23
33
|
## Operator Routes
|
|
24
34
|
|
|
25
35
|
- Workflow contract: `context/core/workflow.md`
|