Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Commit dbfc9d5

Browse files
committed
Track runtime tasks with structured task packets
Replace the oversized packet model with the requested JSON-friendly packet shape and thread it through the in-memory task registry. Add the RunTaskPacket tool so callers can launch packet-backed tasks directly while preserving existing task creation flows. Constraint: The existing task system and tool surface had to keep TaskCreate behavior intact while adding packet-backed execution Rejected: Add a second parallel packet registry | would duplicate task lifecycle state Confidence: high Scope-risk: moderate Reversibility: clean Directive: Keep TaskPacket aligned with the tool schema and task registry serialization when extending the packet contract Tested: cargo build --workspace; cargo test --workspace Not-tested: live end-to-end invocation of RunTaskPacket through an interactive CLI session
1 parent 340d4e2 commit dbfc9d5

4 files changed

Lines changed: 204 additions & 494 deletions

File tree

rust/crates/runtime/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ pub use stale_branch::{
135135
StaleBranchPolicy,
136136
};
137137
pub use task_packet::{
138-
validate_packet, AcceptanceTest, BranchPolicy, CommitPolicy, RepoConfig, ReportingContract,
139-
TaskPacket, TaskPacketValidationError, TaskScope, ValidatedPacket,
138+
validate_packet, TaskPacket, TaskPacketValidationError, ValidatedPacket,
140139
};
141140
pub use trust_resolver::{TrustConfig, TrustDecision, TrustEvent, TrustPolicy, TrustResolver};
142141
pub use usage::{

0 commit comments

Comments
 (0)