devmethod-ai 0.3.0 → 0.4.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/.agents/skills/devmethod-architecture/SKILL.md +14 -0
- package/.agents/skills/devmethod-correct-course/SKILL.md +12 -0
- package/.agents/skills/devmethod-design/SKILL.md +14 -0
- package/.agents/skills/devmethod-explore/SKILL.md +12 -0
- package/.agents/skills/devmethod-frame/SKILL.md +12 -0
- package/.agents/skills/devmethod-handoff/SKILL.md +14 -0
- package/.agents/skills/devmethod-implement/SKILL.md +14 -0
- package/.agents/skills/devmethod-integrate/SKILL.md +14 -0
- package/.agents/skills/devmethod-next/SKILL.md +14 -0
- package/.agents/skills/devmethod-plan/SKILL.md +14 -0
- package/.agents/skills/devmethod-ready/SKILL.md +14 -0
- package/.agents/skills/devmethod-review/SKILL.md +18 -0
- package/.agents/skills/devmethod-status/SKILL.md +12 -0
- package/.agents/skills/devmethod-verify/SKILL.md +14 -0
- package/.agents/skills/project-foundation/SKILL.md +1 -1
- package/.agents/skills/project-foundation/assets/START_HERE.md +1 -1
- package/.agents/skills/project-foundation/references/operating-commands.md +19 -15
- package/.agents/skills/scoped-delivery/assets/REVIEW.md +2 -2
- package/.agents/skills/scoped-delivery/references/review-format.md +26 -0
- package/COMPATIBILITY.md +5 -3
- package/README.md +41 -28
- package/START_HERE.md +1 -1
- package/dist/cli.js +3 -1
- package/dist/commands.js +20 -0
- package/dist/doctor.js +4 -2
- package/dist/init.js +3 -2
- package/dist/review-browser.js +1 -1
- package/dist/review-model.js +1 -1
- package/docs/ADR-009-visible-workflow-commands.md +11 -0
- package/docs/COMMANDS-VALIDATION.md +13 -0
- package/docs/COMMANDS.md +36 -0
- package/docs/RELEASE-0.3.1.md +15 -0
- package/docs/RELEASE-0.4.0.md +15 -0
- package/docs/REVIEW-GUIDE.md +70 -0
- package/docs/REVIEWS.md +4 -22
- package/docs/images/devmethod-delivery.svg +1 -1
- package/docs/images/devmethod-flow.svg +1 -1
- package/docs/images/review-correction.jpg +0 -0
- package/docs/images/review-coverage.jpg +0 -0
- package/docs/media/review-extension/README.md +21 -0
- package/docs/media/review-extension/scenes.json +70 -0
- package/docs/media/visual-chain/README.md +8 -2
- package/docs/media/visual-chain/devmethod-du-besoin-au-produit.fr.srt +65 -1
- package/docs/media/visual-chain/video-preview.jpg +0 -0
- package/docs/missions/review-media-0.3.1.md +11 -0
- package/docs/missions/workflow-0.3.md +3 -1
- package/examples/review/README.md +14 -0
- package/examples/review/REVIEW.md +98 -0
- package/examples/review/review-demo.html +1351 -0
- package/package.json +1 -1
- package/scripts/media/review-extension/extend.py +100 -0
- package/scripts/package-smoke.mjs +12 -4
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-architecture
|
|
3
|
+
description: Discuss structural alternatives and record an explicit choice or delegation before dependent detail. Use for the DevMethod architecture command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod architecture
|
|
7
|
+
|
|
8
|
+
Execute the `architecture` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `architecture` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Use [decision-architecture](../decision-architecture/SKILL.md) for this stage’s detailed procedure.
|
|
13
|
+
|
|
14
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-correct-course
|
|
3
|
+
description: Reconcile a scope or decision change with affected plans, tickets and evidence. Use for the DevMethod correct-course command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod correct-course
|
|
7
|
+
|
|
8
|
+
Execute the `correct-course` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `correct-course` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-design
|
|
3
|
+
description: Create or apply product design using the existing design workflow and approved directions. Use for the DevMethod design command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod design
|
|
7
|
+
|
|
8
|
+
Execute the `design` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `design` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Use [design-to-code](../design-to-code/SKILL.md) for this stage’s detailed procedure.
|
|
13
|
+
|
|
14
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-explore
|
|
3
|
+
description: Research existing solutions and discuss evidence, uncertainty and product direction. Use for the DevMethod explore command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod explore
|
|
7
|
+
|
|
8
|
+
Execute the `explore` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `explore` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-frame
|
|
3
|
+
description: Define product need, scope, exclusions and observable success criteria. Use for the DevMethod frame command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod frame
|
|
7
|
+
|
|
8
|
+
Execute the `frame` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `frame` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-handoff
|
|
3
|
+
description: Record a dated, concise handoff linked to canonical mission state and evidence. Use for the DevMethod handoff command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod handoff
|
|
7
|
+
|
|
8
|
+
Execute the `handoff` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `handoff` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Use [scoped-delivery](../scoped-delivery/SKILL.md) for this stage’s detailed procedure.
|
|
13
|
+
|
|
14
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-implement
|
|
3
|
+
description: Implement an authorized ticket, run relevant checks and review the resulting change. Use for the DevMethod implement command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod implement
|
|
7
|
+
|
|
8
|
+
Execute the `implement` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `implement` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Use [scoped-delivery](../scoped-delivery/SKILL.md) for this stage’s detailed procedure.
|
|
13
|
+
|
|
14
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-integrate
|
|
3
|
+
description: Prepare or perform authorized integration while respecting repository gates. Use for the DevMethod integrate command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod integrate
|
|
7
|
+
|
|
8
|
+
Execute the `integrate` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `integrate` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Use [scoped-delivery](../scoped-delivery/SKILL.md) for this stage’s detailed procedure.
|
|
13
|
+
|
|
14
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-next
|
|
3
|
+
description: Inspect real mission state and select the next authorized slice without starting it. Use for the DevMethod next command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod next
|
|
7
|
+
|
|
8
|
+
Execute the `next` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `next` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Use [scoped-delivery](../scoped-delivery/SKILL.md) for this stage’s detailed procedure.
|
|
13
|
+
|
|
14
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-plan
|
|
3
|
+
description: Discuss delivery scope and organize useful milestones and executable tickets. Use for the DevMethod plan command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod plan
|
|
7
|
+
|
|
8
|
+
Execute the `plan` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `plan` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Use [scoped-delivery](../scoped-delivery/SKILL.md) for this stage’s detailed procedure.
|
|
13
|
+
|
|
14
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-ready
|
|
3
|
+
description: Assess a ticket’s scope, dependencies and acceptance criteria without starting implementation. Use for the DevMethod ready command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod ready
|
|
7
|
+
|
|
8
|
+
Execute the `ready` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `ready` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Use [scoped-delivery](../scoped-delivery/SKILL.md) for this stage’s detailed procedure.
|
|
13
|
+
|
|
14
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-review
|
|
3
|
+
description: Review actual code changes, contracts and evidence, execute relevant checks and report actionable findings. Use for the DevMethod review command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod review
|
|
7
|
+
|
|
8
|
+
Execute the `review` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `review` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Use [scoped-delivery](../scoped-delivery/SKILL.md) for this stage’s detailed procedure.
|
|
13
|
+
|
|
14
|
+
Follow [the review workflow](../scoped-delivery/references/review-workflow.md): inspect the actual diff and relevant interactions, execute applicable checks, and report findings with locations, impact, evidence and proposed corrections. Distinguish checked, failed and uninspected scope. Do not modify product code unless corrections were requested. Review artifacts may be written as part of the requested review.
|
|
15
|
+
|
|
16
|
+
For a substantial review, use [the review record](../scoped-delivery/assets/REVIEW.md). A missing browser renderer or CLI does not block inspection or the findings report. The optional `devmethod review` shell utility presents existing results; invoking it or its fictional demo never performs this review.
|
|
17
|
+
|
|
18
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-status
|
|
3
|
+
description: Report actual progress, evidence gaps and blockers without changing records or running checks. Use for the DevMethod status command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod status
|
|
7
|
+
|
|
8
|
+
Execute the `status` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `status` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devmethod-verify
|
|
3
|
+
description: Execute missing or invalidated checks and report evidence for the inspected revision. Use for the DevMethod verify command.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevMethod verify
|
|
7
|
+
|
|
8
|
+
Execute the `verify` stage now for the user's supplied ticket, mission, paths or revision. This is an agent workflow, not a shell command or a request for usage instructions. Do not ask the user to run npx or install a CLI to execute this stage.
|
|
9
|
+
|
|
10
|
+
Read [the stage contract](../project-foundation/references/operating-commands.md) and [project context routing](../project-foundation/SKILL.md), then apply only `verify` and its relevant references. Preserve the supplied arguments, existing decisions, authorizations and stage scope. Reuse available context; clarify only a missing target that materially changes the work. Do not run other stages merely because they are suggested next.
|
|
11
|
+
|
|
12
|
+
Use [scoped-delivery](../scoped-delivery/SKILL.md) for this stage’s detailed procedure.
|
|
13
|
+
|
|
14
|
+
Return the concrete outcome, verification limits and one next command from the stage contract.
|
|
@@ -30,7 +30,7 @@ This kit formalizes a complete method: exploration → framing → design → ar
|
|
|
30
30
|
|
|
31
31
|
For a new change, select the quick, standard, or major path using [work sizing](references/work-sizing.md). These paths select relevant stages; they do not add commands or require fourteen separate turns. A clear small fix can perform readiness, implementation, review, and verification together under existing authorization.
|
|
32
32
|
|
|
33
|
-
Read [the operating commands](references/operating-commands.md) for any invocation with a stage, or to structure a new project, epic, or slice. In Codex,
|
|
33
|
+
Read [the operating commands](references/operating-commands.md) for any invocation with a stage, or to structure a new project, epic, or slice. In Codex, select `$devmethod-status`; in Claude Code or Cursor, select `/devmethod-status`. Each installed stage has a `devmethod-<stage>` entry, including `devmethod-review`. Existing `project-foundation <stage>` invocations remain supported. Execute the selected stage in the agent without asking the user to run npx. The commands do not replace project commands.
|
|
34
34
|
|
|
35
35
|
For `explore`, use [existing solutions research](references/exploration.md) when product uncertainty warrants it. For an open `architecture`, resolve `decision-architecture` and discuss credible options in the conversation before detailing the dependent architecture. Preserve accepted choices and explicit delegations; invoking `plan` does not adopt a proposal. For `plan`, use [delivery planning](references/delivery-planning.md) to discuss useful outcomes and scope before fixing tickets.
|
|
36
36
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
DevMethod offers six independent modules; this installation contains the modules you selected. If this is a staging directory, review and copy its installed skill folder into the project while preserving existing files. If you installed directly into the project, the selected skills are already in place. If a version already exists, compare changes before updating it. Keep `PROJECT_PROFILE.md` and complete the stack, commands, scope, deployment permissions, and data requirements from the project before adoption. `ENGINEERING_POLICY.template.md` retains the included policy; merge it with `CONTRIBUTING.md` and existing instructions.
|
|
4
4
|
|
|
5
|
-
In Codex, start with `$
|
|
5
|
+
In Codex, start with `$devmethod-status`; for a review select `$devmethod-review` and add a ticket, PR or changed paths. In Claude Code or Cursor use `/devmethod-status` or `/devmethod-review`. All fourteen documented stages are exposed by a full installation. Module subsets expose stages backed by installed procedures. Once installed, run stages directly in the agent: no npx is needed. Existing `project-foundation <stage>` invocations still work. For an open-ended request:
|
|
6
6
|
|
|
7
7
|
> Use the `project-foundation` skill for this project. Read existing instructions and sources, complete the profile without reinventing decisions, then deliver the following scope: [my objective]. Apply only relevant modules. Preserve the approved mockup, architecture boundaries, and React rules. Progress to a verified result within this scope.
|
|
8
8
|
|
|
@@ -4,7 +4,11 @@ These commands describe a reusable work path. They are not shell commands and do
|
|
|
4
4
|
|
|
5
5
|
## Native invocation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Each documented stage has a discoverable `devmethod-<stage>` skill. In Codex invoke `$devmethod-review TASK-1`; in Claude Code or Cursor invoke `/devmethod-review TASK-1`. Select it in the host's skill menu and supply the target. No npx, terminal launcher or CLI installation is required to run the agent workflow after the skills are installed.
|
|
8
|
+
|
|
9
|
+
The equivalent `$project-foundation review TASK-1` (Codex) and `/project-foundation review TASK-1` (Claude Code/Cursor) remain supported. Table entries omit the host prefix: recommend the qualified `devmethod-<stage>` invocation when installed, otherwise the compatible `project-foundation <stage>` form. Never register bare `/review` or `/verify`, which may conflict with host commands. If the host is unknown, use `DevMethod review TASK-1` in natural language.
|
|
10
|
+
|
|
11
|
+
The default installation exposes all fourteen stages. Module subsets expose only commands whose procedure is installed; foundation commands remain available. Do not claim a missing module was loaded. These skills instruct the connected agent to do the work; they do not turn the installer into an autonomous executor.
|
|
8
12
|
|
|
9
13
|
An unknown stage displays available stages without starting work. With no stage, read the current state and apply `status`. Routing is an instruction to the model, not a deterministic parser or execution guarantee.
|
|
10
14
|
|
|
@@ -14,20 +18,20 @@ Use [work sizing](work-sizing.md) to select relevant stages. A quick change may
|
|
|
14
18
|
|
|
15
19
|
| Command | Purpose | Suggested next step |
|
|
16
20
|
|---|---|---|
|
|
17
|
-
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
|
25
|
-
|
|
|
26
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
29
|
-
|
|
|
30
|
-
|
|
|
21
|
+
| `devmethod-explore` | Research existing solutions proportionately and discuss evidence and next direction | `devmethod-frame` |
|
|
22
|
+
| `devmethod-frame` | Define value, scope, exclusions, and metrics | `devmethod-design` or `devmethod-architecture` |
|
|
23
|
+
| `devmethod-design` | Create/select visual direction, master and derived screens, or apply approved UX; resolve design-to-code for visual work | `devmethod-design` for unfinished visual scope, then `devmethod-architecture` |
|
|
24
|
+
| `devmethod-architecture` | Discuss structural alternatives and record choice/delegation before dependent detail | `devmethod-plan` |
|
|
25
|
+
| `devmethod-plan` | Discuss useful delivery scope, then milestones and near-term tickets; stay conditional on open decisions | `devmethod-ready` |
|
|
26
|
+
| `devmethod-ready <ticket>` | Verify scope, DoD, dependencies, contract, and tests | `devmethod-implement <ticket>` |
|
|
27
|
+
| `devmethod-implement <ticket>` | Deliver a coherent slice with focused tests | `devmethod-review <ticket>` |
|
|
28
|
+
| `devmethod-review <ticket>` | Review diff, architecture, contracts, tests, and risks | `devmethod-verify` or `devmethod-implement` |
|
|
29
|
+
| `devmethod-verify <ticket>` | Run documented checks and assess evidence | `devmethod-integrate <ticket>` |
|
|
30
|
+
| `devmethod-integrate <ticket>` | Prepare a PR/merge under repository policy | `devmethod-next` |
|
|
31
|
+
| `devmethod-correct-course` | Address a scope change or invalidated decision | `devmethod-architecture` or `devmethod-plan` |
|
|
32
|
+
| `devmethod-next` | Resume from real status and select the next slice | appropriate command |
|
|
33
|
+
| `devmethod-status` | Distinguish planned, in progress, PR, merged, and deployed | `devmethod-next` or `devmethod-correct-course` |
|
|
34
|
+
| `devmethod-handoff` | Create a concise checkpoint for another session or agent | `devmethod-next` |
|
|
31
35
|
|
|
32
36
|
## Responsibility and minimal context
|
|
33
37
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Structured review authoring
|
|
2
2
|
|
|
3
|
-
Reuse the existing review convention, or docs/missions/<mission-id>/reviews/<review-id>/review.json. The JSON owns results. Derive REVIEW.md
|
|
3
|
+
Reuse the existing review convention, or docs/missions/<mission-id>/reviews/<review-id>/review.json. The JSON owns results. The review itself needs no CLI or npx: inspect and report within the agent. Keep small reviews in the conversation or existing tracker. For substantial structured records, follow [the installed format reference](../references/review-format.md). Derive REVIEW.md from the same record; if a browser artifact is requested and the renderer is available, use the package's `devmethod review --review … --output … --markdown …` command; it validates records but never performs checks. Existing Markdown remains readable through `--legacy`; do not invent missing fields during migration.
|
|
4
4
|
|
|
5
|
-
Begin only with known scope and sources. Replace the placeholders below, then add checks/findings/evidence using format 1 documented in the package's docs/REVIEWS.md and complete examples/review/review.json. These package references are not files automatically installed into the application root. The packaged `--demo` viewer can export
|
|
5
|
+
Begin only with known scope and sources. Replace the placeholders below, then add checks/findings/evidence using format 1 documented in the package's docs/REVIEWS.md and complete examples/review/review.json. These package references are not files automatically installed into the application root. The optional packaged `--demo` viewer can export fictional format examples; never reuse its results as real evidence or launch it instead of reviewing. If the renderer is unavailable, deliver the review findings and record; state only the browser export limitation rather than asking for installation to continue.
|
|
6
6
|
|
|
7
7
|
```json
|
|
8
8
|
{
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Review record format
|
|
2
|
+
|
|
3
|
+
## One versioned source
|
|
4
|
+
|
|
5
|
+
Use existing conventions, or `docs/missions/<mission-id>/reviews/<review-id>/review.json`, with generated `REVIEW.md` and deliberately included `preuves/`. Tickets link stable finding IDs; the report and UI derive results from the JSON. Do not maintain another independent score or status table.
|
|
6
|
+
|
|
7
|
+
Format 1 is shared by the optional CLI and browser validator. This installed reference supports authoring without fetching the npm package. Schema conformance never proves that a check ran.
|
|
8
|
+
|
|
9
|
+
| Object | Required fields and ownership |
|
|
10
|
+
|---|---|
|
|
11
|
+
| Review | format, id, title, project, mission, tickets, date, scope, exclusions, revision, technologies, sources, checks, findings, evidence, limits, policy, summary |
|
|
12
|
+
| revision | commit (recorded revision label), dirty (explicit uncommitted changes); no automatic Git execution |
|
|
13
|
+
| technologies | name, version, detectedFrom (actual manifest/lockfile/source evidence) |
|
|
14
|
+
| ticket | id, title, url (HTTPS or null; local/unpublished destinations remain unavailable) |
|
|
15
|
+
| source | id, title, kind (documentation/skill/project), publisher, technology, version, url, consultedAt, access (consulted/unavailable/unverified), usage, compatibility, provenance; consulted requires a date |
|
|
16
|
+
| check | id, title, domain, kind (automated/manual), status (passed/failed/not-run/blocked/out-of-scope), result, reason, evidenceIds, revision, targets; unexecuted/excluded checks need a reason |
|
|
17
|
+
| finding | id, title, domain, severity (critical/major/moderate/minor), severityReason, confidence (confirmed/suspected), resolution (open/in-progress/resolved/accepted-risk), location, trigger, expected, observed, impact, reproduction, evidenceIds, correction, tradeoffs, sourceIds, ticketIds, verification, resolutionEvidenceIds, targets |
|
|
18
|
+
| location | path or component description, line (positive integer or null), component (text or null); display metadata, never arbitrary file access |
|
|
19
|
+
| evidence | id, title, kind (text/log/screenshot/diagram), content (text alternative or excerpt), url (HTTPS or null), image (null or explicit PNG/JPEG object) |
|
|
20
|
+
| image | mime=image/png or image/jpeg, base64, alt, origin=captured/explanatory, privacyReviewed=true; only deliberately included reviewed images, not filesystem paths or remote images |
|
|
21
|
+
| policy | blockingSeverities, requireAllChecks, rationale; project-owned explicit policy, no numeric risk score |
|
|
22
|
+
|
|
23
|
+
A confirmed finding still needs evidence or reproduction. A resolved finding requires resolution evidence IDs; schema validation checks the references, **not the truth of execution or whether the fix really works**. Authors must retain the original evidence and supply fresh verification. Closing a panel never changes resolution. Finding counts include all resolution states and stay independent from filtered results; uncertain unresolved findings have a separate count. Failed-check counts are separate from finding counts.
|
|
24
|
+
|
|
25
|
+
A blocking confirmed open finding or a failed check requires corrections. Otherwise a blocked check yields blocked; no passed checks, an unresolved suspected finding, or required unrun checks yields incomplete. Otherwise the conclusion is ready **on the verified scope**, with exclusions and limits still visible. This conclusion does not authorize integration/deployment or replace repository policy.
|
|
26
|
+
|
package/COMPATIBILITY.md
CHANGED
|
@@ -4,14 +4,16 @@ Historical platform assessment date: 2026-09-12; those results apply only to the
|
|
|
4
4
|
|
|
5
5
|
| Host | Export directory | Invocation | Evidence |
|
|
6
6
|
|---|---|---|---|
|
|
7
|
-
| Codex | `.agents/skills/<name>/SKILL.md` | `$project-foundation status` | Local payload/export tests; method exercised with Codex in this session |
|
|
8
|
-
| Claude Code | `.claude/skills/<name>/SKILL.md` | `/project-foundation status` | Official format reviewed; export tests; authenticated native session pending |
|
|
9
|
-
| Cursor Agent | `.cursor/skills/<name>/SKILL.md` | `/project-foundation status` | Official format reviewed; export tests; authenticated native session pending |
|
|
7
|
+
| Codex | `.agents/skills/<name>/SKILL.md` | `$devmethod-status` (legacy `$project-foundation status`) | Local payload/export tests; method exercised with Codex in this session |
|
|
8
|
+
| Claude Code | `.claude/skills/<name>/SKILL.md` | `/devmethod-status` (legacy `/project-foundation status`) | Official format reviewed; export tests; authenticated native session pending |
|
|
9
|
+
| Cursor Agent | `.cursor/skills/<name>/SKILL.md` | `/devmethod-status` (legacy `/project-foundation status`) | Official format reviewed; export tests; authenticated native session pending |
|
|
10
10
|
|
|
11
11
|
The earlier validation environment lacked native executables/credentials. On 2026-09-13, version probes found Codex CLI 0.147.0 and Claude Code 2.1.238; Cursor CLI was not found on PATH. The subsequent delegated pilot executed six authenticated Codex invocations; see [reviewed native results](docs/NATIVE-PILOT-RESULTS.md) for the narrow fixture coverage, budget stop and incomplete comparison. Passing installer tests does not prove host discovery, model behavior or UI command completion. No Claude Code or Cursor version is claimed as runtime-tested. Therefore these profiles are provisionally compatible, not certified end-to-end.
|
|
12
12
|
|
|
13
13
|
Official references: [Claude Code skills](https://code.claude.com/docs/en/skills), [Claude Code memory](https://code.claude.com/docs/en/memory), [Cursor skills](https://cursor.com/docs/skills), [Codex skills](https://developers.openai.com/codex/skills). A host version or organization policy may change discovery or execution.
|
|
14
14
|
|
|
15
|
+
Version 0.4.0 adds discoverable stage adapters; [current command validation](docs/COMMANDS-VALIDATION.md) distinguishes installation checks from unverified menu discovery and model execution. Historical native results above do not validate these new adapters.
|
|
16
|
+
|
|
15
17
|
## Native smoke protocol
|
|
16
18
|
|
|
17
19
|
Run separately in authenticated Codex, Claude Code and Cursor Agent sessions. Use a disposable local repo with only the chosen profile. Record date, exact host version, model, discovery result, commands, artifacts read, actual check output and observed next commands. Redact credentials and personal data. Keep the evaluation transcript local until reviewed for publication.
|
package/README.md
CHANGED
|
@@ -4,12 +4,14 @@ From idea to delivery with your AI coding agents.
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/devmethod-ai) [](LICENSE) [](https://github.com/montassarkhalloufi/DevMethod/actions/workflows/platform-tests.yml)
|
|
6
6
|
|
|
7
|
-
## Watch DevMethod build Lisière —
|
|
7
|
+
## Watch DevMethod build Lisière, then inspect a review — 4 min 03 s
|
|
8
8
|
|
|
9
|
-
[](https://github.com/montassarkhalloufi/DevMethod/raw/refs/heads/main/docs/media/visual-chain/devmethod-du-besoin-au-produit-4k.fr.mp4)
|
|
10
10
|
|
|
11
11
|
**[▶ Watch the video — 4K, French narration](https://github.com/montassarkhalloufi/DevMethod/raw/refs/heads/main/docs/media/visual-chain/devmethod-du-besoin-au-produit-4k.fr.mp4)** · [Subtitles and execution evidence](docs/media/visual-chain/README.md) · [Download the working prototype](https://github.com/montassarkhalloufi/DevMethod/raw/refs/heads/main/docs/media/visual-chain/lisiere-visual-source.zip)
|
|
12
12
|
|
|
13
|
+
**Existing Lisière film, extended with the new review interface.** The original footage is retained, with an added narrated chapter showing real interface captures and a clearly fictional review example.
|
|
14
|
+
|
|
13
15
|
**Concrete example: Lisière, a personal reading library.** Start with an idea, compare three visual directions, approve a master screen, derive the other screen images, choose a suitable architecture, then build and verify the application.
|
|
14
16
|
|
|
15
17
|
| Step shown | Concrete result |
|
|
@@ -19,17 +21,18 @@ From idea to delivery with your AI coding agents.
|
|
|
19
21
|
| Architecture | HTML/CSS/JavaScript, testable book rules and browser-local storage |
|
|
20
22
|
| Plan, ready and implement | Working form, filters, status changes and saved books |
|
|
21
23
|
| Review and verify | Corrected alert/focus behavior, 6 tests and real Chrome desktop/mobile journeys |
|
|
24
|
+
| New review chapter | Find and filter findings, inspect evidence/corrections, distinguish coverage, inspect sources and export |
|
|
22
25
|
| Integrate and handoff | Local prototype, references, evidence and resumption context |
|
|
23
26
|
|
|
24
27
|
The video uses illustrative Codex commands with real generated images and recorded application interactions. DevMethod guides the coding agent; image generation requires an available host tool. The visual workflow is included in npm 0.2.0. [Follow the visual workflow](docs/VISUAL-WORKFLOW.md).
|
|
25
28
|
|
|
26
29
|

|
|
27
30
|
|
|
28
|
-
DevMethod
|
|
31
|
+
DevMethod exposes fourteen `devmethod-*` workflow commands in the agent’s skill menu. The six procedure modules and existing `project-foundation <stage>` invocations remain supported.
|
|
29
32
|
|
|
30
33
|
A reusable workflow for taking a software project from exploration to delivery: decisions, UX, architecture, tickets, development, tests, review and handoff. Six focused skills support fourteen workflow stages, each ending with evidence, limitations and one suggested next command.
|
|
31
34
|
|
|
32
|
-
**DevMethod 0.
|
|
35
|
+
**DevMethod 0.4.0.** [Direct agent commands and migration](docs/RELEASE-0.4.0.md) · [0.3 workflow changes](docs/RELEASE-0.3.0.md). This release exposes the documented stages directly in the agent, including review without a terminal launcher. It retains the research, decision dialogue, mission templates and browser review viewer introduced in 0.3. Check the registry and GitHub release for publication evidence.
|
|
33
36
|
|
|
34
37
|
For developers and small teams using coding agents in new or existing repositories. Requires Node.js 22+ and npm; Git is required for context provenance. Application examples have separate framework/database prerequisites. DevMethod records scope, decisions and verification; it does not certify agent output, infer all dependencies, deploy applications or run an autonomous backlog. Installation and deterministic fixture results are separate from native host validation. See [compatibility](COMPATIBILITY.md).
|
|
35
38
|
|
|
@@ -40,18 +43,18 @@ Start with [missions and the tested source quick start](docs/MISSIONS.md), the [
|
|
|
40
43
|
Requires Node.js 22+ and npm. Install into a fresh staging directory first:
|
|
41
44
|
|
|
42
45
|
```bash
|
|
43
|
-
npx --yes devmethod-ai@0.
|
|
46
|
+
npx --yes devmethod-ai@0.4.0 init --tool codex --dest ../foundation-staging
|
|
44
47
|
```
|
|
45
48
|
|
|
46
49
|
Choose `codex`, `claude` or `cursor`. If you omit `--tool`, an interactive terminal asks. For example:
|
|
47
50
|
|
|
48
51
|
```bash
|
|
49
|
-
npx --yes devmethod-ai@0.
|
|
52
|
+
npx --yes devmethod-ai@0.4.0 init --tool claude --dest ../foundation-staging --dry-run
|
|
50
53
|
```
|
|
51
54
|
|
|
52
55
|
Remove `--dry-run` to write. Select a subset with `--modules decision-architecture,scoped-delivery`; `project-foundation` is always included. Without `--modules`, all six modules are installed. The installer refuses divergent files and duplicate skills across host directories. It never edits AGENTS.md, CLAUDE.md or your package.json. Review the staging output, then merge only what the project needs.
|
|
53
56
|
|
|
54
|
-
The installer has no runtime dependencies and makes no network requests after npm obtains the package. To pin the final version, use `npx --yes devmethod-ai@0.
|
|
57
|
+
The installer has no runtime dependencies and makes no network requests after npm obtains the package. To pin the final version, use `npx --yes devmethod-ai@0.4.0 init ...`. To pin a reviewed repository commit instead, use: `npx --yes --package=github:montassarkhalloufi/DevMethod#<commit-sha> devmethod init ...`.
|
|
55
58
|
|
|
56
59
|
Complete PROJECT_PROFILE.md with your real stack, commands, scope, deployment permissions and data requirements. Merge AGENTS.foundation.md into the project's existing instructions only after review. Claude Code reads CLAUDE.md: preserve its current content and, if the project has AGENTS.md, optionally add `@AGENTS.md` to import it. Keep existing accepted architecture decisions authoritative.
|
|
57
60
|
|
|
@@ -99,28 +102,30 @@ Risk and repository policy override apparent size. Reuse accepted UI, architectu
|
|
|
99
102
|
|
|
100
103
|
## Run the workflow
|
|
101
104
|
|
|
102
|
-
In Codex: `$
|
|
105
|
+
In Codex: select `$devmethod-status` or `$devmethod-review TASK-1`.
|
|
106
|
+
|
|
107
|
+
In Claude Code or Cursor: select `/devmethod-status` or `/devmethod-review TASK-1`.
|
|
103
108
|
|
|
104
|
-
|
|
109
|
+
After installation, these commands run the workflow in your agent without npx. For example, `$devmethod-review` inspects actual changes, runs relevant checks and reports findings; it does not merely open the viewer. Existing `project-foundation <stage>` syntax remains valid. Partial module installs expose only stages supported by the selected modules. See [command discovery and updates](docs/COMMANDS.md).
|
|
105
110
|
|
|
106
|
-
|
|
111
|
+
Select an action below and add its target. These are prompts to the skill, not shell commands or standalone `/verify` commands. They do not create a background autonomous loop.
|
|
107
112
|
|
|
108
113
|
| Action | Result |
|
|
109
114
|
|---|---|
|
|
110
|
-
| `explore` | Dated research on existing solutions, uncertainty and next direction |
|
|
111
|
-
| `frame` | Product scope, exclusions and success measures |
|
|
112
|
-
| `design` | Visual directions, selected mockups and UX criteria; image tooling depends on the host |
|
|
113
|
-
| `architecture` | Conversation and explicit choice/delegation before dependent detail |
|
|
114
|
-
| `plan` | Useful scope discussion, conditional milestones and near-term tickets |
|
|
115
|
-
| `ready TASK-1` | Readiness assessment before implementation |
|
|
116
|
-
| `implement TASK-1` | Scoped code, tests and corrections |
|
|
117
|
-
| `review TASK-1` |
|
|
118
|
-
| `verify TASK-1` | Executed checks and remaining gates |
|
|
119
|
-
| `integrate TASK-1` | Delivery under existing permissions |
|
|
120
|
-
| `correct-course` | Resolve changed scope or blocked decisions |
|
|
121
|
-
| `next` | Select the next authorized slice |
|
|
122
|
-
| `status` | Current evidenced implementation status |
|
|
123
|
-
| `handoff` | Resumable checkpoint |
|
|
115
|
+
| `devmethod-explore` | Dated research on existing solutions, uncertainty and next direction |
|
|
116
|
+
| `devmethod-frame` | Product scope, exclusions and success measures |
|
|
117
|
+
| `devmethod-design` | Visual directions, selected mockups and UX criteria; image tooling depends on the host |
|
|
118
|
+
| `devmethod-architecture` | Conversation and explicit choice/delegation before dependent detail |
|
|
119
|
+
| `devmethod-plan` | Useful scope discussion, conditional milestones and near-term tickets |
|
|
120
|
+
| `devmethod-ready TASK-1` | Readiness assessment before implementation |
|
|
121
|
+
| `devmethod-implement TASK-1` | Scoped code, tests and corrections |
|
|
122
|
+
| `devmethod-review TASK-1` | Evidence-backed inspection, structured findings, checks, sources and report |
|
|
123
|
+
| `devmethod-verify TASK-1` | Executed checks and remaining gates |
|
|
124
|
+
| `devmethod-integrate TASK-1` | Delivery under existing permissions |
|
|
125
|
+
| `devmethod-correct-course` | Resolve changed scope or blocked decisions |
|
|
126
|
+
| `devmethod-next` | Select the next authorized slice |
|
|
127
|
+
| `devmethod-status` | Current evidenced implementation status |
|
|
128
|
+
| `devmethod-handoff` | Resumable checkpoint |
|
|
124
129
|
|
|
125
130
|
See [research, decision dialogue and mission migration](docs/WORKFLOW-0.3.md). See the [full command contract](.agents/skills/project-foundation/references/operating-commands.md). A failed check returns to correction; a blocked gate leads to handoff or replanning. Tests, code review and native permissions remain necessary.
|
|
126
131
|
|
|
@@ -128,17 +133,25 @@ See [research, decision dialogue and mission migration](docs/WORKFLOW-0.3.md). S
|
|
|
128
133
|
|
|
129
134
|
## More recorded examples
|
|
130
135
|
|
|
131
|
-
[Detailed recorded Lisière chain](docs/media/full-chain-4k/README.md) · [Short Clair demo](docs/media/from-zero/README.md) · [Run Clair](examples/clair-from-zero/README.md). Clair is a separate from-zero example
|
|
136
|
+
[Detailed recorded Lisière chain](docs/media/full-chain-4k/README.md) · [Short Clair demo](docs/media/from-zero/README.md) · [Run Clair](examples/clair-from-zero/README.md). Clair is a separate from-zero example. The featured film retains the Lisière story and adds an explicitly separate fictional review example.
|
|
132
137
|
|
|
133
|
-
## Inspect a review in your browser
|
|
138
|
+
## Inspect a review in your browser (optional)
|
|
134
139
|
|
|
135
140
|
Generate a local interactive report from the packaged fictional demo:
|
|
136
141
|
|
|
137
142
|
```sh
|
|
138
|
-
npx --yes devmethod-ai@0.
|
|
143
|
+
npx --yes devmethod-ai@0.4.0 review --demo --output review.html --open
|
|
139
144
|
```
|
|
140
145
|
|
|
141
|
-
|
|
146
|
+
The command generates `review.html` and opens it in your browser without a local server. On a headless machine, omit `--open`; if opening fails, the file remains available. For your own results, use `--review relative/review.json`; add `--markdown REVIEW.md` for the derived report. Search and filter findings, inspect evidence and source provenance, and export the same results. Existing Markdown remains readable with `--legacy`. See [review commands, format and trust limits](docs/REVIEWS.md). The CLI presents recorded results; it does not perform an automatic code review.
|
|
147
|
+
|
|
148
|
+

|
|
149
|
+
|
|
150
|
+
**[Follow the review walkthrough](https://github.com/montassarkhalloufi/DevMethod/blob/main/docs/REVIEW-GUIDE.md)** · [JSON, Markdown and HTML example](https://github.com/montassarkhalloufi/DevMethod/tree/main/examples/review) · [Review chapter provenance](https://github.com/montassarkhalloufi/DevMethod/blob/main/docs/media/review-extension/README.md)
|
|
151
|
+
|
|
152
|
+
The example contains two fictional findings and three separate checks. Severity, confidence and resolution remain distinct. Sources show whether they were actually consulted. The same structured record produces the UI and reports; tickets reference stable finding IDs.
|
|
153
|
+
|
|
154
|
+

|
|
142
155
|
|
|
143
156
|
## Visual design and architecture
|
|
144
157
|
|
package/START_HERE.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
DevMethod offers six independent modules; this installation contains the modules you selected. If this is a staging directory, review and copy its installed skill folder into the project while preserving existing files. If you installed directly into the project, the selected skills are already in place. If a version already exists, compare changes before updating it. Keep `PROJECT_PROFILE.md` and complete the stack, commands, scope, deployment permissions, and data requirements from the project before adoption. `ENGINEERING_POLICY.template.md` retains the included policy; merge it with `CONTRIBUTING.md` and existing instructions.
|
|
4
4
|
|
|
5
|
-
In Codex, start with `$
|
|
5
|
+
In Codex, start with `$devmethod-status`; for a review select `$devmethod-review` and add a ticket, PR or changed paths. In Claude Code or Cursor use `/devmethod-status` or `/devmethod-review`. All fourteen documented stages are exposed by a full installation. Module subsets expose stages backed by installed procedures. Once installed, run stages directly in the agent: no npx is needed. Existing `project-foundation <stage>` invocations still work. For an open-ended request:
|
|
6
6
|
|
|
7
7
|
> Use the `project-foundation` skill for this project. Read existing instructions and sources, complete the profile without reinventing decisions, then deliver the following scope: [my objective]. Apply only relevant modules. Preserve the approved mockup, architecture boundaries, and React rules. Progress to a verified result within this scope.
|
|
8
8
|
|
package/dist/cli.js
CHANGED
|
@@ -32,7 +32,9 @@ Non-interactive init calls require --tool. Destination defaults to the current d
|
|
|
32
32
|
All six modules are included by default; project-foundation is always included.
|
|
33
33
|
Existing divergent files block installation; there is no overwrite option.
|
|
34
34
|
The installer is offline. npx may download the package before it runs.
|
|
35
|
-
|
|
35
|
+
After installation, select devmethod-review (or any documented devmethod-<stage>)
|
|
36
|
+
in your agent. No npx is needed to run a workflow. Full installs expose 14 stages;
|
|
37
|
+
subsets expose commands backed by installed modules. project-foundation <stage> still works.
|
|
36
38
|
Use the host-native skill syntax; these are not executable CLI subcommands.
|
|
37
39
|
The JSON plan inspector is read-only. Markdown PLAN/tickets and legacy missions
|
|
38
40
|
are agent-readable guidance; init never creates or migrates mission records.
|
package/dist/commands.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Native stage entry points; module selection remains the six-module contract. */
|
|
2
|
+
export const stageOwners = {
|
|
3
|
+
'devmethod-explore': 'project-foundation',
|
|
4
|
+
'devmethod-frame': 'project-foundation',
|
|
5
|
+
'devmethod-design': 'design-to-code',
|
|
6
|
+
'devmethod-architecture': 'decision-architecture',
|
|
7
|
+
'devmethod-plan': 'scoped-delivery',
|
|
8
|
+
'devmethod-ready': 'scoped-delivery',
|
|
9
|
+
'devmethod-implement': 'scoped-delivery',
|
|
10
|
+
'devmethod-review': 'scoped-delivery',
|
|
11
|
+
'devmethod-verify': 'scoped-delivery',
|
|
12
|
+
'devmethod-integrate': 'scoped-delivery',
|
|
13
|
+
'devmethod-correct-course': 'project-foundation',
|
|
14
|
+
'devmethod-next': 'scoped-delivery',
|
|
15
|
+
'devmethod-status': 'project-foundation',
|
|
16
|
+
'devmethod-handoff': 'scoped-delivery',
|
|
17
|
+
};
|
|
18
|
+
export function commandSkills(selected) {
|
|
19
|
+
return Object.entries(stageOwners).filter(([, owner]) => selected.includes('project-foundation') && selected.includes(owner)).map(([name]) => name);
|
|
20
|
+
}
|
package/dist/doctor.js
CHANGED
|
@@ -2,6 +2,7 @@ import * as fs from 'node:fs';
|
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import { createHash } from 'node:crypto';
|
|
4
4
|
import { tools, modules, templates } from './init.js';
|
|
5
|
+
import { commandSkills } from './commands.js';
|
|
5
6
|
import { parseJson, checkPath, stat } from './filesystem.js';
|
|
6
7
|
function object(value) {
|
|
7
8
|
return value !== null && typeof value === 'object' && !Array.isArray(value);
|
|
@@ -15,6 +16,7 @@ export function validateManifest(value) {
|
|
|
15
16
|
!object(value.files))
|
|
16
17
|
throw new Error('Expected a DevMethod format 2 manifest with a supported host and unique modules including project-foundation.');
|
|
17
18
|
const root = tools[value.tool];
|
|
19
|
+
const supportedSkills = [...value.skills, ...commandSkills(value.skills)];
|
|
18
20
|
const required = [...templates, 'DEVMETHOD-LICENSE', ...value.skills.map(name => `${root}/${name}/SKILL.md`)];
|
|
19
21
|
for (const name of required) {
|
|
20
22
|
if (!Object.hasOwn(value.files, name))
|
|
@@ -25,7 +27,7 @@ export function validateManifest(value) {
|
|
|
25
27
|
const parts = name.split('/');
|
|
26
28
|
const safe = parts.every(part => /^[a-zA-Z0-9._-]+$/.test(part) && part !== '.' && part !== '..');
|
|
27
29
|
const rootFile = templates.includes(name) || name === 'DEVMETHOD-LICENSE';
|
|
28
|
-
const skillFile = parts.slice(0, 2).join('/') === root &&
|
|
30
|
+
const skillFile = parts.slice(0, 2).join('/') === root && supportedSkills.includes(parts[2]) &&
|
|
29
31
|
((parts.length === 4 && parts[3] === 'SKILL.md') ||
|
|
30
32
|
(parts.length >= 5 && ['assets', 'references'].includes(parts[3] ?? '') && name.endsWith('.md')));
|
|
31
33
|
if (!safe || (!rootFile && !skillFile))
|
|
@@ -93,7 +95,7 @@ export function diagnose(destination) {
|
|
|
93
95
|
add('error', 'file-unreadable', error instanceof Error ? error.message : String(error), relative);
|
|
94
96
|
}
|
|
95
97
|
}
|
|
96
|
-
for (const name of manifest.skills) {
|
|
98
|
+
for (const name of [...manifest.skills, ...commandSkills(manifest.skills)]) {
|
|
97
99
|
for (const root of Object.values(tools)) {
|
|
98
100
|
if (root === tools[manifest.tool])
|
|
99
101
|
continue;
|