@novare-technologies/nvaid 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -119,6 +119,18 @@ function aidlcRootFor(agent) {
119
119
  return "nvaid/rules";
120
120
  }
121
121
  function withHeader(body) {
122
+ if (body.startsWith("---\n")) {
123
+ const end = body.indexOf("\n---", 4);
124
+ if (end !== -1) {
125
+ const closeLineEnd = body.indexOf("\n", end + 1);
126
+ const cut = closeLineEnd === -1 ? body.length : closeLineEnd + 1;
127
+ const front = body.slice(0, cut);
128
+ const rest = body.slice(cut);
129
+ return `${front}
130
+ ${DO_NOT_EDIT}
131
+ ${rest}`;
132
+ }
133
+ }
122
134
  return `${DO_NOT_EDIT}
123
135
 
124
136
  ${body}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novare-technologies/nvaid",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "nvaid — one CLI that installs an AI-DLC skills-and-workflow toolkit into any coding agent, and houses intents, config, and the design-code dictionary in a single nvaid/ folder.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -84,4 +84,4 @@ context: ""
84
84
 
85
85
  # nvaid version this repo was last generated against. `nvaid validate` compares the
86
86
  # installed CLI version to this and flags drift.
87
- generated_with: "0.2.3"
87
+ generated_with: "0.2.4"
@@ -12,7 +12,7 @@ status: draft
12
12
  **What this file is:** the field shape and creation rules for how Fig. 2's Intent-to-Release
13
13
  artifacts show up in Jira or GitHub Projects — one Epic per Intent, one Story or Bug per
14
14
  Unit of Work, bundled for shipping by Release Checkpoint rather than by sprint — so the
15
- tracker and the `aidlc-docs/` artifacts never disagree about what was decided.
15
+ tracker and the `nvaid/` artifacts never disagree about what was decided.
16
16
 
17
17
  **What this file is not:** not a replacement for `intent.md`, `unit-breakdown.md`, or any
18
18
  contract file. The tracker is the *tracking* layer — status, ownership, checkpoint
@@ -21,7 +21,7 @@ agreed, in full, versioned in git. A ticket field never carries content that onl
21
21
  the ticket; if it's worth writing down, it's worth writing into the file the AI agent
22
22
  actually reads, and the ticket links to it.
23
23
 
24
- **Companion files:** [PROJECT-RULES.md](./PROJECT-RULES.md) §7 rule 11 is the operating
24
+ **Companion files:** [PROJECT-RULES.md](../PROJECT-RULES.md) §7 rule 11 is the operating
25
25
  rule this file implements. [unit-breakdown-rules.md](./unit-breakdown-rules.md) governs
26
26
  *how* a Unit of Work is decided and classified before it ever becomes the ticket
27
27
  described here. The worked example in `docs/templates/samples/` is what every link below
@@ -45,7 +45,7 @@ A ticket holds three kinds of information, and only two of them belong in ticket
45
45
  2. **Links to content** (the Intent, the contracts, the design docs) — belongs in ticket
46
46
  fields, as links, never as pasted text.
47
47
  3. **The content itself** (what the API contract actually says, what the acceptance
48
- criteria actually are) — belongs *only* in the `aidlc-docs/` artifact. Pasting it into
48
+ criteria actually are) — belongs *only* in the `nvaid/` artifact. Pasting it into
49
49
  a ticket description creates a second copy that drifts the first time either one is
50
50
  edited without the other, and the AI agent isn't the one reading the ticket anyway — it
51
51
  reads the file.
@@ -20,7 +20,7 @@ governs that), not the ceremony's choreography (the AI-Native Engineering Model'
20
20
  one specific judgment call: given an approved Intent, what its Units of Work are.
21
21
 
22
22
  **Companion files:** [ISSUE-TRACKER-TEMPLATE.md](./ISSUE-TRACKER-TEMPLATE.md) is where a
23
- Unit of Work, once decided here, becomes a ticket. [PROJECT-RULES.md](./PROJECT-RULES.md)
23
+ Unit of Work, once decided here, becomes a ticket. [PROJECT-RULES.md](../PROJECT-RULES.md)
24
24
  §7 rule 12 is the operating rule this file implements.
25
25
 
26
26
  ---
@@ -2,7 +2,7 @@
2
2
  name: r3-analytics
3
3
  description: Gathers checkpoint-to-checkpoint performance indicators (lead time, gate pass rate, escaped defects, Known Gaps) for R3's Retrospective step. Use when asked to run the R3 Analytics Skill or prepare Retrospective data after a Release Checkpoint ships.
4
4
  invoked_by: R3 (Ceremony 4), triggered by a Release Checkpoint shipping
5
- output: file — process/retro-<checkpoint>.md
5
+ output: file — nvaid/process/retro-<checkpoint>.md
6
6
  ---
7
7
 
8
8
  # R3 Analytics Skill
@@ -17,8 +17,8 @@ looks at, so "what does the data actually say" has an answer ready the moment R3
17
17
  escaped defects logged against this checkpoint's Units.
18
18
  3. Roll up every Known Gap logged across this checkpoint's Quality Architecture
19
19
  Contracts — a gap doesn't disappear just because the checkpoint shipped.
20
- 4. Draft `process/retro-<checkpoint>.md` with the above, structured for the room to read
21
- before proposing Regenerate edits.
20
+ 4. Draft `nvaid/process/retro-<checkpoint>.md` with the above, structured for the room to
21
+ read before proposing Regenerate edits.
22
22
 
23
23
  ## Boundaries
24
24