Loading...
Loading...
Verify logic diagrams against source code. Check line-number accuracy, Mermaid syntax, node completeness, and side effect documentation. Runs as independent Critic in fork context. Use when: verify logic, check logic diagram, validate phase 2, re-verify-logic.
npx skill4agent add caldiaworks/caldiaworks-marketplace re-verify-logicre-visualize-logicre-extract-requirementsPASSWARNdocs/reverse/{analysis}/manifest.jsoncomponentphase2.completedverification: nulldocs/reverse/{analysis}/02-logic-{component}.md!=>=[]()docs/reverse/{analysis}/verification/v2-logic-{component}.md# Logic Diagram Verification: {component}
**Verification Date**: {YYYY-MM-DD}
**Target Document**: 02-logic-{component}.md
**Verdict**: {PASS / WARN / FAIL}
## Summary
| Check | Result | Details |
|:------|:-------|:--------|
| Line Number Accuracy | {✅/⚠️/❌} | {match}/{total} nodes ({%}) |
| Mermaid Syntax | {✅/⚠️/❌} | {error_count} errors |
| Branch Coverage | {✅/⚠️/❌} | {covered}/{total} branches ({%}) |
| Side Effects | {✅/⚠️/❌} | {documented}/{total} side effects ({%}) |
## Verdict
{PASS/WARN/FAIL}: {explanation}
## Details
### Line Number Issues
| Node | Claimed Line | Actual Line | Issue |
|:-----|:-------------|:------------|:------|
### Missing Branches
- {description of missing branch at file:line}
### Missing Side Effects
- {description of undocumented side effect at file:line}
## Recommendations
1. **[{severity}]** {fix description}phase2.completed[].verification"verification/v2-logic-{component}.md"phase2.status"verified"phase2.status"completed"updated| Criterion | PASS | WARN | FAIL |
|---|---|---|---|
| Line number accuracy | >= 95% match | 80-94% | < 80% |
| Mermaid syntax errors | 0 | 1-2 | >= 3 |
| Branch coverage | >= 90% | 75-89% | < 75% |
| Side effect documentation | 100% | >= 80% | < 80% |
| Hallucinations | 0 | 0 | >= 1 |