Repository navigation
test(crew): trip-wire stops raised for real through a scripted approval list (M23) - #2708
Merged
Merged
Conversation
…uest as a real merge
…rd, against the real service
…rker's Needs you word
Contributor
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
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
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 asBashrequests to its approval tool in order (crates/orbynd/src/bin/orbyn_fake_engine/crew_worker.rs). The service decides every request itself: threegit push origin main(always denied) give three denials in a row andtoo_many_denials; a command that reads as injected instructions givesinjection_suspected.web/e2e/real/crew-needs-you-tripwire.spec.ts, one fresh service per stop. For each: one dismissibletripwire_stopin 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. Onetest.failcase per stop for #2704: afterPOST /api/crew/needs-you/dismissthe 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 fmtclean; the spec used the headless shell already installed.AI usage
Agent review: Eng 2 checked the diff at 381c3fc