Skip to content

Allow proactivity despite stale bootstrap flags - #6

Merged
inchwormz merged 1 commit into
mainfrom
fix/proactivity-bootstrap-flag
Apr 19, 2026
Merged

inchwormz merged 1 commit into
mainfrom
fix/proactivity-bootstrap-flag

Conversation

@inchwormz

Copy link
Copy Markdown
Owner

Summary\n- Fixes proactivity deferring when a strategy scope has stale bootstrap flags but real interrupt-level nudges.\n- Adds a regression test for the stale-bootstrap-with-nudges path.\n- Bumps crate version to 0.5.3.\n\n## Root cause\nThe local strategy registry can retain \�ootstrap_requested = true\ / \ emplate_managed = true\ even after a real strategy artifact is imported. Proactivity treated that stale flag as a hard defer before considering real nudges.\n\n## Verification\n- \cargo test --quiet\n- \cargo test --quiet --lib core::proactivity\n- \cargo publish --dry-run\n- Manual reproduction: \munin proactivity run --scope sitesorted-business --no-spawn --format json\ now returns \queue-approval\ instead of \deferred/bootstrap_strategy_scope.\n

Signed-off-by: inchwormz <johnrichardmckeown@gmail.com>
@inchwormz
inchwormz merged commit fc1d560 into main Apr 19, 2026
4 checks passed
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