Skip to content

test(crew): trip-wire stops raised for real through a scripted approval list (M23) - #2708

Merged
kinqsradio merged 12 commits into
feat/m23-needs-youfrom
test/m23-tripwire
Dec 5, 2026
Merged

kinqsradio merged 12 commits into
feat/m23-needs-youfrom
test/m23-tripwire

Conversation

@kinqsradio

@kinqsradio kinqsradio commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

Summary

Stacked on #2697 (retarget to main once it merges). The fake Claude worker takes a scripted approval list, so both trip-wire stops can be raised for real: [crew-approvals:<command> ;; <command>] in the brief's outcome makes the worker send those commands as Bash requests to its approval tool in order (crates/orbynd/src/bin/orbyn_fake_engine/crew_worker.rs). The service decides every request itself: three git push origin main (always denied) give three denials in a row and too_many_denials; a command that reads as injected instructions gives injection_suspected.

web/e2e/real/crew-needs-you-tripwire.spec.ts, one fresh service per stop. For each: one dismissible tripwire_stop in the field with the service's own sentence; the board, Review line, dashboard, Map, Inbox row and sidebar count of 1 read it; one dismissal clears the field, board, Review line and dashboard. One test.fail case per stop for #2704: after POST /api/crew/needs-you/dismiss the Inbox row and sidebar count stay (the Inbox's own Dismiss is only a local hide on the device).

Parity rows

M23: evidence text only; not ticked.

Testing

8 tests passed in each of 3 runs on this Mac (6 plain passes, 2 expected failures), at spec commit f31abc5. Two Rust tests for the marker parsing pass (the file's 4 tests). cargo fmt clean; the spec used the headless shell already installed.

AI usage

  • Harness and version: Claude Code 2.1.335
  • Models: claude-sonnet-5-5 (the code, written by a worker, and the session that reviewed the diff)
  • Effort: medium
  • Human role: none in this change; directed by the Orbyn Product Research lead session for the owner
  • Sources: none

Agent review: Eng 2 checked the diff at 381c3fc

Base automatically changed from feat/m23-mac to feat/m23-needs-you December 5, 2026 06:57
@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 7dac1fa6-0386-42e9-ae0c-270416cb0065

You can disable this status message by setting the reviews.output.walkthrough.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

fix(inbox): the Inbox and sidebar count read the needs-you field; Dismiss asks the service (#2698, #2704, #2705)
@kinqsradio
kinqsradio merged commit efc90d6 into feat/m23-needs-you Dec 5, 2026
2 checks passed
@kinqsradio
kinqsradio deleted the test/m23-tripwire branch December 5, 2026 07:34
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