fix(dispatch): auto-derive axis_filter when .forge/axes.yaml exists#152
Merged
Conversation
Dogfood-caught running the Titan cobay: the legacy maintenance LLM daemon re-labeled 4 cosmetic tickets as ``loop:ready`` (#1070 UI split, #1098 pagination, #1074 cap state transitions, #1104 audit retention) right after the brainstormer had explicitly omitted them. Without this fix, those cosmetic tickets would have entered the dispatch path next tick and burned worker turns on work the CTO explicitly tagged as ``rejected_as_cosmetic`` in axes.yaml. Fix: in the tick loop, if ``LOOP_AXIS_FILTER`` env is unset AND ``.forge/axes.yaml`` is present, derive ``axis_filter`` as the union of axis names declared in the file. Issues without an ``axis:*`` label no longer survive the filter. Explicit env override still wins (preserves the existing ``forge-loop run --axis foo,bar`` flow). Emits a typed ``axis_filter_auto_from_axes_yaml`` event so operators can see the gate firing.
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.
Stops the legacy maintenance LLM from sneaking cosmetic tickets back onto the dispatch path. Dogfood-caught on Titan cobay run.