fix(flows): repair default-flow rows that fail to compile, regardless of version #546
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!546
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "boss/545"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Compile failure on a
source="default"row now triggers an unconditional repair from source — the version field gates operator overrides, not dead-default fixes. Source-body compile failures setprocess.exitCode = 1./flows/divergence/summarysurfaces per-boot repair counts.Closes #545
Test plan
process.exitCode = 1/flows/divergence/summaryreports repair telemetryapps/servertypecheck + Biome lint cleanCompile-fail path is correct:
seedOnechecks DB compile before version comparison, operator rows skipped unconditionally, source-fail returns without writing.process.exitCode = 1is set after the full loop so the operator sees all failures in one pass.main.tsloop handles new status strings generically — no switch fallthrough. SingledefaultRegistry()instance shared across all specs. All 6 tests cover the AC scenarios;process.exitCodereset inafterEachprevents cross-test pollution. CI green.