Skip to content

fix(crew): tighten background crew text, audit and state - #531

Merged
kinqsradio merged 2 commits into
mainfrom
fix/background-crew-follow-ups
Nov 12, 2026
Merged

kinqsradio merged 2 commits into
mainfrom
fix/background-crew-follow-ups

Conversation

@kinqsradio

@kinqsradio kinqsradio commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Background crew names and trigger text refuse hidden characters with their own wide list (the Autopilot tripwire list is unchanged); names are also compared lower-cased beyond ASCII for uniqueness.
  • A spend writes its own audit row before the run row changes; a budget stop writes the stop row before one update of spend and state.
  • A person's disable logs the run's stop as that person.
  • Delete is refused only while a run is running; waiting reviews go with the crew and the audit row counts runs and reviews removed.
  • idle now means nothing running, nothing waiting, and the newest run was not stopped for a reason that needs the person; docs and doc comment agree.
  • Schema 42: a run keeps the budget it was given.

Closes #526

Parity rows

none

Frames built

Frames built: none

Testing

  • CI covers the rest.
  • Local: fmt, clippy --workspace --all-targets -D warnings, orbyn-core crew:: and store:: (378), orbynd crew routes, web/src/generated regenerated.
  • Not tested: none

Co-authors

none

AI usage

  • Written by hand, with no AI
  • Harness and version: Claude Code 2.1.321
  • Models: claude-sonnet-5-5 (all)
  • Effort: medium
  • Human role: assigned the task and its boundaries; review pending
  • Sources: none

Checklist

  • Works on Windows and macOS
  • web/src/generated with any contract change; docs/architecture.md with any rule change
  • No copied source, secrets, credentials or personal data; no AI attribution in commits, title or branch

@github-actions github-actions Bot added area: core crates/orbyn-core: runs, drivers, workspace, approvals, storage area: contracts crates/orbyn-contracts and web/src/generated area: docs docs and Markdown files labels Nov 12, 2026
@github-actions github-actions Bot added the area: service crates/orbynd: local service and CLI label Nov 12, 2026
@kinqsradio
kinqsradio merged commit 11195da into main Nov 12, 2026
73 of 76 checks passed
@kinqsradio
kinqsradio deleted the fix/background-crew-follow-ups branch November 12, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: contracts crates/orbyn-contracts and web/src/generated area: core crates/orbyn-core: runs, drivers, workspace, approvals, storage area: docs docs and Markdown files area: service crates/orbynd: local service and CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(crew): tighten background crew text, audit and state wording

1 participant