Implement adaptive capture scheduling and deduplication #73
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/local-recall!73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-20-adaptive-capture-rage"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #20.
Implements adaptive scheduling, change detection, perceptual deduplication, and bounded overload response through the repository RAGE/TDD workflow.
Implemented behavior
capture.cadence_secondsdrives the base interval through production composition;capture.change_thresholddrives deterministic 64-bit RGB8 perceptual dHash comparison;AdaptiveCaptureFlowbinds an already-authorizedApprovedCaptureRequestto scheduling, backend capture, generation validation, perceptual classification, and downstream admission;ACCEPTED / DROPPED / COALESCEDoutcomes feed bounded reversible cadence backoff, with no second queue or pressure metric;TDD evidence
Iteration 1 accepted RED:
2460ae320cc6efd52250fa1e7a04133cbb71b2a4, CI 407. Formatting/lint/shell passed; strict Pyright failed specifically because the adaptive controller/hash API did not exist.Iteration 1 exact green:
e60bb0599bac1f9d6f0ac89846b8f89b53101cdd, CI 410.Iteration 2 accepted RED:
1b824d044438a931d0d004418f1122765c0ddca8, CI 414. Formatting/lint/shell passed; strict Pyright failed specifically becauseAdaptiveCaptureFlow/AdaptiveCaptureOutcomedid not exist.Iteration 2 exact green:
855eab28d08051966b4701c613778fe480e12a46, CI 416.Iteration 3 rejected RED:
3d0dc9a6b55fdb6755dca9161f545a7cd9e80046, CI 419, because import sorting failed before behavior. Accepted RED:5cd6b724a446bd3fb4d3465b14715086ce8d7d6d, CI 420, where formatting/lint/shell passed and strict Pyright failed specifically becauseapply_submission_feedbackwas absent. Production headb41d643ca7a8cba2a041644421b525d25c525adepassed CI 421 completely.Iteration 4 accepted RED:
69599cede2f9b395858d82a8f6051df534a46308, CI 422. Formatting/lint/shell passed; strict Pyright failed specifically because the production capture-settings composition API and inspected controller configuration properties were absent. Production composition maps validatedCaptureSettingsinto the adaptive controller without adding a parallel configuration source.Full architecture/rejected-alternative/security reasoning remains in
rage/issue-20-adaptive-capture.org.Privacy and resource boundaries
Final gate
Current exact-head CI must be fully green on both Ubuntu matrices, the canonical
./scripts/checkjob, and failure-propagation before this draft is promoted or merged.