Skip to content

feat(boatstack): introduce deterministic DecisionOperator at plan boundary - #85

Merged
bigboateng merged 1 commit into
mainfrom
feat/plan-decision-orchestration
Jul 21, 2026
Merged

feat(boatstack): introduce deterministic DecisionOperator at plan boundary#85
bigboateng merged 1 commit into
mainfrom
feat/plan-decision-orchestration

Conversation

@bigboateng

@bigboateng bigboateng commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Decision Architecture: Plan Validation Boundary

This PR introduces the foundational primitive for Boatstack's Decision Architecture.

Instead of hardcoding ValidatePlan to return a string error that triggers a user prompt, Boatstack now acts as a repository supervisor that coordinates coding agents through evidence-backed delivery boundaries.

It evaluates uncertainty at the validateArchitectureGrounding boundary using a deterministic DecisionOperator:

  • Infer: Verified repository evidence resolves the decision.
  • Query: Material product intent requires human input.
  • Verify: Evidence is supported but requires independent verification.
  • Reject: Planning premise is not supported.
  • Escalate: Repository evidence conflicts or is otherwise unresolvable.

Why this matters

Boatstack is no longer simply asking questions when uncertain; it selects the admissible operator that maximizes progress toward a verified delivery. The decision is backed by a derived EvidenceLevel from the existing ledger and bounded by human authority and safety constraints.

Changes

  • Introduced DecisionOperator, EvidenceLevel, PremiseStatus, and ResolvePlanDecision() in decision.go.
  • Refactored validateArchitectureGrounding to derive evidence levels and construct a PlanDecisionInput, rather than instantly returning an error.
  • Exhaustively tested deterministic branches in decision_test.go and verified integration in plan_validation_test.go.

@bigboateng
bigboateng merged commit b0e65b1 into main Jul 21, 2026
4 checks passed
@bigboateng
bigboateng deleted the feat/plan-decision-orchestration branch July 21, 2026 15:48
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