devmethod-ai 0.1.0-rc.2 → 0.2.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.
Files changed (228) hide show
  1. package/.agents/skills/decision-architecture/SKILL.md +15 -13
  2. package/.agents/skills/decision-architecture/assets/ADR.md +18 -17
  3. package/.agents/skills/decision-architecture/references/api-contracts.md +21 -16
  4. package/.agents/skills/decision-architecture/references/backend-boundaries.md +21 -18
  5. package/.agents/skills/decision-architecture/references/product-decisions.md +14 -17
  6. package/.agents/skills/design-to-code/SKILL.md +18 -11
  7. package/.agents/skills/design-to-code/assets/UI_ACCEPTANCE.md +13 -12
  8. package/.agents/skills/design-to-code/references/ux-contract.md +20 -15
  9. package/.agents/skills/design-to-code/references/visual-creation.md +37 -0
  10. package/.agents/skills/project-foundation/SKILL.md +39 -30
  11. package/.agents/skills/project-foundation/assets/AGENTS.foundation.md +16 -15
  12. package/.agents/skills/project-foundation/assets/PROJECT_PROFILE.md +24 -23
  13. package/.agents/skills/project-foundation/assets/START_HERE.md +17 -14
  14. package/.agents/skills/project-foundation/references/mission-context.md +30 -0
  15. package/.agents/skills/project-foundation/references/operating-commands.md +49 -34
  16. package/.agents/skills/project-foundation/references/profiles/README.md +18 -0
  17. package/.agents/skills/project-foundation/references/profiles/ci.md +11 -0
  18. package/.agents/skills/project-foundation/references/profiles/cloud-delivery.md +13 -0
  19. package/.agents/skills/project-foundation/references/profiles/messaging.md +11 -0
  20. package/.agents/skills/project-foundation/references/profiles/mongodb.md +11 -0
  21. package/.agents/skills/project-foundation/references/profiles/node-nest.md +11 -0
  22. package/.agents/skills/project-foundation/references/profiles/postgres-drizzle.md +11 -0
  23. package/.agents/skills/project-foundation/references/profiles/react-next.md +11 -0
  24. package/.agents/skills/project-foundation/references/profiles/typescript.md +11 -0
  25. package/.agents/skills/project-foundation/references/work-sizing.md +31 -0
  26. package/.agents/skills/react-feature-engineering/SKILL.md +26 -22
  27. package/.agents/skills/react-feature-engineering/references/review-and-sources.md +41 -37
  28. package/.agents/skills/reliable-ai-integration/SKILL.md +13 -10
  29. package/.agents/skills/reliable-ai-integration/assets/AI_EVALUATION.md +19 -18
  30. package/.agents/skills/reliable-ai-integration/references/evidence-and-media.md +22 -18
  31. package/.agents/skills/reliable-ai-integration/references/jobs-and-costs.md +20 -15
  32. package/.agents/skills/scoped-delivery/SKILL.md +25 -18
  33. package/.agents/skills/scoped-delivery/assets/CHECKPOINT.md +22 -11
  34. package/.agents/skills/scoped-delivery/assets/MISSION.md +35 -0
  35. package/.agents/skills/scoped-delivery/assets/SLICE.md +15 -14
  36. package/.agents/skills/scoped-delivery/assets/VERIFICATION.md +19 -0
  37. package/.agents/skills/scoped-delivery/references/verification-and-cost.md +21 -18
  38. package/COMPATIBILITY.md +3 -3
  39. package/CONTRIBUTING.md +13 -0
  40. package/README.md +94 -9
  41. package/START_HERE.md +24 -0
  42. package/VALIDATION.md +37 -0
  43. package/dist/checkpoint.js +171 -0
  44. package/dist/cli.js +118 -17
  45. package/dist/doctor.js +113 -0
  46. package/dist/filesystem.js +32 -0
  47. package/dist/init.js +38 -34
  48. package/dist/mission.js +85 -0
  49. package/dist/planner.js +65 -0
  50. package/dist/records.js +76 -0
  51. package/dist/update.js +57 -0
  52. package/docs/ADR-001-distribution.md +13 -0
  53. package/docs/ADR-002-read-only-diagnostics.md +25 -0
  54. package/docs/ADR-003-installation-provenance.md +15 -0
  55. package/docs/ADR-004-checkpoint-resumption.md +23 -0
  56. package/docs/ADR-005-mission-context.md +11 -0
  57. package/docs/ADR-006-opt-in-native-pilot.md +15 -0
  58. package/docs/BMAD-COMPARISON.md +34 -0
  59. package/docs/CODEX-ADAPTER-VALIDATION.md +20 -0
  60. package/docs/COMPARISON-ITERATION.md +25 -0
  61. package/docs/DOCTOR.md +23 -0
  62. package/docs/EVALUATION.md +39 -0
  63. package/docs/EVOLUTION.md +34 -0
  64. package/docs/GREENFIELD-VALIDATION.md +36 -0
  65. package/docs/MILESTONES.md +39 -0
  66. package/docs/MISSIONS.md +47 -0
  67. package/docs/NATIVE-PILOT-RESULTS.md +22 -0
  68. package/docs/NATIVE-PILOT.md +17 -0
  69. package/docs/ORCHESTRATION.md +11 -0
  70. package/docs/RC2-VALIDATION.md +50 -0
  71. package/docs/RELEASE-0.1.0.md +60 -0
  72. package/docs/RELEASE-0.2.0.md +37 -0
  73. package/docs/RELEASE-CHECKLIST.md +13 -0
  74. package/docs/RELEASE-NOTES-0.1.0-rc.2.md +32 -0
  75. package/docs/RELEASE-NOTES-0.1.0.md +11 -0
  76. package/docs/RESUMPTION.md +87 -0
  77. package/docs/ROADMAP.md +39 -0
  78. package/docs/STACK-PROFILES.md +9 -0
  79. package/docs/TROUBLESHOOTING.md +16 -0
  80. package/docs/UPDATES.md +30 -0
  81. package/docs/VISUAL-CREATION-PROPOSAL.md +21 -0
  82. package/docs/VISUAL-WORKFLOW.md +75 -0
  83. package/docs/images/devmethod-delivery.svg +10 -0
  84. package/docs/images/devmethod-flow.svg +13 -0
  85. package/docs/media/from-zero/README.md +17 -0
  86. package/docs/media/from-zero/devmethod-demo.fr.srt +59 -0
  87. package/docs/media/from-zero/scenes.json +50 -0
  88. package/docs/media/full-chain-4k/README.md +37 -0
  89. package/docs/media/full-chain-4k/devmethod-chaine-complete.fr.srt +435 -0
  90. package/docs/media/full-chain-4k/scenes.json +173 -0
  91. package/docs/media/full-chain-4k/transcripts.fr.md +315 -0
  92. package/docs/media/visual-chain/README.md +44 -0
  93. package/docs/media/visual-chain/assets/add-book-v1.png +0 -0
  94. package/docs/media/visual-chain/assets/completed-v1.png +0 -0
  95. package/docs/media/visual-chain/devmethod-du-besoin-au-produit.fr.srt +147 -0
  96. package/docs/media/visual-chain/execution.fr.md +30 -0
  97. package/docs/media/visual-chain/image-prompts.json +9 -0
  98. package/docs/media/visual-chain/reference-hashes.json +5 -0
  99. package/docs/media/visual-chain/scenes.json +232 -0
  100. package/docs/media/visual-chain/video-preview.jpg +0 -0
  101. package/docs/missions/visual-workflow.md +46 -0
  102. package/evaluation/COMPARISONS.md +33 -0
  103. package/evaluation/README.md +35 -0
  104. package/evaluation/candidate-setup.json +33 -0
  105. package/evaluation/comparison-v2-readiness.json +18 -0
  106. package/evaluation/comparison-v2-results.json +58 -0
  107. package/evaluation/fixtures/dependency/CONTRIBUTING.md +3 -0
  108. package/evaluation/fixtures/dependency/TICKET.md +3 -0
  109. package/evaluation/fixtures/dependency/acceptance.test.mjs +4 -0
  110. package/evaluation/fixtures/dependency/api.mjs +1 -0
  111. package/evaluation/fixtures/failing-verification/CONTRIBUTING.md +3 -0
  112. package/evaluation/fixtures/failing-verification/acceptance.test.mjs +4 -0
  113. package/evaluation/fixtures/failing-verification/total.mjs +1 -0
  114. package/evaluation/fixtures/stale-handoff/CHECKPOINT.md +3 -0
  115. package/evaluation/fixtures/stale-handoff/CONTRACT.md +3 -0
  116. package/evaluation/fixtures/stale-handoff/CONTRIBUTING.md +3 -0
  117. package/evaluation/fixtures/stale-handoff/acceptance.test.mjs +4 -0
  118. package/evaluation/fixtures/stale-handoff/label.mjs +1 -0
  119. package/evaluation/fixtures/update-customization/README.md +13 -0
  120. package/evaluation/fixtures.json +85 -0
  121. package/evaluation/greenfield/acceptance.test.mjs +57 -0
  122. package/evaluation/greenfield/security.test.mjs +28 -0
  123. package/evaluation/native-pilot-results.json +155 -0
  124. package/examples/README.md +36 -0
  125. package/examples/bugfix/acceptance.test.mjs +17 -0
  126. package/examples/bugfix/page-size.mjs +4 -0
  127. package/examples/clair-from-zero/AGENT-EVALUATION.md +15 -0
  128. package/examples/clair-from-zero/MISSION.md +41 -0
  129. package/examples/clair-from-zero/README.md +24 -0
  130. package/examples/clair-from-zero/app/app.mjs +69 -0
  131. package/examples/clair-from-zero/app/domain.mjs +30 -0
  132. package/examples/clair-from-zero/app/index.html +20 -0
  133. package/examples/clair-from-zero/app/storage.mjs +4 -0
  134. package/examples/clair-from-zero/app/styles.css +128 -0
  135. package/examples/clair-from-zero/browser-check.cjs +2 -0
  136. package/examples/clair-from-zero/tests/domain.test.mjs +37 -0
  137. package/examples/fullstack/CONTRACT.md +23 -0
  138. package/examples/fullstack/DEPENDENCIES.md +18 -0
  139. package/examples/fullstack/README.md +100 -0
  140. package/examples/fullstack/api/application/tasks.ts +13 -0
  141. package/examples/fullstack/api/domain/task.ts +12 -0
  142. package/examples/fullstack/api/http.ts +26 -0
  143. package/examples/fullstack/api/infrastructure/migrate.ts +15 -0
  144. package/examples/fullstack/api/infrastructure/postgres.ts +18 -0
  145. package/examples/fullstack/api/infrastructure/schema.ts +6 -0
  146. package/examples/fullstack/api/main.ts +17 -0
  147. package/examples/fullstack/api/tsconfig.json +17 -0
  148. package/examples/fullstack/compose.yaml +14 -0
  149. package/examples/fullstack/migrations/0000_tasks.sql +5 -0
  150. package/examples/fullstack/migrations/meta/_journal.json +13 -0
  151. package/examples/fullstack/mission.json +34 -0
  152. package/examples/fullstack/package-lock.json +2661 -0
  153. package/examples/fullstack/package.json +45 -0
  154. package/examples/fullstack/tests/e2e.test.cjs +54 -0
  155. package/examples/fullstack/tests/http.test.cjs +33 -0
  156. package/examples/fullstack/tests/postgres.test.cjs +29 -0
  157. package/examples/fullstack/tests/unit.test.cjs +20 -0
  158. package/examples/fullstack/tests/web-model.test.cjs +23 -0
  159. package/examples/fullstack/web/app/layout.tsx +4 -0
  160. package/examples/fullstack/web/app/page.tsx +11 -0
  161. package/examples/fullstack/web/features/tasks/components/task-list.tsx +11 -0
  162. package/examples/fullstack/web/features/tasks/hooks/use-task-filter.ts +7 -0
  163. package/examples/fullstack/web/features/tasks/model/tasks.ts +12 -0
  164. package/examples/fullstack/web/features/tasks/server/list-tasks.ts +8 -0
  165. package/examples/fullstack/web/next.config.mjs +2 -0
  166. package/examples/fullstack/web/tsconfig.json +36 -0
  167. package/examples/mission/CONTRACT.md +3 -0
  168. package/examples/mission/mission.json +18 -0
  169. package/examples/mission/plan.json +11 -0
  170. package/examples/pocket-tasks/BRIEF.md +21 -0
  171. package/examples/pocket-tasks/PROJECT_PROFILE.md +19 -0
  172. package/examples/pocket-tasks/README.md +43 -0
  173. package/examples/pocket-tasks/docs/ADR-001.md +7 -0
  174. package/examples/pocket-tasks/docs/HANDOFF.md +16 -0
  175. package/examples/pocket-tasks/docs/MISSION.md +15 -0
  176. package/examples/pocket-tasks/docs/VERIFICATION.md +58 -0
  177. package/examples/pocket-tasks/package.json +1 -0
  178. package/examples/pocket-tasks/public/app.js +84 -0
  179. package/examples/pocket-tasks/public/index.html +12 -0
  180. package/examples/pocket-tasks/public/styles.css +1 -0
  181. package/examples/pocket-tasks/server.mjs +79 -0
  182. package/examples/pocket-tasks/src/domain.mjs +31 -0
  183. package/examples/pocket-tasks/src/store.mjs +49 -0
  184. package/examples/pocket-tasks/tests/app.test.mjs +132 -0
  185. package/examples/pocket-tasks/tests/ui-errors.test.mjs +49 -0
  186. package/examples/visual-pilot/README.md +11 -0
  187. package/examples/visual-pilot/app/app.js +10 -0
  188. package/examples/visual-pilot/app/index.html +1 -0
  189. package/examples/visual-pilot/app/reference.png +0 -0
  190. package/examples/visual-pilot/app/style.css +3 -0
  191. package/examples/visual-pilot/browser-check.cjs +3 -0
  192. package/examples/visual-pilot/desktop-actual.png +0 -0
  193. package/examples/visual-pilot/directions-prompt.txt +1 -0
  194. package/examples/visual-pilot/directions-v1.png +0 -0
  195. package/examples/visual-pilot/editorial-mockup-prompt.txt +1 -0
  196. package/examples/visual-pilot/editorial-mockup-v1.png +0 -0
  197. package/examples/visual-pilot/mismatch-probe.png +0 -0
  198. package/examples/visual-pilot/mobile-actual.png +0 -0
  199. package/examples/visual-pilot/quick-filter/AGENT-RESULT.md +25 -0
  200. package/examples/visual-pilot/quick-filter/baseline.log +42 -0
  201. package/examples/visual-pilot/quick-filter/filter.mjs +3 -0
  202. package/examples/visual-pilot/quick-filter/filter.test.mjs +9 -0
  203. package/package.json +15 -3
  204. package/scripts/check-codex-git.mjs +20 -0
  205. package/scripts/check-docs.mjs +14 -0
  206. package/scripts/check-native-sandbox.mjs +11 -0
  207. package/scripts/comparison-readiness.mjs +26 -0
  208. package/scripts/comparison.mjs +42 -0
  209. package/scripts/evaluation.mjs +64 -0
  210. package/scripts/fullstack-mission.mjs +30 -0
  211. package/scripts/hosts/checks.mjs +13 -0
  212. package/scripts/hosts/codex-meter.mjs +17 -0
  213. package/scripts/hosts/codex-rpc.mjs +44 -0
  214. package/scripts/hosts/codex-task.mjs +29 -0
  215. package/scripts/hosts/codex.mjs +28 -0
  216. package/scripts/media/demo-actions.cjs +16 -0
  217. package/scripts/media/encode-demo.py +22 -0
  218. package/scripts/media/record-demo.cjs +30 -0
  219. package/scripts/media/visual-short/check.cjs +1 -0
  220. package/scripts/media/visual-short/encode.py +16 -0
  221. package/scripts/media/visual-short/record.cjs +4 -0
  222. package/scripts/media/visual-short/story.py +34 -0
  223. package/scripts/native-host.mjs +55 -0
  224. package/scripts/package-smoke.mjs +64 -0
  225. package/scripts/probe-codex-children.mjs +41 -0
  226. package/scripts/run-comparison-v2.mjs +45 -0
  227. package/scripts/run-native-pilot.mjs +76 -0
  228. package/scripts/summarize-native-pilot.mjs +7 -0
@@ -0,0 +1,37 @@
1
+ # DevMethod 0.2.0 — visual design through verified delivery
2
+
3
+ Status: candidate prepared for maintainer review. Not published on npm. The registry still serves 0.1.0 under `latest`; npm authentication is required to publish this candidate. GitHub updates and package preparation are separate from publication.
4
+
5
+ ## Changes
6
+
7
+ - The existing `design` stage now explicitly covers comparable artistic directions, an approved master screen, derived screen images and browser comparison. Stay in design while requested visual references are missing.
8
+ - Existing approvals are retained for unchanged scope. Generated mockups, source references and browser captures are identified separately. The master is supplied as an actual image reference when the host supports it.
9
+ - Design works alongside technology and architecture decisions; no framework or stack is imposed. There are still six skills and fourteen workflow stages, with no new standalone master/pages commands.
10
+ - The README features the complete 2 min 58 s Lisière demonstration and two legible, complementary SVG diagrams for the overall workflow and delivery loop.
11
+ - Documentation, narration, subtitles and the runnable prototype evidence cover framing, visual design, architecture, readiness, implementation, review, verification and local handoff.
12
+
13
+ Image generation requires an available host tool; it is not bundled. The film contains illustrative commands and real generated images / application interactions, not a continuous Codex Desktop capture. The native pilot does not establish Claude Code or Cursor execution parity. The public CLI does not gain autonomous task dispatch.
14
+
15
+ ## Adopt without overwriting project work
16
+
17
+ Until publication, use a reviewed GitHub revision:
18
+
19
+ ```sh
20
+ npx --yes --package=github:montassarkhalloufi/DevMethod#<reviewed-commit> devmethod init --tool codex --dest ../devmethod-staging
21
+ ```
22
+
23
+ After the registry confirms publication, the versioned command will be:
24
+
25
+ ```sh
26
+ npx --yes devmethod-ai@0.2.0 init --tool codex --dest ../devmethod-staging
27
+ ```
28
+
29
+ Stage and compare updates. Keep existing project decisions, customized skills, filled profiles and instructions. There is no automatic migration.
30
+
31
+ ## Candidate verification
32
+
33
+ Local candidate checks passed: locked installation, 72 core tests, 24 greenfield tests, Markdown links, both diagrams rendered in Chrome, package-content inspection and installation smoke from the archive for all three host layouts, including a subset and customization preservation. Exact source revision, final archive digest and platform CI results are recorded in the release PR before publication. Platform installation checks do not prove authenticated agent behavior.
34
+
35
+ Native workflow evidence is retained in the [Lisière execution record](media/visual-chain/execution.fr.md) and [visual pilot](../examples/visual-pilot/README.md). The release reuses that evidence for the unchanged skills; it does not claim fresh model runs.
36
+
37
+ Publish only the reviewed archive with an explicit `latest` tag for an authorized final release. After publication, download the registry tarball, compare its integrity and run package smoke again. Keep 0.1.0 available as a rollback reference.
@@ -0,0 +1,13 @@
1
+ # Release checklist
2
+
3
+ Public releases require maintainer review of the exact candidate under CONTRIBUTING.md. This checklist does not authorize publication.
4
+
5
+ 1. Record the source revision and intended candidate version. Keep accepted contracts and English documentation consistent. Rebuild and commit `dist/` with source; do not claim new commands exist in an older npm tarball.
6
+ 2. Run `npm ci`, `npm test`, and `npm pack --dry-run`. Inspect the actual package contents, notice, executable and payload. Run the packed CLI for every host, including a subset, conflict preservation, and `doctor --json`.
7
+ 3. Record current platform CI run and job conclusions. Older green runs apply to their recorded commits; they do not certify a changed CLI on all systems.
8
+ 4. Separately run the [native smoke protocol](../COMPATIBILITY.md#native-smoke-protocol). Record exact host/model versions and real behavior. Keep untested hosts labeled pending even if installation is green.
9
+ 5. Check the [workflow evaluation protocol](EVALUATION.md) before publishing behavioral or comparative claims. Record what was actually run; do not substitute a written example for a transcript.
10
+ 6. Update version and lockfile together for a new npm release, refresh release notes and compatibility evidence, and inspect the final candidate again. Use the `next` tag for release candidates; preserve the stable tag.
11
+ 7. After authorized maintainer publication, verify the registry artifact/version and smoke-test that exact tarball. Record its digest and provenance. A pushed branch or merged PR is not an npm publication.
12
+
13
+ Keep the previous package available as a rollback reference. Adoption updates remain staged comparisons; this release does not automatically migrate user profiles or instructions.
@@ -0,0 +1,32 @@
1
+ # DevMethod 0.1.0-rc.2 — candidate, not published
2
+
3
+ Historical rc.2 record. For the current supported scope and validation, read [the 0.1.0 release record](RELEASE-0.1.0.md).
4
+
5
+ A mission now connects authorized scope, selected source context, acceptance checks and resumable evidence. The six existing skills and their invocations remain intact.
6
+
7
+ - Offline read-only mission, discover, context and context-check commands capture explicit source authority, revisions and byte pins. Git provenance detects branch/index/raw content changes without executing Git content hooks.
8
+ - Existing JSON checkpoints remain readable; optional Git, blockers and criterion metadata improve resumption. Blocked results remain blocked. Input sizes are bounded.
9
+ - Installation provenance and read-only update preview from earlier merged PRs are included. A new conflict category distinguishes divergent upstream and local edits. No update-apply command or migration is introduced.
10
+ - A bounded manual task planner validates dependencies, ownership, worktrees, attempts and stop states. It does not dispatch workers or claim universal host execution.
11
+ - Optional stack profiles accompany a fictional Next.js/NestJS/Drizzle/PostgreSQL example, with real unit, database and production HTML checks. Source and runtime dependencies remain separate.
12
+ - Package documentation includes adoption, context, updates, troubleshooting, evaluation protocols and release instructions.
13
+
14
+ Compatibility: Node.js 22+; Git required only for Git-aware context/provenance. No runtime dependencies for the CLI. Legacy installation manifests and checkpoints remain readable. New conflict/outcome enum values require consumers to handle unknown classifications conservatively. Checkpoint artifacts now have explicit size limits; retain large logs outside compact pinned records.
15
+
16
+ Limitations: native Codex/Claude/Cursor comparative behavior remains pending; token/cost measurements unavailable. Browser hydration and cloud/broker/other database profiles are not runtime-validated. Current evidence and exact remaining gates are in [RC2-VALIDATION.md](RC2-VALIDATION.md). No superiority over BMAD is claimed.
17
+
18
+ ## Publication procedure (maintainer only)
19
+
20
+ Review the exact stacked PR commits and their platform CI, then authorize integration separately. After integration, use a clean checkout of the reviewed release commit:
21
+
22
+ ```sh
23
+ npm ci
24
+ npm test
25
+ npm run check:docs
26
+ npm pack --dry-run
27
+ npm pack
28
+ # Only after explicit maintainer publication authorization:
29
+ npm publish --tag next --access public
30
+ ```
31
+
32
+ Inspect the tarball to ensure docs/examples and generated CLI are included, without node_modules/build outputs/secrets. Verify the published registry version and tarball integrity, then repeat the packaged CLI smoke test. Preserve rc.1 as the rollback reference. This document authorizes none of those external actions.
@@ -0,0 +1,11 @@
1
+ # DevMethod 0.1.0
2
+
3
+ DevMethod packages a reusable six-module workflow for starting projects and improving existing ones. The release includes safe staged installation, read-only diagnostics and upgrade comparison, structured mission/context inspection, Git-aware checkpoint resumption, bounded manual planning and optional stack profiles with a runnable fullstack example.
4
+
5
+ The final review corrected error messages that could expose malformed JSON content. A CLI regression verifies that checkpoint, manifest, diagnostics and update errors omit input bytes and preserve project files. The welcome guide now correctly describes partial and direct installations.
6
+
7
+ The CLI runs offline after acquisition and has no runtime dependencies. Node.js 22+ is required; Git supports provenance features. Existing customizations are not overwritten or automatically migrated. Read [the adoption and release record](RELEASE-0.1.0.md) for commands and validation.
8
+
9
+ Native agent evaluation remains separate. Codex fixture and child-process probes have recorded evidence, but repeated BMAD comparison is incomplete and general automatic dispatch is experimental. This release makes no superiority or universal native-host compatibility claim.
10
+
11
+ PRs #6–#10 are merged. A from-zero local task manager now preserves its brief, implementation, independent acceptance tests and browser validation. Review exposed missing HTTP trust checks; the app was corrected and architecture guidance now explicitly covers browser-facing local services. See [the greenfield record](GREENFIELD-VALIDATION.md). Publication status and artifact verification are tracked in the release record.
@@ -0,0 +1,87 @@
1
+ # Checkpoint resumption
2
+
3
+ The optional format 1 JSON checkpoint records source pins and evidence dependencies. Its read-only inspector is available through `devmethod resume` and `dist/checkpoint.js`; it does not execute tests, update hashes, change project files or grant permission. Existing Markdown checkpoints remain supported as a manual workflow. No migration or new module is required.
4
+
5
+ ## Record and resume
6
+
7
+ 1. Record the authorized scope, actual state, next action, source revisions and checks using the scoped-delivery checkpoint template. Preserve project instructions and accepted decisions.
8
+ 2. For machine inspection, write a separate JSON checkpoint using the contract below. Compute SHA-256 from the exact bytes of each relevant source and saved evidence artifact. Include code, tests, contracts and instructions that the evidence relies on. Record versions of tools or external sources in a pinned local inventory; refresh that inventory from the actual environment on resumption.
9
+ 3. On resumption, inspect the checkpoint against the actual project. Review changed sources and affected evidence, including transitive dependencies. Repeat the affected checks before recording replacement artifacts and hashes. Never merely rehash changed files to make an earlier success look current.
10
+ 4. Respect the original scope and current permissions. A ready report is evidence consistency, not authorization. A completed scope with stale evidence may need reassessment; it still supplies no next action and never authorizes additional backlog.
11
+
12
+ Inspect a JSON checkpoint with the offline CLI:
13
+
14
+ ```sh
15
+ devmethod resume --dest /absolute/project --checkpoint checkpoint.json --json
16
+ ```
17
+
18
+ `--checkpoint` is required and must be relative to the destination; destination defaults to the current directory. Omit `--json` for a readable report. The command only inspects evidence and displays the recorded next action; it never executes that action. Exit 0 means `ready` or `complete`; exit 1 means `reverify`, `blocked` or `invalid`; exit 2 means invalid invocation. Callers must retain the report and respect the original scope even when inspection succeeds. Other command flags (`--tool`, `--modules`, `--dry-run`) are rejected.
19
+
20
+ Example API usage from a source checkout (or replace the import with the installed package's absolute `dist/checkpoint.js` path):
21
+
22
+ ```js
23
+ import { readCheckpoint } from './dist/checkpoint.js';
24
+ const report = readCheckpoint('/absolute/project', 'checkpoint.json');
25
+ console.log(JSON.stringify(report, null, 2));
26
+ ```
27
+
28
+ The inspector does not exit the process. Callers choose their own policy from `status` and findings. `inspectCheckpoint(destination, input)` inspects an already parsed untrusted value with the same validation.
29
+
30
+ ## Format 1 contract
31
+
32
+ This illustrative record uses placeholders; replace each hash with 64 lowercase hexadecimal characters before inspection. File paths are relative to the project. IDs are unique within sources and within evidence. Empty evidence is allowed for a newly started checkpoint but produces `reverify`.
33
+
34
+ ```json
35
+ {
36
+ "format": 1,
37
+ "scope": "Correct the parser under the approved contract; local changes only.",
38
+ "status": "active",
39
+ "nextAction": "Review the verified parser diff.",
40
+ "sources": [
41
+ { "id": "parser", "path": "src/parser.ts", "sha256": "<source hash>" },
42
+ { "id": "contract", "path": "docs/parser-contract.md", "sha256": "<contract hash>" }
43
+ ],
44
+ "evidence": [
45
+ {
46
+ "id": "tests",
47
+ "path": "evidence/tests.txt",
48
+ "sha256": "<artifact hash>",
49
+ "sourceIds": ["parser", "contract"],
50
+ "dependsOn": [],
51
+ "outcome": "passed"
52
+ },
53
+ {
54
+ "id": "review",
55
+ "path": "evidence/review.md",
56
+ "sha256": "<artifact hash>",
57
+ "sourceIds": ["parser", "contract"],
58
+ "dependsOn": ["tests"],
59
+ "outcome": "passed"
60
+ }
61
+ ]
62
+ }
63
+ ```
64
+
65
+ `status` is `active`, `blocked` or `complete`. Active and blocked records require a nonempty `nextAction`; complete requires `null`. Evidence outcomes are `passed`, `failed`, `blocked` or `not-run` (JSON spelling for “not run”). Each evidence entry requires at least one source and may depend on other evidence IDs. Unknown IDs, duplicate IDs/paths, cycles and malformed hashes are invalid. Optional fields below are inspected; other additional fields may carry human context but do not affect inspection.
66
+
67
+ A content change or unavailable source invalidates its evidence. A changed or unavailable artifact invalidates that evidence. Invalidated, failed and unrun prerequisites invalidate dependent evidence recursively; independent evidence remains usable. Timestamp age alone has no effect. If bytes change back to the pinned content, the content comparison is unchanged; this is not an audit history.
68
+
69
+ Report format 1 includes destination, status, findings, per-source states and per-evidence states. Findings have stable category codes; message text may evolve. `ready` means active scope with all pins consistent and all recorded evidence passed. `complete` requires consistent pins and completed scope. `reverify` means changes, missing evidence, failed checks or unrun checks prevent relying on the record. `blocked` preserves an explicitly blocked scope, with findings still identifying stale evidence. `invalid` means the checkpoint or destination cannot be inspected. Consumers must examine evidence and findings even for blocked records.
70
+
71
+ ## Limits and validation
72
+
73
+ Hashes are a local baseline, not signed evidence or proof that a check was executed honestly. The inspector cannot discover omitted dependencies, changes to an external host or service, unrecorded environment state, permission changes, or semantic equivalence. Pin and refresh those inputs explicitly. Existing project policies and manual verification remain authoritative.
74
+
75
+ The inspector rejects absolute/traversal paths, Windows drive/stream/device aliases, symbolic paths and non-regular artifacts. Inspect a directory that is not being modified concurrently: preflight checks do not provide an operating-system sandbox against path replacement races. No network, subprocess, credentials, telemetry or host evaluation is involved.
76
+
77
+ Automated tests exercise content changes, timestamp independence, selective and transitive invalidation, missing files, failed/unrun evidence, invalid schemas, unsafe paths, symlinks, completed/blocked state and byte preservation. These establish local validator behavior; native host resumption remains an evaluation requirement.
78
+
79
+ ## Optional candidate extensions
80
+
81
+ Format 1 remains readable without these fields. New records may include `git` from `gitState(root)` in `dist/records.js`: branch, commit, statusSha256 and diffSha256. Resume reports git-changed or git-unavailable and requires reassessment while retaining independent valid pins. Git requires a committed repository, uses bounded offline index reads with fsmonitor disabled, never status/diff or content filters. Save evidence in an ignored directory to avoid self-induced status changes. Pin untracked content explicitly.
82
+
83
+ `blockers` is an optional array of unresolved dependency descriptions; a nonempty array keeps the report blocked. Evidence may include criterionIds (nonempty unique IDs), kind (automated, manual, design-review, recommendation), and revision. These record the acceptance → change/source → verification → outcome → revision chain; referenced criteria remain the mission author's responsibility. A blocked evidence outcome cannot support downstream success. Record automated logs only after executing the command; self-review is not independent review.
84
+
85
+ Sources and evidence are limited to 256 entries each; each JSON or pinned artifact is limited to 1 MiB. Keep larger logs separately and pin a reviewed compact result with provenance. Hashes of branch/status/diff are not full worktree backups; retain ordinary Git commits and backups for recovery.
86
+
87
+ Git provenance hashes raw tracked files (up to 10000 files, 8 MiB each, 64 MiB total) without running Git content filters. Secret-like paths are excluded from content hashing; submodule contents, ignored/untracked contents and external state require explicit safe pins or manual verification. Index changes include staged content; raw working bytes detect dirty-to-dirty edits. Hash fields retain the names statusSha256/diffSha256 but are local metadata fingerprints, not Git diff output.
@@ -0,0 +1,39 @@
1
+ # Roadmap
2
+
3
+ Aim: a compact engineering workflow for verifiable changes in existing repositories. Compete through demonstrated outcomes. See the [BMad comparison](BMAD-COMPARISON.md) for sources and limits. Priorities are ordered; later work is not automatically authorized by completing an earlier item.
4
+
5
+ | Priority | Outcome | Acceptance evidence | State |
6
+ |---|---|---|---|
7
+ | P0 | Diagnose an adopted installation without losing customizations | Read-only doctor, malformed-path tests, full/subset host coverage, packed CLI checks | Implemented in this source change; release pending |
8
+ | P0 | Make first use and small fixes understandable | Quick/standard/major guidance, runnable B1 fixture, three starter prompts | Instructions/examples added; native behavioral evaluation pending |
9
+ | P0 | Distinguish claims from proof | Criterion-to-check verification record and release checklist | Templates/procedure added |
10
+ | P1 | Validate actual host behavior | Authenticated Codex, Claude Code and Cursor runs at pinned versions; all fourteen stages | Full cross-host evidence pending |
11
+ | P1 | Measure usefulness against alternatives | Matched no-method, DevMethod and BMad runs; publish success, failure, time and available usage | Protocol plus B1 fixture available; comparative runs pending |
12
+ | P1 | Trace installed versions | New manifests record package version and distribution provenance; old manifests remain readable | Implemented in candidate source; publication pending |
13
+ | P2 | Preview safe upgrades | Classify unchanged, customized, added and removed files; produce reviewed diff without overwriting context | Implemented in candidate source; publication pending |
14
+ | P2 | Detect stale project context | Identify affected decisions/checkpoints from source changes; do not treat age alone as staleness | Explicit pins and Git-aware context implemented; semantic completeness not claimed |
15
+ | P2 | Validate structured state when needed | Versioned schema, actionable errors and transitions linked to evidence; coexist with existing trackers | Optional mission records implemented; no mandatory tracker migration |
16
+ | Later | Coordinate bounded workers | Explicit scope, dependencies, ownership, worktrees, budgets, stop/recovery rules; supported host contract | Manual planner implemented; native dispatch blocked by adapter/evidence/budget gates |
17
+
18
+ ## What to add only after demand
19
+
20
+ The [visual creation proposal](VISUAL-CREATION-PROPOSAL.md) scopes a possible direction-selection, mockup and prototype flow into the existing design stage. The procedure is now available through the design stage; see the [pilot record](missions/visual-workflow.md) for validation status. Image generation still requires a host tool.
21
+
22
+ Additional stack packs, a workflow builder or orchestration should solve repeated problems shown by real projects. The six existing modules remain the core. Do not add persona counts, a dashboard, cloud services or a vector store as proxies for workflow quality.
23
+
24
+ ## Principles
25
+
26
+ - Preserve accepted project decisions, existing instructions and current authorization.
27
+ - Keep the CLI offline and dependency-free at runtime.
28
+ - Load relevant context progressively; measure savings before claiming them.
29
+ - Prefer a failed or blocked verification over a false claim of completion.
30
+ - Separate source implementation, npm publication, OS installation and native model behavior.
31
+ - Preserve required maintainer review for public releases; a recommended next step grants no new permission.
32
+
33
+ ## Current authorized development
34
+
35
+ See [the milestone checkpoint](MILESTONES.md) for the focused implementation PRs, verification, dependencies and resume boundary. Provenance/update previews and checkpoint inspection are implemented in the linked PRs; fixture/comparison utilities are tested, while actual native and matched model evidence remain pending. Bounded orchestration is blocked on those prerequisites. The table above retains the roadmap's priority order; candidate implementation is not a released or behaviorally validated capability.
36
+
37
+ ## Current mission
38
+
39
+ The earlier campaign is historical. See [the current evolution](EVOLUTION.md), [rc.2 validation](RC2-VALIDATION.md) and [release notes](RELEASE-NOTES-0.1.0-rc.2.md) for implemented capabilities and remaining gates. Optional stack profiles and a real Next/Nest/PostgreSQL fixture are within the new explicit user scope. No previous merge authorization carries forward.
@@ -0,0 +1,9 @@
1
+ # Optional stack profiles
2
+
3
+ DevMethod's six modules and offline CLI remain independent of a technology stack. Select only the profile relevant to a mission; profiles are reference guidance, not scaffolding commands, new personas or automatic dependency upgrades.
4
+
5
+ Start with the [profile index](../.agents/skills/project-foundation/references/profiles/README.md). It lists TypeScript, React/Next, Node/Nest, PostgreSQL/Drizzle, MongoDB, messaging, cloud/container/infrastructure and CI profiles with their evidence levels. The [fullstack fixture](../examples/fullstack/README.md) provides the first executable Next/Nest/PostgreSQL slice with pinned dependencies and real persistence tests.
6
+
7
+ In an existing project, first read its manifest/lockfile, runtime and infrastructure pins, accepted decisions and actual commands. Record installed versions, selected profile and relevant official sources in mission context. Preserve conventions unless the mission explicitly authorizes a change. Documentation availability and new upstream versions do not establish compatibility with an existing application.
8
+
9
+ The fullstack fixture has its own package and lockfile. It is development/evaluation input, not a DevMethod CLI runtime dependency. Other profiles are independently usable inspection guides with explicitly unexecuted checks. Installing the method does not provision services, migrate data, install Vercel skills or validate a native coding host.
@@ -0,0 +1,16 @@
1
+ # Troubleshooting
2
+
3
+ | Symptom | Diagnosis and recovery |
4
+ |---|---|
5
+ | npm command lacks mission/doctor | Check the exact package version. rc.1 predates these commands; use the reviewed candidate checkout or tarball. |
6
+ | init reports Conflict | No writes were applied. Keep filled profiles/instructions; install the candidate into a fresh directory, then preview and select a manual diff. |
7
+ | doctor reports customization | Expected for adopted profiles and skills. Review the diff; do not overwrite to obtain a green status. |
8
+ | update-preview reports conflict | Both upstream and local content changed. Retain both versions, select hunks manually, back up first, verify and restore selected files if needed. |
9
+ | context capture fails on Git | Use a committed repository, inspect unsafe/symbolic or oversized tracked files, and keep provenance under the documented limits. Legacy checkpoints without Git remain available. |
10
+ | context becomes stale immediately | Saving a report may change status. Use an existing ignored evidence directory; create/ignore it before capture. |
11
+ | resume says reverify | Inspect changed pins, Git state and affected evidence. Repeat only affected checks; never refresh hashes to hide a stale result. |
12
+ | plan says needs-reconciliation | Inspect the interrupted task's actual worktree and checkpoint; do not start it again automatically. |
13
+ | host does not discover a skill | Confirm the selected host directory and SKILL.md, avoid duplicate profiles, read the fallback prompt in START_HERE.md. Installation alone is not native validation. |
14
+ | database fixture cannot run | Check Docker and the documented local port. Keep database/e2e tests blocked if PostgreSQL is unavailable; unit tests do not replace them. |
15
+
16
+ No CLI operation applies updates, changes project instructions, dispatches models or grants merge/publication permission. See the specific command reference for exit codes.
@@ -0,0 +1,30 @@
1
+ # Installed provenance and update previews
2
+
3
+ `devmethod update-preview [--dest PATH] [--json]` compares an installation with the payload bundled in the CLI you invoke. It infers the installed host and module subset, includes foundation, and performs no writes, downloads, migrations or model calls. It does not check a registry for a newer version.
4
+
5
+ New format 2 manifests include optional `provenance`: `packageName`, `packageVersion` and `payloadSha256`. The digest hashes JSON-encoded sorted `[path, sha256]` pairs for the host-profiled selected payload, excluding the manifest itself. This distinguishes payload changes even when package versions match. These are local records, not signatures or proof of release authenticity. Legacy manifests continue to work: an identical `init` preserves their original bytes and previews explicitly report unknown installed version. Never infer a legacy version from the CLI currently running.
6
+
7
+ The format 1 JSON report contains installed/candidate provenance, findings and entries:
8
+
9
+ | Classification | Meaning |
10
+ | --- | --- |
11
+ | unchanged | Local file, recorded baseline and candidate match. |
12
+ | updated | Local file matches its baseline; candidate differs. |
13
+ | customized | Local differs from baseline while upstream is unchanged, or local already equals the candidate. |
14
+ | conflict | Local and candidate both differ from baseline and differ from each other, including local edits to upstream-deleted files. |
15
+ | added | Candidate path was absent from the baseline; `collision` flags an existing local file. |
16
+ | removed | Baseline file is unchanged locally and absent from the candidate. |
17
+
18
+ Each entry includes available baseline, local and candidate SHA-256 hashes, plus `candidateChanged`. A locally customized file absent from the candidate is a conflict and has no candidate hash. The new conflict value is an additive report enum; consumers must handle unknown classifications conservatively. A missing file is explicit and retains a diagnostic error. Exit codes are 0 for a completed clean/warning preview, 1 for diagnostic or filesystem errors, and 2 for invalid invocation. Warnings require human review; exit 0 does not authorize applying changes.
19
+
20
+ To review content differences, install the candidate CLI into a fresh staging directory with the same host/subset, then use your normal diff tool against the project. Preserve project profiles, instructions, accepted decisions and customizations intentionally. There is no automatic apply command. Unrecorded files outside candidate paths are not inventoried. Inspect directories without concurrent modification; symbolic-path checks are not an OS sandbox. No native-host compatibility or behavioral claim follows from these tests.
21
+
22
+ ## Verification checkpoint
23
+
24
+ Historical provenance-slice validation (before 0.1.0; current results are in [the release record](RELEASE-0.1.0.md)) on macOS with Node.js: `npm ci` and `npm test` pass (23 tests, including all three layouts and subsets). `npm pack --dry-run --cache /private/tmp/devmethod-provenance-npm-cache` passes; a freshly extracted tarball successfully runs a Claude subset installation and JSON update preview with matching provenance. This is a packaged CLI smoke test, not Claude host evidence. The default npm cache was unwritable, so packaging used an isolated temporary cache; no cache ownership changes were made.
25
+
26
+ Resume by reviewing ADR 003 and the CLI/manifest diff, then run the platform matrix against the exact candidate before claiming cross-platform execution. Do not apply updates automatically or publish this candidate without the release process.
27
+
28
+ ## Manual application and recovery
29
+
30
+ Preview is the only update operation shipped. Before applying a reviewed staging diff manually, select exact paths/hunks, make a clean backup or Git commit of the current project (including filled profiles), and retain the old manifest. Apply only the selected content, preserving project instructions and decisions. Run project checks and doctor; customizations remain expected warnings. If verification fails, restore only those selected paths from the backup and re-run affected checks. Do not replace the baseline manifest to make intentional edits look pristine. There is no automatic apply or rollback command, and a hash difference is never overwrite authorization.
@@ -0,0 +1,21 @@
1
+ # Visual creation proposal
2
+
3
+ Historical proposal, 2026-09-13. The reusable procedure is now implemented in [visual creation](../.agents/skills/design-to-code/references/visual-creation.md). Follow the [pilot record](missions/visual-workflow.md) for observed execution and outstanding selection/verification; implementation of instructions does not establish end-to-end validation. The existing `design` stage can frame UX; `design-to-code` already describes implementation and fidelity checks against an approved reference. The missing procedure to evaluate is how to create and select that reference when none exists.
4
+
5
+ ## Proposed flow inside the existing design stage
6
+
7
+ 1. Reuse the mission's audience, main journey, constraints and existing brand/assets. Ask only for missing choices that materially affect the direction. Keep a short visual brief in the existing mission/design record.
8
+ 2. If no direction is approved, propose two or three genuinely different directions applied to the same key screen and content. For each, show typography, palette, layout density, imagery approach, a short rationale and trade-offs. For a fictional reading app, candidates might be an editorial layout with serif headings, a compact utilitarian library, and an illustrated reading journal; these are examples, not a default style imposed on projects.
9
+ 3. Let the user choose or combine directions before detailed production, unless selection was explicitly delegated. Record the chosen version and remaining assumptions in the existing design owner. An established reference skips this exploration.
10
+ 4. Produce the selected key screen at desktop/mobile sizes and its necessary empty, loading and error states. When an image tool is available, use its applicable skill for raster concepts, illustrations or image mockups; record the prompt, output path and selected version. An image-generation tool is available in this session, but no images were generated for this proposal. Tool availability depends on the host, not DevMethod installation. Keep precise UI text, tokens and interactions in the design record; a raster mockup cannot prove responsive behavior or accessibility.
11
+ 5. Build a small interactive prototype only when navigation, state changes or motion need validation. Use existing project tools and clearly labelled fixture data. Review the main journey, keyboard/focus and mobile behavior. Skip this extra artifact when a static reference already resolves the question.
12
+ 6. Pass the selected reference to `design-to-code`: actual assets, screen/version, viewports, tokens, content, states, interactions and criterion IDs. Resolve conflicts between the design record, mockup and product constraints before dependent implementation; do not silently choose the newest artifact.
13
+ 7. Render the implementation at the reference dimensions. Attach reference/capture pairs and interaction results to the same criterion evidence rows. Record mismatches, corrections and residual limitations, then invalidate affected visual evidence after changes. A successful build is insufficient for fidelity acceptance.
14
+
15
+ ## Bounded evaluation before adoption
16
+
17
+ Use one fictional screen and its main interaction, without changing any project studied in a pilot. Success means the user can choose from visible alternatives, the selected reference is versioned and reusable, and the resulting browser UI has criterion-linked visual and interaction evidence. Check resumption from that reference and an intentional mismatch that must be caught. Measure created records, user interventions, elapsed time and exposed usage; do not claim savings without a comparable baseline. Store assets using project conventions and link them from one design owner rather than adding a mandatory document per step.
18
+
19
+ ## Relationship to BMad
20
+
21
+ The official [Design UX and Architecture](https://docs.bmad-method.org/plan/design-ux-and-architecture/) page, inspected 2026-09-13, documents `bmad-ux`, `DESIGN.md` and `EXPERIENCE.md`, creative directions, wireframes, key-screen mocks and a handoff to external design tools. It also defines conflict precedence for those documents. These are documented capabilities, not behavior evaluated here. Creating visuals is therefore not exclusive to DevMethod; the proposed focus is a compact transition from a chosen reference to criterion-linked fidelity evidence. No superiority claim or comparative benchmark is established.
@@ -0,0 +1,75 @@
1
+ # Create a direction, then build it
2
+
3
+ The 0.2.0 candidate and current GitHub source include a visual-creation procedure in the existing `design` stage. It preserves six modules and does not install an image service. The published npm `0.1.0` package predates this evolution; reinstalling that version does not obtain it. See the [0.2.0 release record](RELEASE-0.2.0.md) before choosing the installation command.
4
+
5
+ ## Start
6
+
7
+ From the target repository, install the current reviewed GitHub source into a staging directory:
8
+
9
+ ```sh
10
+ npx --yes --package=github:montassarkhalloufi/DevMethod devmethod init --tool codex --dest ../devmethod-staging
11
+ ```
12
+
13
+ For reproducibility, replace the repository reference with `github:montassarkhalloufi/DevMethod#<reviewed-commit>`. Inspect the staging files and preserve existing instructions and customized profiles during adoption. Claude Code uses `--tool claude`; Cursor uses `--tool cursor`.
14
+
15
+ In the agent conversation, not the terminal:
16
+
17
+ ```text
18
+ $project-foundation design
19
+ Create a visual direction for [product and audience].
20
+ Show me alternatives, let me choose, then prepare the key screen mockups.
21
+ ```
22
+
23
+ Use `/project-foundation design` in Claude Code or Cursor. An already approved direction skips new alternatives. A brief can specify that the agent chooses the direction if that is what you want.
24
+
25
+ ## What the procedure delivers
26
+
27
+ 1. A brief grounded in the product, audience and supplied references.
28
+ 2. Two or three comparable visible directions when the choice is open.
29
+ 3. A recorded user choice, or an explicitly delegated selection.
30
+ 4. Key-screen image mockups when an image tool is available, with prompts and versioned assets. Missing tooling is reported; an external-tool prompt is not an image.
31
+ 5. An interactive prototype for the behavior that needs checking. The prototype may become the implementation.
32
+ 6. Browser captures and interaction evidence compared with the approved reference, with mismatches and limitations recorded.
33
+
34
+ A build passing is not visual acceptance. Image generation is performed by the host's tool, not by the installer. The workflow does not promise identical output across models, hosts or runs.
35
+
36
+ ## Recorded examples
37
+
38
+ - [Lisière](../examples/visual-pilot/README.md): supervised visual pilot, generated directions, user-selected and approved mockup, implementation and browser checks. This is not an independent end-to-end agent evaluation.
39
+ - [Mission and evidence](missions/visual-workflow.md): scope, checks and known typography/spacing differences.
40
+
41
+ Source adoption is separate from npm publication. No new npm version is announced by this guide.
42
+
43
+ ## Full filmed chain
44
+
45
+ The [4K French walkthrough](media/full-chain-4k/README.md) shows actual Codex CLI commands and outputs, the prior approved visual choices, a fresh implementation, review findings, corrections, browser interaction and verification. CLI transcripts are reformatted for legibility; the provenance and limitations are explicit.
46
+
47
+ ## Master screen → images des écrans → application
48
+
49
+ Le parcours visuel reste dans `design` jusqu'à ce que les visuels demandés soient prêts. « Master » et « pages » désignent le contenu du travail, pas de nouvelles sous-commandes du CLI.
50
+
51
+ Dans la conversation Codex, on peut envoyer successivement :
52
+
53
+ ```text
54
+ $project-foundation design
55
+ Propose trois directions comparables sur le même écran principal.
56
+ ```
57
+
58
+ ```text
59
+ $project-foundation design
60
+ Je choisis A. Finalise le master screen de cette direction.
61
+ ```
62
+
63
+ Après examen et approbation du master :
64
+
65
+ ```text
66
+ $project-foundation design
67
+ Décline ce master approuvé en images des écrans demandés.
68
+ Utilise le fichier du master comme référence visuelle.
69
+ ```
70
+
71
+ Les écrans gardent la typographie, la palette et les composants du master. L'agent examine les résultats, identifie leur référence/version et soumet les ajouts inattendus à validation. Il n'invente pas de routes : bibliothèque, ajout et filtre peuvent être des états d'une seule application.
72
+
73
+ La suite est `architecture` si des décisions restent nécessaires, puis `plan`, préparation `ready`, `implement`, `review`/`verify` et `integrate`. Les petites tranches peuvent regrouper préparation et réalisation. Les images précèdent l'implémentation qu'elles sont censées guider ; les captures navigateur servent ensuite à la comparaison.
74
+
75
+ Le [film complet de 2 min 58 s](media/visual-chain/README.md) montre ce passage avec des images réellement générées à partir du master, puis une nouvelle implémentation. Il poursuit avec les choix d’architecture et de technologies, la préparation, l’implémentation, la revue, la vérification et la livraison locale. La génération exige un outil d'image disponible dans l'agent ; DevMethod fournit les instructions du parcours, pas un moteur d'image intégré au paquet npm.
@@ -0,0 +1,10 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="650" viewBox="0 0 1200 650" role="img" aria-labelledby="title desc">
2
+ <title id="title">DevMethod delivery loop</title><desc id="desc">Accepted scope, design and architecture guide implementation. Review and verification either justify delivery or return work to correction. A blocked slice keeps a handoff record.</desc>
3
+ <defs><marker id="arrow" markerWidth="8" markerHeight="8" refX="6" refY="3" orient="auto"><path d="M0 0L6 3L0 6" fill="#ddac86"/></marker></defs>
4
+ <rect width="1200" height="650" rx="28" fill="#10272b"/><g font-family="Arial, sans-serif">
5
+ <text x="52" y="65" fill="#eeb88e" font-size="16" letter-spacing="3">DEVMETHOD / THE DELIVERY LOOP</text><text x="52" y="117" fill="#fff9ef" font-size="36" font-weight="700">A finished slice needs evidence</text>
6
+ <text x="52" y="154" fill="#b9ccc4" font-size="20">Design approval guides the work. Tests and browser checks verify the result.</text>
7
+ <rect x="52" y="203" width="320" height="157" rx="16" fill="#1a363a" stroke="#49615e"/><text x="74" y="250" fill="#fff9ef" font-size="24" font-weight="700">Accepted references</text><text x="74" y="293" fill="#c6d7ce" font-size="18">Scope · design · architecture</text><text x="74" y="325" fill="#c6d7ce" font-size="18">Plan and readiness</text><rect x="440" y="203" width="320" height="157" rx="16" fill="#1a363a" stroke="#49615e"/><text x="462" y="250" fill="#fff9ef" font-size="24" font-weight="700">Implement and review</text><text x="462" y="293" fill="#c6d7ce" font-size="18">Build the real interactions</text><text x="462" y="325" fill="#c6d7ce" font-size="18">Review code, risks and tests</text><rect x="828" y="203" width="320" height="157" rx="16" fill="#1a363a" stroke="#49615e"/><text x="850" y="250" fill="#fff9ef" font-size="24" font-weight="700">Verify the result</text><text x="850" y="293" fill="#c6d7ce" font-size="18">Run the agreed checks</text><text x="850" y="325" fill="#c6d7ce" font-size="18">Compare UI with the design</text><g stroke="#ddac86" stroke-width="3" fill="none" marker-end="url(#arrow)"><path d="M378 281h54"/><path d="M766 281h54"/><path d="M988 365v75"/><path d="M600 450v-78"/><path d="M930 365v40H210v35"/></g>
8
+ <rect x="828" y="452" width="320" height="117" rx="16" fill="#24483f" stroke="#74b49a"/><text x="850" y="490" fill="#fff9ef" font-size="23" font-weight="700">Checks pass → deliver</text><text x="850" y="526" fill="#c6d7ce" font-size="18">Integrate within permissions</text><text x="850" y="552" fill="#c6d7ce" font-size="18">Record evidence and handoff</text>
9
+ <rect x="52" y="452" width="708" height="117" rx="16" fill="#3b3531" stroke="#ddac86"/><text x="74" y="491" fill="#fff9ef" font-size="23" font-weight="700">Failed check or changed constraint → correct</text><text x="74" y="526" fill="#decbbb" font-size="18">Fix the slice or revisit the affected design / architecture decision.</text><text x="74" y="552" fill="#decbbb" font-size="18">If blocked, preserve a checkpoint; do not mark the slice delivered.</text>
10
+ <text x="52" y="616" fill="#b9ccc4" font-size="18">status / next resume from the evidence; they do not create an autonomous backlog.</text></g></svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="720" viewBox="0 0 1200 720" role="img" aria-labelledby="title desc">
2
+ <title id="title">DevMethod: from idea to verified delivery</title><desc id="desc">Six stages connect product scope, visual design, architecture, planning, implementation and verified delivery. Revisit decisions when evidence changes.</desc>
3
+ <rect width="1200" height="720" rx="28" fill="#10272b"/>
4
+ <g font-family="Arial, sans-serif"><text x="52" y="64" fill="#eeb88e" font-size="16" letter-spacing="3">DEVMETHOD / THE COMPLETE WORKFLOW</text>
5
+ <text x="52" y="119" fill="#fff9ef" font-size="38" font-weight="700">From an idea to a verified product</text>
6
+ <text x="52" y="157" fill="#b9ccc4" font-size="20">Make the decisions visible. Build a useful slice. Check the result.</text>
7
+ <rect x="52" y="202" width="352" height="183" rx="16" fill="#1a363a" stroke="#49615e"/><text x="76" y="237" fill="#eeb88e" font-size="17" font-weight="700">01</text><text x="76" y="278" fill="#fff9ef" font-size="23" font-weight="700">Understand the product</text><text x="76" y="316" fill="#eeb88e" font-size="18">Explore · frame</text><text x="76" y="350" fill="#c6d7ce" font-size="17">Users, scope and success criteria</text>
8
+ <rect x="424" y="202" width="352" height="183" rx="16" fill="#1a363a" stroke="#49615e"/><text x="448" y="237" fill="#eeb88e" font-size="17" font-weight="700">02</text><text x="448" y="278" fill="#fff9ef" font-size="23" font-weight="700">Design the experience</text><text x="448" y="316" fill="#eeb88e" font-size="18">Design</text><text x="448" y="350" fill="#c6d7ce" font-size="17">Directions → master → screens</text>
9
+ <rect x="796" y="202" width="352" height="183" rx="16" fill="#1a363a" stroke="#49615e"/><text x="820" y="237" fill="#eeb88e" font-size="17" font-weight="700">03</text><text x="820" y="278" fill="#fff9ef" font-size="23" font-weight="700">Choose the architecture</text><text x="820" y="316" fill="#eeb88e" font-size="18">Architecture</text><text x="820" y="350" fill="#c6d7ce" font-size="17">Technologies, boundaries, trade-offs</text>
10
+ <rect x="52" y="409" width="352" height="183" rx="16" fill="#1a363a" stroke="#49615e"/><text x="76" y="444" fill="#eeb88e" font-size="17" font-weight="700">04</text><text x="76" y="485" fill="#fff9ef" font-size="23" font-weight="700">Prepare a useful slice</text><text x="76" y="523" fill="#eeb88e" font-size="18">Plan · ready</text><text x="76" y="557" fill="#c6d7ce" font-size="17">Dependencies and acceptance checks</text>
11
+ <rect x="424" y="409" width="352" height="183" rx="16" fill="#1a363a" stroke="#49615e"/><text x="448" y="444" fill="#eeb88e" font-size="17" font-weight="700">05</text><text x="448" y="485" fill="#fff9ef" font-size="23" font-weight="700">Build and improve</text><text x="448" y="523" fill="#eeb88e" font-size="18">Implement · review</text><text x="448" y="557" fill="#c6d7ce" font-size="17">Working behavior, tests and fixes</text>
12
+ <rect x="796" y="409" width="352" height="183" rx="16" fill="#1a363a" stroke="#49615e"/><text x="820" y="444" fill="#eeb88e" font-size="17" font-weight="700">06</text><text x="820" y="485" fill="#fff9ef" font-size="23" font-weight="700">Verify and deliver</text><text x="820" y="523" fill="#eeb88e" font-size="18">Verify · integrate · handoff</text><text x="820" y="557" fill="#c6d7ce" font-size="17">Evidence, delivery and resumption</text>
13
+ <path d="M52 630h1096" stroke="#49615e"/><text x="52" y="664" fill="#c6d7ce" font-size="18">Adapt the depth to the project. Revisit decisions when constraints or checks change.</text><text x="52" y="694" fill="#9fb8af" font-size="16">Skill guidance for your coding agent · Image generation requires an available host tool.</text></g></svg>
@@ -0,0 +1,17 @@
1
+ # DevMethod — French demonstration video
2
+
3
+ [Watch/download the MP4](https://github.com/montassarkhalloufi/DevMethod/raw/refs/heads/main/docs/media/from-zero/devmethod-demo.fr.mp4) · [French subtitles](devmethod-demo.fr.srt) · [Narration and scenes](scenes.json)
4
+
5
+ A short promotional/explanatory video: product promise, an actual from-zero Clair agent trial, real recorded browser interactions, the separate Lisière visual pilot, verification and a GitHub call to action. The explanatory cards summarize work; they are not a recording of every development step.
6
+
7
+ The French narration is synthetic system speech (Thomas). No music, testimonials, customer results or comparative savings are invented. App records and generated book covers are fictional. The visible Lisière art-direction board is AI-generated; Clair's interface is implemented HTML/CSS. The source workflow is newer than npm 0.1.0; use the [source guide](../../VISUAL-WORKFLOW.md).
8
+
9
+ ## Reproduce
10
+
11
+ Requires macOS `say` with Thomas, ffmpeg/ffprobe, Chrome and an installed Playwright module. Start Clair on localhost:8766 using the example README. From the repository root, run `node scripts/media/record-demo.cjs` (set PLAYWRIGHT_MODULE if needed), then `python3 scripts/media/encode-demo.py`. The narration text/timing lives in scenes.json. The recorder saves intermediate clips under /private/tmp/devmethod-video; the encoder writes MP4 and SRT here. Do not reuse old intermediate speech files after editing the narration.
12
+
13
+ [Desktop capture](https://github.com/montassarkhalloufi/DevMethod/raw/refs/heads/main/docs/media/from-zero/captures/clair-desktop.png) and [mobile capture](https://github.com/montassarkhalloufi/DevMethod/raw/refs/heads/main/docs/media/from-zero/captures/clair-mobile.png) are browser evidence. Tests validate selected behavior, not all accessibility, platforms or deployment conditions. See the [example report](../../../examples/clair-from-zero/README.md).
14
+
15
+ ## Verification record
16
+
17
+ Final MP4: 1280×720 H.264, AAC narration, French mov_text subtitle track; approximately 70.5 seconds, 2.5 MB. Scene screenshots and an encoded interaction frame were visually inspected. Audio is non-silent (mean -15.7 dB, peak -0.4 dB); no claim of a full human listening review. Six Clair logic/storage tests and the independent browser journey passed. The suite disables animation for evidence screenshots.
@@ -0,0 +1,59 @@
1
+ 1
2
+ 00:00:00,000 --> 00:00:01,698
3
+ Une idée, c'est un début.
4
+
5
+ 2
6
+ 00:00:01,698 --> 00:00:04,278
7
+ Un produit vérifié, c'est un parcours.
8
+
9
+ 3
10
+ 00:00:04,278 --> 00:00:08,963
11
+ Dev Method guide votre agent de développement, du besoin aux preuves.
12
+
13
+ 4
14
+ 00:00:10,163 --> 00:00:14,324
15
+ Pour cette démonstration, nous sommes partis d'un dossier vide.
16
+
17
+ 5
18
+ 00:00:14,324 --> 00:00:21,854
19
+ Un agent a reçu Dev Method et un besoin simple : créer Clair, une application locale pour organiser ses priorités.
20
+
21
+ 6
22
+ 00:00:23,054 --> 00:00:25,862
23
+ Voici le résultat réel dans le navigateur.
24
+
25
+ 7
26
+ 00:00:25,862 --> 00:00:29,873
27
+ On ajoute une priorité, on la termine et on filtre la liste.
28
+
29
+ 8
30
+ 00:00:29,873 --> 00:00:33,283
31
+ Les données restent disponibles après rechargement.
32
+
33
+ 9
34
+ 00:00:34,483 --> 00:00:38,815
35
+ Dans le pilote visuel Lisière, trois directions ont été proposées.
36
+
37
+ 10
38
+ 00:00:38,815 --> 00:00:42,360
39
+ Le choix humain a précédé la maquette et le prototype.
40
+
41
+ 11
42
+ 00:00:42,360 --> 00:00:46,627
43
+ La génération d'images utilise les outils disponibles de l'agent.
44
+
45
+ 12
46
+ 00:00:47,827 --> 00:00:51,964
47
+ Les tests et les vérifications navigateur accompagnent la livraison.
48
+
49
+ 13
50
+ 00:00:51,964 --> 00:00:59,448
51
+ Ces pilotes sont de vrais essais encadrés, pas une garantie universelle ni une comparaison gagnée contre une autre méthode.
52
+
53
+ 14
54
+ 00:01:00,648 --> 00:01:02,877
55
+ Découvrez Dev Method sur GitHub.
56
+
57
+ 15
58
+ 00:01:02,877 --> 00:01:09,216
59
+ Installez le kit, décrivez votre objectif et commencez par une petite livraison vérifiable.
@@ -0,0 +1,50 @@
1
+ [
2
+ {
3
+ "kind": "title",
4
+ "title": "De l’idée au produit vérifié.",
5
+ "eyebrow": "DEVMETHOD",
6
+ "text": "Une méthode pour guider votre agent, du besoin aux preuves.",
7
+ "voice": "Une idée, c'est un début. Un produit vérifié, c'est un parcours. Dev Method guide votre agent de développement, du besoin aux preuves.",
8
+ "duration": 10.162901999999999
9
+ },
10
+ {
11
+ "kind": "start",
12
+ "title": "Un dossier vide. Un besoin concret.",
13
+ "eyebrow": "01 — PARTIR DE ZÉRO",
14
+ "text": "Clair · Organiser ses priorités personnelles.\nKit installé, périmètre limité, données locales.",
15
+ "voice": "Pour cette démonstration, nous sommes partis d'un dossier vide. Un agent a reçu Dev Method et un besoin simple : créer Clair, une application locale pour organiser ses priorités.",
16
+ "duration": 12.891247
17
+ },
18
+ {
19
+ "kind": "app",
20
+ "title": "Un résultat que l’on peut utiliser.",
21
+ "eyebrow": "02 — CONSTRUIRE",
22
+ "text": "Ajouter · Terminer · Filtrer · Retrouver ses données",
23
+ "voice": "Voici le résultat réel dans le navigateur. On ajoute une priorité, on la termine et on filtre la liste. Les données restent disponibles après rechargement.",
24
+ "duration": 11.428389999999998
25
+ },
26
+ {
27
+ "kind": "visual",
28
+ "title": "Choisir avant de construire.",
29
+ "eyebrow": "03 — DONNER UNE DIRECTION",
30
+ "text": "Pilote visuel Lisière : propositions → choix → maquette approuvée → prototype.",
31
+ "voice": "Dans le pilote visuel Lisière, trois directions ont été proposées. Le choix humain a précédé la maquette et le prototype. La génération d'images utilise les outils disponibles de l'agent.",
32
+ "duration": 13.344036
33
+ },
34
+ {
35
+ "kind": "proof",
36
+ "title": "Des preuves, pas seulement un statut.",
37
+ "eyebrow": "04 — VÉRIFIER",
38
+ "text": "Tests exécutés · Interactions vérifiées · Limites documentées",
39
+ "voice": "Les tests et les vérifications navigateur accompagnent la livraison. Ces pilotes sont de vrais essais encadrés, pas une garantie universelle ni une comparaison gagnée contre une autre méthode.",
40
+ "duration": 12.821587
41
+ },
42
+ {
43
+ "kind": "end",
44
+ "title": "Donnez une méthode à votre prochain projet.",
45
+ "eyebrow": "À VOUS DE CONSTRUIRE",
46
+ "text": "github.com/montassarkhalloufi/DevMethod\nDécouvrez le guide et les exemples reproductibles.",
47
+ "voice": "Découvrez Dev Method sur GitHub. Installez le kit, décrivez votre objectif et commencez par une petite livraison vérifiable.",
48
+ "duration": 9.768163
49
+ }
50
+ ]