Repository navigation
Dismiss and take back an Inbox row from the CLI - #1209
Merged
Merged
Conversation
thirdshift dismiss names a Command as stop and show do and gives its Needs you or Ready for review row a Dismissal, kept beside the Command record with who, when, CLI or Console, covered rows and kind. The row leaves for Working or Landing live, otherwise Done, Resolved or History, saying dismissed by and who; Resolved holds it for inbox.days after the dismissal. Collapsed failures dismiss every Command they stand for, and --undo takes a dismissal back wherever the row now is. Closes #1191
cargo fmt --check failed on the dismiss files this branch added. No logic changed.
…id=c05b0a88-938d-4d00-b14b-69141da0811f]: Subscription quota exhausted. Your usage window resets at 2026-10-24T03:28:16Z. (rate_limit_error)) 2026-10-24T02:17:29Z, host stephens. Uncommitted work at the time of failure is included in this commit.
JacobStephens2
marked this pull request as draft
October 24, 2026 02:17
JacobStephens2
marked this pull request as ready for review
October 24, 2026 03:36
This was referenced Oct 24, 2026
Merged
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
Add
thirdshift dismiss <command> [--undo] [--json]for a whole Inbox row in Needs you or Ready for review, including live rows and collapsed failures. It accepts the same Command names as Stop and show.Live Commands keep running with their health line. Resolved counts
inbox.daysfrom the dismissal, and History retains its attribution. Later failures with the same cause form a fresh row. Dismissal changes no Command record, issue, labels, Claim or pull request and makes noghcall. Text/JSON status and Console rows show the attribution; the Console action is outside this CLI ticket. The manual, domain-to-code index and all three hand-written site pages describe the command.Seams
thirdshift dismiss <command> [--undo] [--json]: naming, refusals, Activity entries and local effects.thirdshift status [--all] [--json]: grouping, health, dismissal metadata and retention.Evidence
After: all five regression tests are kept and pass.
cargo test --test dismiss: 17 passed, one ignored subprocess fixture. Additional assertions cover History undo/attribution, later Commands, shorter silence thresholds and unchanged Activity after failed undo. A binary recordless-row refusal replaces the isolated formatting-expression test.cargo check --bin thirdshiftandcargo fmt --all -- --check: passed.cargo test --test command_surface help_is_a_compact_reference_with_a_link_to_the_details -- --exact: passed. Help including the new command fits the existing 65-line budget; its limit test is unchanged.ce358c8is green for Rust, site and Console; release build checks are green too. Console's focus assertion failed once, passed six consecutive targeted local runs, and passed on the CI rerun without Console changes./usr/bin/time -p scripts/affected-tests issue-919: passed, including 49 site checks and the full Rust suite (cargo test, nextest unavailable). Selector wall time 2,494.85s (41m35s) included compilation and browser checks; the final-head CI Rust job took 11m21s.issue-919: Standards found nine items (six addressed, three judgement calls declined below); Spec found two P2 behavior issues, both fixed. Each axis read all 14 changed files, including generatedsite/docs/index.html. Generated exclusions: none. Changed files left unread: none. Final reports and each axis's combined files-read list are saved in.thirdshift-review-WLoGIr/standards.mdand.thirdshift-review-WLoGIr/spec.md.Merge Danger
Door: two-way.
dismiss --undoremoves the local dismissal; removing its sidecar also restores ordinary grouping.Blast Radius: Inbox. Dismissal adds local sidecar reads and partitions collapsed failures by dismissal state. Existing Commands and GitHub state retain their normal lifecycle.
Unaddressed findings
Standards
kind: String: retained atsrc/logs/dismiss.rs:22.NeedsYouKind::titlealready exhaustively maps Needs you kinds, andREADY_KINDcovers Ready. The implementation decision is to keep that persisted vocabulary without duplicating it in another enum. This is a structural suggestion; the retained kind/retention regressions pass.src/logs/dismiss.rs:203, matching the existingStop lookup. The implementation decision keeps these small CLI adapters and their action-specific failure messages local. Binary dismissal tests verify attribution and Activity behavior.tests/dismiss.rs:443and:460. Both reviewers' exact commands failed before the fix and now pass. The Session explicitly requires keeping each reproduced failing test; the second also checks a below-default silence threshold.Earlier PR notes are also accounted for:
from_consoleatsrc/logs/dismiss.rs:26is required by #1191's CLI/Console provenance requirement;Row.left: Stringatsrc/logs/status/inbox.rs:45already exists unchanged onissue-919and follows the surrounding rendered-row fields. Neither needs a new interface for this change.The earlier parser-duplication note is retained as a deliberate implementation choice: the Dismiss branch in
src/args.rs:417follows its adjacent Stop parser (:395). The earlier test-depth note is closed by the retained binary tests for dispatched rows, Landing health and collapsed undo intests/dismiss.rs; all pass incargo test --test dismiss.Spec
None. No finding was deferred for a Spec or Day-shift decision, so no
needs-triageissue was needed.Security
None.
Closes #1191
Built with codex · gpt-6.1-sol · xhigh
Security review outcome
No unaddressed introduced findings.