Repository navigation
feat(crew): store background crews and their runs on this device - #525
Merged
Merged
Conversation
Background crews and their runs are kept in the data folder (schema 41), not in a repository file. A crew has a template, a trigger with strict settings, a run budget fixed at creation and an on/off switch. A run that reaches its budget stops with the reason budget and waits for review. Routes under /api/crew/background list, read, create, update, turn on or off and delete a crew and read its runs; every change is audited in the same transaction. No trigger fires and no engine starts.
1 of 7 tasks
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
.orbyn/crew.json(rule 4).budgetand queues it for review. No merge authority./api/crew/background: list, read, runs; create, update, enable, disable, delete. Preview-gated, local only for writes, listed in the N1 marker. Every change writes an audit row in the same transaction.Closes #
none (no issue)
Parity rows
none
Frames built
Frames built: none
Testing
-D warnings,check_rust_arch.py, orbyn-core store and crew tests, orbynd route tests over real HTTP, generated bindings committed.Co-authors
none
AI usage
Checklist
web/src/generatedwith any contract change;docs/architecture.mdwith any rule change