docs: record decision factor detection

This commit is contained in:
2026-08-14 13:31:30 +01:00
parent 5ef2b5a3c7
commit 100dfa2be5
2 changed files with 111 additions and 0 deletions
+31
View File
@@ -3064,3 +3064,34 @@ Schema changed: NO
Ollama calls: 0
Live API calls: 0
Vitest run: NO
---
### 60B.61 — Decision Remaining-Material-Factor Detection
**Status:** PASSED
**Type:** Helper detection experiment (bounded)
**Question answered:** Does the dedicated remaining-material-factor helper work correctly once malformed tests are repaired, without any broader applyValidatedProposal integration? **Answer: YES.**
**Production additions:**
- `hasRemainingMaterialFactors(decisionNodeId, graph)` — boolean public helper
- `countRemainingMaterialFactors(decisionNodeId, graph)` — count variant (internal/helper support)
- `TERMINAL_STATUSES` and `isUnresolvedUnknown(node)` — internal helpers
**Routes supported:** A (hierarchy), B (direct dependency), C (consequence via may_cause/affects/causes), D (containment via option)
**Excluded:** known/resolved/contradicted statuses, supports/measures weak links, arbitrary connectivity, decision self-count
**Test cases:** 14 in 60B.61 block — all passed
**Regression preservation:** 60B.43 PASSED, 60B.11 PASSED, pricing prerequisite-first PASSED
**Out-of-scope removed:**
- `remainingMaterialFactorCount` integration hook from applyValidatedProposal return (integration rejected per scope)
- Extra "countRemainingMaterialFactor counting" test block (out of bounded scope)
- `makeProductLaunchClosureFixture()` dependency in 60B.61 tests (replaced with local graphs)
**Committed:**
- Production/tests: `feat(reasoning): detect remaining decision factors`
- Docs: `docs: record decision factor detection`
**Next step:** Decision-sufficiency closure integration remains a separate next experiment.