@karmaniverous/stan-core 0.1.3 → 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.
- package/dist/cjs/index.js +1 -1
- package/dist/mjs/index.js +1 -1
- package/dist/stan.system.md +21 -6
- package/package.json +1 -1
package/dist/stan.system.md
CHANGED
|
@@ -635,15 +635,22 @@ This is a HARD GATE: the composition MUST fail when a required documentation pat
|
|
|
635
635
|
## Dev plan document hygiene (content‑only)
|
|
636
636
|
|
|
637
637
|
- The development plan at `<stanPath>/system/stan.todo.md` MUST contain only the current plan content. Keep meta‑instructions, aliases, formatting/policy notes, process guidance, or “how to update the TODO” rules OUT of this file.
|
|
638
|
+
- “Completed” MUST be the final major section of the document.
|
|
638
639
|
- Allowed content in the TODO:
|
|
639
|
-
- Header with “When updated: <UTC timestamp>”.
|
|
640
640
|
- “Next up …” (near‑term actionable items).
|
|
641
|
-
- “Completed (
|
|
641
|
+
- “Completed” (final section; short, pruned list). New entries are appended at the bottom so their order of appearance reflects the order implemented. Do not edit existing Completed items.
|
|
642
642
|
- Optional sections for short follow‑through notes or a small backlog (e.g., “DX / utility ideas (backlog)”).
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
-
|
|
646
|
-
-
|
|
643
|
+
|
|
644
|
+
- Append‑only logging for Completed:
|
|
645
|
+
- Do NOT modify or rewrite a previously logged Completed item.
|
|
646
|
+
- If follow‑on context is needed (e.g., clarifications/corrections), log it as a new list entry appended at the bottom of the Completed section (i.e., an amendment to the list, not to the individual item). Keep the original entries intact.
|
|
647
|
+
|
|
648
|
+
- Prune for relevance:
|
|
649
|
+
- Remove Completed items that are not needed to understand the work in flight (“Next up” and any active follow‑through). Retain only minimal context that prevents ambiguity.
|
|
650
|
+
|
|
651
|
+
- Numbering policy (dev plan):
|
|
652
|
+
- Do NOT number items in the dev plan. Use nested headings/bullets for structure, and convey priority/sequence by order of appearance.
|
|
653
|
+
- Exception: When documenting a short, strictly ordered procedure where bullets would create ambiguity, a local numbered sub‑list is allowed under that specific item.
|
|
647
654
|
|
|
648
655
|
# Patch Policy (system‑level)
|
|
649
656
|
|
|
@@ -831,6 +838,14 @@ Step 0 — Long-file scan (no automatic refactors)
|
|
|
831
838
|
- Document a clear decision to leave it long (with justification tied to requirements).
|
|
832
839
|
- Do not refactor automatically. Wait for user confirmation on which files to split before emitting patches.
|
|
833
840
|
|
|
841
|
+
Dev plan logging rules (operational)
|
|
842
|
+
- “Completed” is the final major section of the dev plan.
|
|
843
|
+
- Append‑only: add new Completed items at the bottom so their order reflects implementation order. Do not modify existing Completed items.
|
|
844
|
+
- Corrections/clarifications are logged as new list entries (appended) — i.e., amendments to the list, not edits to prior items.
|
|
845
|
+
- Prune Completed entries that are not needed to understand the work in flight; keep only minimal context to avoid ambiguity.
|
|
846
|
+
- Do not number dev plan items. Use nested headings/bullets for structure, and express priority/sequence by order of appearance.
|
|
847
|
+
- Exception: a short, strictly ordered sub‑procedure may use a local numbered list where bullets would be ambiguous.
|
|
848
|
+
|
|
834
849
|
Assume the developer wants a refactor to, in order:
|
|
835
850
|
|
|
836
851
|
1. Elucidate requirements and eliminate test failures, lint errors, and TS errors.
|
package/package.json
CHANGED