@codewizard-dt/bootstrap 5.3.0 → 6.0.1

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 (95) hide show
  1. package/LICENSE.md +105 -0
  2. package/README.md +22 -3
  3. package/bin/cli.js +16 -0
  4. package/lib/hooks/README.md +124 -3
  5. package/lib/hooks/claude-settings-guard.js +8 -2
  6. package/lib/prompts/README.md +1 -1
  7. package/lib/prompts/migrate-wiki.md +7 -7
  8. package/lib/scripts/README.md +111 -10
  9. package/lib/scripts/bootstrap-prefs-tui.js +1222 -0
  10. package/lib/scripts/install-global.sh +137 -6
  11. package/lib/scripts/migrate-project.sh +53 -11
  12. package/lib/scripts/rename-wiki-ids.js +232 -0
  13. package/lib/scripts/templates/CLAUDE-wiki.md +6 -6
  14. package/lib/scripts/templates/bootstrap-prefs-schema.json +11 -2
  15. package/lib/scripts/templates/settings-deny.json +1 -1
  16. package/lib/scripts/templates/settings-sandbox-unattended.json +36 -0
  17. package/lib/scripts/templates/settings-sandbox.json +7 -0
  18. package/lib/scripts/templates/wiki/conventions.md +9 -9
  19. package/lib/scripts/templates/wiki/dashboard.html +527 -23
  20. package/lib/scripts/templates/wiki/index.md +2 -2
  21. package/lib/scripts/templates/wiki/work/bugs/lifecycle.md +1 -1
  22. package/lib/scripts/templates/wiki/work/decisions/index.md +12 -4
  23. package/lib/scripts/templates/wiki/work/decisions/lifecycle.md +11 -9
  24. package/lib/scripts/templates/wiki/work/requirements/index.md +12 -4
  25. package/lib/scripts/templates/wiki/work/requirements/lifecycle.md +8 -8
  26. package/lib/scripts/templates/wiki/work/roadmaps/index.md +11 -3
  27. package/lib/scripts/templates/wiki/work/roadmaps/lifecycle.md +7 -5
  28. package/lib/scripts/templates/wiki/work/tasks/index.md +1 -1
  29. package/lib/scripts/templates/wiki/work/tasks/lifecycle.md +16 -8
  30. package/lib/scripts/templates/wiki/work/uat/lifecycle.md +3 -3
  31. package/lib/scripts/wiki-dashboard-server.js +98 -0
  32. package/lib/skills/README.md +27 -22
  33. package/lib/skills/_shared/ARCHIVE-WORK-ITEM.md +103 -0
  34. package/lib/skills/_shared/ID-RESOLUTION.md +142 -0
  35. package/lib/skills/_shared/SKILL-BOILERPLATE.md +50 -0
  36. package/lib/skills/adr-assess/SKILL.md +112 -0
  37. package/lib/skills/{decision-create → adr-create}/SKILL.md +26 -26
  38. package/lib/skills/adr-deprecate/SKILL.md +190 -0
  39. package/lib/skills/adr-extract/SKILL.md +255 -0
  40. package/lib/skills/{decision-finalize → adr-finalize}/SKILL.md +38 -38
  41. package/lib/skills/{decision-next → adr-next}/SKILL.md +20 -19
  42. package/lib/skills/{decision-walkthrough → adr-walkthrough}/SKILL.md +23 -29
  43. package/lib/skills/architecture-audit/SKILL.md +1 -1
  44. package/lib/skills/autopilot/SKILL.md +110 -0
  45. package/lib/skills/bootstrap-config/SKILL.md +1 -1
  46. package/lib/skills/bug-assess/SKILL.md +3 -3
  47. package/lib/skills/bug-close/SKILL.md +13 -27
  48. package/lib/skills/{bug-file → bug-create}/SKILL.md +10 -14
  49. package/lib/skills/bug-triage/SKILL.md +5 -19
  50. package/lib/skills/demo/SKILL.md +1 -1
  51. package/lib/skills/extract-feature/SKILL.md +3 -3
  52. package/lib/skills/git-commit/SKILL.md +4 -4
  53. package/lib/skills/port-feature/SKILL.md +3 -3
  54. package/lib/skills/power-mode/SKILL.md +42 -49
  55. package/lib/skills/prd-assess/SKILL.md +105 -0
  56. package/lib/skills/{req-compile → prd-compile}/SKILL.md +6 -13
  57. package/lib/skills/{req-create → prd-create}/SKILL.md +19 -19
  58. package/lib/skills/prd-deprecate/SKILL.md +173 -0
  59. package/lib/skills/{req-finalize → prd-finalize}/SKILL.md +20 -29
  60. package/lib/skills/primer/SKILL.md +2 -2
  61. package/lib/skills/research/SKILL.md +3 -3
  62. package/lib/skills/roadmap-assess/SKILL.md +20 -20
  63. package/lib/skills/roadmap-create/SKILL.md +19 -29
  64. package/lib/skills/roadmap-next/SKILL.md +16 -28
  65. package/lib/skills/security-audit/SKILL.md +1 -1
  66. package/lib/skills/tackle/SKILL.md +13 -15
  67. package/lib/skills/{task-audit → task-assess}/SKILL.md +34 -44
  68. package/lib/skills/task-close/SKILL.md +73 -0
  69. package/lib/skills/{task-add → task-create}/SKILL.md +25 -24
  70. package/lib/skills/uat-assess/SKILL.md +124 -0
  71. package/lib/skills/uat-auto/SKILL.md +9 -7
  72. package/lib/skills/uat-auto-plus/SKILL.md +2 -2
  73. package/lib/skills/{uat-generate → uat-create}/SKILL.md +10 -12
  74. package/lib/skills/uat-skip/SKILL.md +5 -9
  75. package/lib/skills/uat-walk/SKILL.md +2 -2
  76. package/lib/skills/uat-walk/UAT-CORE.md +29 -16
  77. package/lib/skills/update-docs/SKILL.md +1 -1
  78. package/lib/skills/usage-report/SKILL.md +52 -0
  79. package/lib/skills/usage-report/scripts/pricing.json +22 -0
  80. package/lib/skills/usage-report/scripts/usage-report.js +518 -0
  81. package/lib/skills/whats-next/SKILL.md +177 -0
  82. package/lib/skills/wiki-archive/SKILL.md +12 -23
  83. package/lib/skills/wiki-lint/SKILL.md +23 -13
  84. package/lib/skills/wiki-query/SKILL.md +1 -1
  85. package/lib/skills/wiki-rotate-log/SKILL.md +1 -1
  86. package/lib/skills/wiki-tidy/SKILL.md +6 -9
  87. package/package.json +3 -3
  88. package/lib/scripts/templates/wiki/work/decisions/archive/index.md +0 -10
  89. package/lib/scripts/templates/wiki/work/requirements/archive/index.md +0 -10
  90. package/lib/scripts/templates/wiki/work/roadmaps/archive/index.md +0 -10
  91. package/lib/skills/req-extract-decisions/SKILL.md +0 -241
  92. package/lib/skills/req-retire/SKILL.md +0 -185
  93. package/lib/skills/req-update/SKILL.md +0 -265
  94. package/lib/skills/task-trash/SKILL.md +0 -115
  95. package/lib/skills/task-update/SKILL.md +0 -136
@@ -21,7 +21,7 @@ Why this is the one expensive-to-defer rule: typed links, Maps of Content, super
21
21
 
22
22
  Reference pages by a **stable identity**, not a raw file path — so links survive reorganization.
23
23
 
24
- - **Work families** carry an ID in frontmatter and filename: `REQ-NNNN`, `DEC-NNNN` (per-decision `#DM`), `ROADMAP-NNNN`, `TASK-NNNN`, `UAT-NNNN`, `BUG-NNNN`.
24
+ - **Work families** carry an ID in frontmatter and filename: `PRD-NNNN`, `ADR-NNNN` (per-decision `#DM`), `ROADMAP-NNNN`, `TASK-NNNN`, `UAT-NNNN`, `BUG-NNNN`.
25
25
  - **Knowledge pages** carry an `id` (kebab-case slug) plus an `aliases:` list of alternative names. Link by title/alias (`[[Karpathy]]`) rather than by path; the alias makes the reference durable even if the file moves.
26
26
 
27
27
  ## 3. Typed links
@@ -29,8 +29,8 @@ Reference pages by a **stable identity**, not a raw file path — so links survi
29
29
  Plain `[[wikilinks]]` are always valid. When a link has a *meaning*, annotate it inline so the graph is semantically navigable:
30
30
 
31
31
  ```
32
- implements::[[REQ-012]]
33
- supersedes::[[DEC-0003#D2]]
32
+ implements::[[PRD-012]]
33
+ supersedes::[[ADR-0003#D2]]
34
34
  derived_from::[[sources/karpathy-llm-wiki]]
35
35
  ```
36
36
 
@@ -46,7 +46,7 @@ Every page has YAML frontmatter. **Base keys (used now):**
46
46
 
47
47
  | Key | Applies to | Notes |
48
48
  |-----|-----------|-------|
49
- | `id` | all | stable slug or family ID (REQ-/DEC-/TASK-/BUG-/ROADMAP-) |
49
+ | `id` | all | stable slug or family ID (PRD-/ADR-/TASK-/BUG-/ROADMAP-) |
50
50
  | `title` | all | human-readable title |
51
51
  | `status` | work families | per the family's [lifecycle](#); see each `lifecycle.md` |
52
52
  | `created` / `updated` | all | ISO dates (`YYYY-MM-DD`) |
@@ -66,14 +66,14 @@ Adopting the corresponding behavior later is a frontmatter backfill via lint —
66
66
 
67
67
  [index.md](index.md) is the home Map of Content. Keep folders **shallow** — the link graph and the index carry the structure, not nesting. Status lives in frontmatter so it is greppable / Dataview-queryable without moving files. Tags are signals for discovery, not a replacement for links.
68
68
 
69
- **Per-family active indexes.** Each `wiki/work/<family>/` carries an `index.md` listing **only its active items** (see each family's `lifecycle.md` for the active status set). When an item leaves the active set, its line is deleted from the family index — the file itself stays put until explicitly archived. Knowledge pages are listed in the home index; work items only in their family index (the home index links to the family indexes).
69
+ **Per-family indexes.** Each `wiki/work/<family>/` carries an `index.md` (see each family's `lifecycle.md` for the active status set). For **tasks, UAT and bugs** it lists **only active items**: when an item leaves the active set its line is deleted from the family index — the file itself stays put until explicitly archived. For **roadmaps, decisions and requirements** the index has an `## Active` and a `## Closed` section: a finished item's row moves from Active to Closed and the file never moves. Knowledge pages are listed in the home index; work items only in their family index (the home index links to the family indexes).
70
70
 
71
71
  ## The two-domain rule
72
72
 
73
73
  Keep the two organizing laws separate — do not file a stateful artifact under `knowledge/` or a timeless synthesis under `work/`.
74
74
 
75
75
  - **`knowledge/`** — timeless, descriptive, **link-organized**. Files are revised in place as understanding evolves; there is no `status`. Sub-trees: `sources/`, `concepts/`, `entities/{people,organisations,tools,components}/`.
76
- - **`work/`** — stateful, **status-organized** lifecycle artifacts. Active files are **never moved** after creation; state lives in the `status:` field; each family has a `lifecycle.md` defining its schema and valid transitions, an `index.md` listing only active items, and an `archive/` subdirectory for terminal items. Sub-trees: `requirements/`, `decisions/`, `roadmaps/`, `tasks/`, `uat/`, `bugs/`.
76
+ - **`work/`** — stateful, **status-organized** lifecycle artifacts. Active files are **never moved** after creation; state lives in the `status:` field; each family has a `lifecycle.md` defining its schema and valid transitions, and an `index.md`. Tasks, UAT and bugs have an `archive/` subdirectory for terminal items; roadmaps, decisions and requirements close in place (Closed section of the index). Sub-trees: `requirements/`, `decisions/`, `roadmaps/`, `tasks/`, `uat/`, `bugs/`.
77
77
 
78
78
  Cross-domain links are encouraged and carry meaning — e.g. a decision `derived_from::` a source, a task `implements::` a requirement.
79
79
 
@@ -81,15 +81,15 @@ Cross-domain links are encouraged and carry meaning — e.g. a decision `derived
81
81
 
82
82
  ---
83
83
 
84
- ## 5. Archiving terminal items
84
+ ## 5. Closing and archiving terminal items
85
85
 
86
- Work item files are **permanent while active**. Once a file reaches a terminal status (`done`, `trashed`, `closed`, `passed`, `skipped`, `retired`, `wontfix`, `duplicate`, `cannot-reproduce`, or all decisions `accepted`/`superseded`), it **may** be moved to `<family>/archive/` by `/wiki-archive` to keep the family directory navigable.
86
+ Work item files are **permanent while active**. Once a file reaches a terminal status (`done`, `trashed`, `closed`, `passed`, `skipped`, `retired`, `deprecated`, `wontfix`, `duplicate`, `cannot-reproduce`, or all decisions `accepted`/`deprecated`/`superseded`), what happens next depends on the family. **Tasks, UAT and bugs** **may** be moved to `<family>/archive/` by `/wiki-archive` to keep the family directory navigable. **Roadmaps, decisions and requirements** are never archived: they close in place, and only their row moves from `## Active` to `## Closed` in the family `index.md`.
87
87
 
88
88
  **Why this is safe:** all links must use stable IDs (`[[TASK-023]]`, `[[BUG-0014]]`), not raw relative paths. Moving a file to `archive/TASK-023.md` changes only its storage location — the ID is unchanged. `/wiki-archive` updates `archive/index.md` and logs the operation.
89
89
 
90
90
  Archiving is a periodic **maintenance operation**, not part of the close/done workflow. Run `/wiki-archive [family]` when a family directory grows unwieldy.
91
91
 
92
- **`archive/index.md`** — each family's `archive/` carries its own index listing archived items with their final status and archive date. This file is **append-only**: archived items never move again.
92
+ **`archive/index.md`** — each archiving family's (tasks, UAT, bugs) `archive/` carries its own index listing archived items with their final status and archive date. This file is **append-only**: archived items never move again.
93
93
 
94
94
  ## 6. Log rotation
95
95