Skip to content

feat(frame): add premise-validity gate (success/failure/simplest_alternative)#172

Merged
MickaelV0 merged 3 commits into
stagingfrom
feat/169-frame-premise-gate
May 13, 2026
Merged

feat(frame): add premise-validity gate (success/failure/simplest_alternative)#172
MickaelV0 merged 3 commits into
stagingfrom
feat/169-frame-premise-gate

Conversation

@MickaelV0
Copy link
Copy Markdown
Contributor

Summary

  • Adds Step 1b to `/frame` — a hard gate between interview and tier classification
  • Three required fields: `success_in_6mo`, `failure_in_6mo` (must be falsifiable), `simplest_alternative` (with mandatory why-not)
  • Frame artifact gains a Premise Validity section with all four sub-fields
  • Non-falsifiable `failure_in_6mo` triggers a re-ask loop; proxy-metric failure modes surface an explicit Reframe | Abort prompt
  • Version bump: `0.2.0 → 0.3.0`

Originating case: Roxabi/lyra#1162 — quality-debt annotation infrastructure (~1100 LOC + 6 registry files) where `failure_in_6mo` would have been "DEBT count stays flat despite 3 sprint cycles" and `simplest_alternative` would have pointed directly to a regression-cap ratchet (~130 LOC, ~95% of the value).

Closes #169

Acceptance checklist

  • Concrete change to `dev-core:frame` skill
  • Quality-debt invariant: POLICY/DEBT tag grammar + audit + ratchet gate (P0+P1) lyra#1162 referenced as originating example in SKILL.md Step 1b
  • All 3 fields required (block progression to Step 2)
  • `failure_in_6mo` falsifiability enforced with re-ask + abort signal
  • Frame artifact template updated with required Premise Validity section
  • README updated (step numbering, output fields)
  • lint pass | typecheck pass | 507 tests pass
  • Out of scope: `global-patterns.md` documentation — follow-up needed (file is `~/.claude/shared/global-patterns.md`, out-of-tree for this repo; requires a separate cross-repo update)

Coupling note

Issue #168 (`/plan` budget heuristic) is in-flight in parallel. Neither branch touches the same files — no conflict expected.

🤖 Generated with Claude Code

…rnative)

Adds Step 1b to /frame: three required fields that must be answered before
tier classification can proceed. Non-falsifiable failure modes surface an
abort prompt. Frame artifact gains a required Premise Validity section.
Motivated by Roxabi/lyra#1162 (quality-debt infra that measured bookkeeping
compliance, not code quality — 1100 LOC that a falsification check would
have caught).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…erion

- Insert positive falsifiability rule (measurable outcome + time horizon)
  before counter-examples in Step 1b evaluation rules
- Add 5 canonical proxy-metric LLM anchors after the abort signal sentence

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@MickaelV0 MickaelV0 enabled auto-merge (squash) May 13, 2026 16:54
@MickaelV0 MickaelV0 merged commit fbdfc15 into staging May 13, 2026
5 checks passed
@MickaelV0 MickaelV0 deleted the feat/169-frame-premise-gate branch May 13, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(dev-core): add premise-validity gate to /frame or /spec — prevent bureaucratic outputs

1 participant