Ground flag-release plans in matched release policies (EMSR-1930) - #151
Draft
bradsimantel wants to merge 1 commit into
Draft
Ground flag-release plans in matched release policies (EMSR-1930)#151bradsimantel wants to merge 1 commit into
bradsimantel wants to merge 1 commit into
Conversation
…d stop on gaps Close the gaps between the flag-release skill and match-release-policies so Factory (and any harness composing this skill) presents a release plan grounded in the configured release policies instead of an invented rollout: - flag-release SKILL: preview by flagKey when the flag exists OR by proposed flagTags before it does; take methods/stages/metrics only from the tool; on a missing_policy / incomplete_policy warning, surface it and STOP for clarification rather than fabricating a rollout or assuming a default; re-run matching after a refinement changes the flag, tags, or environment set. State the plan is a preview (policy re-resolves at merge). - flag-and-release-change: preview policy by flagTags in the plan phase (before the flag exists); surface warnings. - auto-release reference + READMEs updated; both skills bumped to 0.2.0; regenerated skills.json. - evals: assert match-release-policies is called per planned environment and via the flagTags path pre-creation; missing/incomplete policies produce a warning and no clean-release claim; a changed environment set re-runs matching. Added a match-release-policies mock hook (missing/incomplete/progressive scenarios) and the warnings contract to the tool definition. EMSR-1930
davidbrackbill
approved these changes
Aug 10, 2026
Skill eval results
Only suites whose source actually changed since their last recorded score were re-run. Soft-failing while we stabilise the baseline. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes the gaps between the
flag-releaseskill andmatch-release-policiesso a release plan is always grounded in the environment's configured release policy — never an invented rollout — and a missing/incomplete policy stops for clarification instead of a fabricated one.What changed
Skills
flag-release(0.1.0 → 0.2.0): preview policy byflagKeywhen the flag exists or by proposedflagTagsbefore it does; take methods/stages/metrics only from the tool; on amissing_policy/incomplete_policywarning, surface it and stop for clarification rather than fabricating a rollout or assuming a default; re-run matching after a refinement changes the flag, tags, or environment set; state the plan is a preview (policy re-resolves at merge).flag-and-release-change(0.1.0 → 0.2.0): plan-phase policy preview usesflagTags(the flag doesn't exist yet) and surfaces warnings.references/auto-release.md+ both READMEs; regeneratedskills.json; bumpedmarketplace.jsonversions.Evals (
evals/)flag-release: added missing-policy (warn-and-stop, no unbacked policy rollout) and incomplete-policy (no clean-guarded-rollout claim) cases.flag-and-release-change: added a pre-creationflagTagspreview assertingmatch-release-policiesis called per planned environment via the flagTags path, and a refinement case asserting a changed environment set re-runs matching for the added environment.match-release-policiesmock hook (_mock.js) driving missing/incomplete/progressive scenarios by project key,warnings: []on the default mock, and thewarningscontract in the tool definition.Testing
scripts/validate_skills.py✅ (50 skills),scripts/generate_catalog.py✅EMSR-1930
via LD Research 🤖