mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-21 23:51:12 +00:00
1f634c2604
ci/woodpecker/push/02-build-push Pipeline failed
- Modified the autodev state to reflect the current testing phase and details of the new `jetson-e2e` tests. - Enhanced the "How to Test" documentation to provide clearer instructions on the demo replay validation process, including video and tlog alignment steps. - Updated architectural documentation to include the new demo replay operator flow and its dependencies. - Documented the removal of deprecated auto-sync features and clarified the operator-facing UI for replay validation. - Added new entries in the dependencies table for upcoming tasks related to the demo replay flow. These changes improve clarity and usability for operators and developers working with the demo replay system.
1.3 KiB
1.3 KiB
Batching Algorithm Reference
Topological Sort with Batch Grouping
The /implement skill uses a topological sort to determine execution order,
then groups tasks into batches for code review and commit. Execution within a
batch is sequential — see .cursor/rules/no-subagents.mdc.
Algorithm
- Build adjacency list from
_dependencies_table.md - Compute in-degree for each task node
- Initialize the ready set with all nodes that have in-degree 0
- For each batch: a. Select up to 4 tasks from the ready set (default batch size cap) b. Implement the selected tasks one at a time in topological order c. When all tasks in the batch complete, remove them from the graph and decrement in-degrees of dependents d. Add newly zero-in-degree nodes to the ready set
- Repeat until the graph is empty
Ordering Inside a Batch
Tasks inside a batch are executed in topological order — a task is only started after every task it depends on (inside the batch or in a previous batch) is done. When two tasks have the same topological rank, prefer the lower-numbered (more foundational) task first.
Complexity Budget
Each batch should not exceed 20 total complexity points. If it does, split the batch and let the user choose which tasks to include. The budget exists to keep the per-batch code review scope reviewable.