@imix-js/taproot 0.4.0 → 0.5.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.
@@ -66,7 +66,35 @@ Run a comprehensive review of an entire subtree — an intent and all its descen
66
66
 
67
67
  7. Close with a prioritized action list: "Recommended next steps: (1) resolve structural issues, (2) address blockers in [artifact], (3) fill coverage gaps for [criterion]."
68
68
 
69
- 8. Present next steps:
69
+ 8. **Truth discovery pass** — if `taproot/global-truths/` exists and the hierarchy has 3 or more readable `intent.md`/`usecase.md` files (excluding `global-truths/`):
70
+
71
+ Run the same scan as `/tr-discover-truths` (Phase 2–3 of that skill): collect candidates not already defined in `global-truths/` and not suppressed by `.taproot/backlog.md` dismissed entries.
72
+
73
+ If candidates are found, append to the report:
74
+
75
+ ```
76
+ ## Truth Candidates
77
+
78
+ The following implicit facts were detected in the hierarchy but are not yet captured as global truths:
79
+
80
+ - `<term>` (scope: <intent|behaviour|impl>) — found in: <spec-path>, <spec-path>
81
+ ...
82
+ ```
83
+
84
+ Then offer:
85
+ > "[P] Process candidates now via `/tr-discover-truths` [D] Defer — append all to backlog"
86
+
87
+ **If [P]:** invoke `/tr-discover-truths` inline; return here when it completes.
88
+
89
+ **If [D]:** append each candidate to `.taproot/backlog.md` as `- [YYYY-MM-DD] truth candidate: <term>`.
90
+
91
+ If no candidates found (hierarchy consistent with existing truths), append to report:
92
+ ```
93
+ ## Truth Candidates
94
+ No new candidates — hierarchy is consistent with existing global truths.
95
+ ```
96
+
97
+ 9. Present next steps:
70
98
 
71
99
  > 💡 If this session is getting long, consider running `/compact` or starting a fresh context before the next task.
72
100