@zalom/plastic 1.0.0-beta.23 → 1.0.0-beta.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zalom/plastic",
3
- "version": "1.0.0-beta.23",
3
+ "version": "1.0.0-beta.24",
4
4
  "description": "Intent-driven idea development system for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
package/scripts/doctor.rb CHANGED
@@ -472,7 +472,10 @@ class Doctor
472
472
  category: "conventions", name: "section_structure", status: "warn",
473
473
  message: "#{bad_sections.size} intent file(s) have non-sanctioned ## sections",
474
474
  details: bad_sections.map { |b| "#{b[:dir]}: #{b[:issues].join(", ")}" },
475
- fixable: false
475
+ fixable: true,
476
+ fix_hint: "Dispatch plastic-intent-curator to relocate each unsanctioned section into the " \
477
+ "intent's revisions.md via move-and-record (a missing required section is restored " \
478
+ "or reprojected instead); see PLASTIC.md > Structural maintenance and revisions.md"
476
479
  )
477
480
  end
478
481
 
@@ -698,7 +701,9 @@ class Doctor
698
701
  checks << graph_finding_check(
699
702
  "graph_i4_danglers", i4,
700
703
  "Every sources/chain id resolves to a real intent (I4)",
701
- "Fix or remove the dangling id reference"
704
+ "Dispatch plastic-intent-curator to record the dangling sources/chain edge as a " \
705
+ "broken-source/broken-chain move-and-record entry in the intent's revisions.md (see " \
706
+ "PLASTIC.md > Structural maintenance and revisions.md), or restore the missing intent"
702
707
  )
703
708
  checks
704
709
  end
@@ -119,9 +119,12 @@ Use the `fix_hint` value to determine the correct action:
119
119
  | "Inject the missing required frontmatter field(s)" | Edit the intent's `{ID}--{slug}.md` frontmatter to add the missing key (e.g. `chain: []`) without touching other keys |
120
120
  | "Run: provision-project-store {slug}" | Run `provision-project-store <slug>` (or invoke the `plastic-add-project-store` skill) to create the missing store |
121
121
  | "Re-run installer" | Run `npx @zalom/plastic@latest --agent` |
122
+ | "Dispatch plastic-intent-curator ... revisions.md ..." | Invoke the `plastic-intent-curator` (or the agent) to relocate the flagged section or ref into the intent's `revisions.md` via move-and-record (one dated, `[rule: <tag>]`-tagged entry per item), per PLASTIC.md > Structural maintenance and revisions.md. For a missing required section, restore or reproject it instead. |
122
123
 
123
124
  For fixes the agent cannot handle automatically, explain what the user needs
124
- to do manually.
125
+ to do manually. The `revisions.md` remedy is curator-applied (a move-and-record
126
+ relocation, not a mechanical edit) and stays human-gated by the Step 4
127
+ Fix / Select / Skip prompt.
125
128
 
126
129
  ### Step 6: Verify
127
130