dw-sdlc 0.1.0 → 0.3.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 (37) hide show
  1. package/config/agentic.config.schema.json +163 -0
  2. package/dist/agentic-config.js +3 -5
  3. package/dist/checks/agents-map.js +3 -10
  4. package/dist/checks/check.d.ts +10 -0
  5. package/dist/checks/comment-budget.d.ts +6 -0
  6. package/dist/checks/comment-budget.js +141 -0
  7. package/dist/checks/decision-records.d.ts +6 -0
  8. package/dist/checks/decision-records.js +105 -0
  9. package/dist/checks/file-size-ratchet.d.ts +10 -0
  10. package/dist/checks/file-size-ratchet.js +194 -0
  11. package/dist/checks/index.d.ts +5 -1
  12. package/dist/checks/index.js +25 -2
  13. package/dist/checks/markdown-budget.d.ts +15 -0
  14. package/dist/checks/markdown-budget.js +42 -0
  15. package/dist/checks/markdown-refs.d.ts +6 -0
  16. package/dist/checks/markdown-refs.js +73 -0
  17. package/dist/checks/primitives.js +5 -30
  18. package/dist/checks/temporal-language.d.ts +6 -0
  19. package/dist/checks/temporal-language.js +58 -0
  20. package/dist/checks/tree.d.ts +8 -0
  21. package/dist/checks/tree.js +30 -0
  22. package/dist/commands/doctor.d.ts +5 -3
  23. package/dist/commands/doctor.js +68 -13
  24. package/dist/commands/gate.js +73 -17
  25. package/dist/commands/references-setup.js +5 -16
  26. package/dist/commands/references-sync.js +3 -9
  27. package/dist/commands/setup.d.ts +3 -4
  28. package/dist/commands/setup.js +23 -40
  29. package/dist/json-schema.js +3 -4
  30. package/dist/markdown.d.ts +12 -0
  31. package/dist/markdown.js +40 -2
  32. package/dist/pins.d.ts +2 -0
  33. package/dist/pins.js +4 -4
  34. package/dist/references-key.js +1 -2
  35. package/dist/router-block.js +1 -3
  36. package/package.json +1 -1
  37. package/templates/router.md +1 -1
@@ -1,8 +1,6 @@
1
1
  // The Router's block: a table of each Reference's `dir` and `when`, written from the `references` key
2
2
  // between two markers. The setup writes it and the Sync checks it; the rest of the Router is the
3
- // author's. A formatter may pad the table's columns and set blank lines around it, so a block is in
4
- // step when its rows say what the key says, not when its bytes match: cells are compared trimmed, and
5
- // a `when` that differs only in the spaces at a cell's edge reads as the same row.
3
+ // author's. A block is in step when its rows say what the key says, not its bytes, which a formatter pads.
6
4
  const START = "<!-- references:start — written from .ai/agentic.config.json by the setup; edit the key -->";
7
5
  const END = "<!-- references:end -->";
8
6
  const START_LINE = /^<!-- references:start\b.*-->\s*$/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dw-sdlc",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "The Gate and the agentic config of a repository: the dw-sdlc bin with the Gate, the setup, the doctor, the config check, and the Sync and setup of References; the resolver of the config's layers, its JSON Schema and the validator that reads it.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -28,7 +28,7 @@ No Reference is declared yet: `/sdlc-references-add <repository>` adds one.
28
28
  `AGENTS.md`. It describes _that_ repository; `claudeMdExcludes` in `.claude/settings.json` keeps
29
29
  Claude Code from loading them.
30
30
  - **Missing is normal.** CI, a fresh clone and a new worktree have none of them until a local Claude
31
- Code session starts with the references plugin enabled, which syncs them. A directory that is
31
+ Code session starts with the sdlc plugin enabled, which syncs them. A directory that is
32
32
  absent is not a broken link, and neither is a path its entry's `skip` leaves out.
33
33
  - **A starting point, not the whole field.** The list is hand-picked, and each clone is its ref at
34
34
  the last sync. Research into a feature or an approach reads the matching entries first, then looks