Skip to content

test(dag): enforce core behavior coverage - #208

Merged
LeXwDeX merged 1 commit into
devfrom
test/dag-core-coverage
Aug 9, 2026
Merged

test(dag): enforce core behavior coverage#208
LeXwDeX merged 1 commit into
devfrom
test/dag-core-coverage

Conversation

@LeXwDeX

@LeXwDeX LeXwDeX commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • run DAG core behavior suites before PRs merge to dev or main
  • enforce fixed line/function floors across 16 critical DAG modules
  • cover all public workflow control routes and all durable DAG manifest entries
  • document the core-invariant coverage matrix and remaining design-dependent risks

TDD evidence

  • coverage gate began with a missing-module red test, then passed after the minimal implementation
  • deliberately misrouting cancel to pause made the public control test fail, then pass after restoration
  • removing DAG manifest inventory made the canonical membership test fail, then pass after restoration
  • raising loop coverage floor to 99% made the gate fail despite 399 green behavior tests

Verification

  • Core: 90 passed
  • OpenCode DAG: 399 passed
  • Schema: 3 passed
  • TUI DAG: 50 passed
  • generated SDK: clean
  • repository typecheck: 29/29 passed

Known boundary

Bun 1.3.14 LCOV has no branch records, so state-transition branch protection remains behavior-matrix based. Store retry/backoff stays out until its semantics are designed.

@LeXwDeX
LeXwDeX merged commit 26e057f into dev Aug 9, 2026
5 checks passed
@LeXwDeX
LeXwDeX deleted the test/dag-core-coverage branch August 9, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant