Skip to content

fix(arch): extend slice-verb fitness allowlist for event + reaction#25

Open
xmap wants to merge 1 commit into
mainfrom
hotfix-slice-verb-allowlist-event-reaction
Open

fix(arch): extend slice-verb fitness allowlist for event + reaction#25
xmap wants to merge 1 commit into
mainfrom
hotfix-slice-verb-allowlist-event-reaction

Conversation

@xmap
Copy link
Copy Markdown
Owner

@xmap xmap commented Jun 2, 2026

Summary

  • Origin/main's test_slice_dir_carries_subject[agent.dismiss_event_in_reaction] is currently failing.
  • PR feat(agent): Reaction Protocol + dismiss_event_in_reaction operator slice (Slice A) #22 (slice-a-reaction-split, 935780130) landed the dismiss_event_in_reaction slice without extending the Phase 5 slice-verb fitness allowlist.
  • Adds event and reaction to _DOMAIN_NOUN_ALLOWLIST, with per-entry comments matching the existing reasoning / entry / permission style.

Why these two are real domain nouns

  • Reaction is the Agent BC's term for subscriber classes (RunDebriefer, CautionDrafter). The slice's command.py docstring frames it as "advance the Reaction's bookmark past a poison event."
  • event is the unit the Reaction processes (the operator-recovery slice advances past a poison event).

Blast radius

Test plan

  • CI runs the full arch suite and the failing test now passes.
  • No other slice depends on event or reaction accidentally passing the allowlist (the two strings are distinct enough that false positives are unlikely).

🤖 Generated with Claude Code

…action domain nouns

PR #22 (slice-a-reaction-split, commit 9357801) landed the
`agent.dismiss_event_in_reaction` operator slice without extending
the Phase 5 slice-verb fitness allowlist. The slice uses two real
Agent-BC domain nouns:

  - `Reaction` is the Agent BC's term for subscriber classes
    (RunDebriefer, CautionDrafter) — they react to events from other
    BCs. See the slice's command.py docstring for the full
    "Reaction's bookmark" framing.
  - `event` is the unit the Reaction processes; the operator-recovery
    slice advances the bookmark past a poison event.

Adds both to `_DOMAIN_NOUN_ALLOWLIST` in
test_slice_verb_names_subject.py with the same per-entry comment
style as the existing reasoning / entry / permission entries.

Origin/main's `test_slice_dir_carries_subject` was failing post-PR-#22
merge; this fix unblocks ANY downstream PR built on origin/main.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Coverage report

This PR does not seem to contain any modification to coverable code.

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