Implement explicit model routing and remote egress authority #75
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!75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-23-model-routing-egress"
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 #23.
Summary
Implements explicit model routing and remote-provider egress without weakening Local Recall's local-first privacy boundary.
local-only,local-first,remote-explicit, andprivacy-strictrouting policies;EgressAuthorizationbefore any remote route;docs/remote-providers.md.Privacy and security invariants
local-onlyandprivacy-strictnever select remote.local-firstdoes not fall back to remote when local inference fails.remote-explicitrequires exact provider and data-class authorization.redacted-imageauthorization.ApprovedEgressPayloadcrosses into remote-provider builders; current provider encoders deliberately accept approved redacted text only.TDD / RAGE evidence
The complete immutable RAGE record is in
rage/issue-23-model-routing-egress.org.Accepted REDs include:
406a8c1833ef2ef4a756b26719b21a8c81af6a49/ CI #432: formatting, Ruff, ShellCheck, and strict Pyright passed, then unit collection failed specifically becauselocal_recall.routingdid not exist;e7c3bb1e8d95bcf7e1f43d9596539b5c8b66d257/ CI #435: hygiene/type gates passed, then unit collection failed specifically on missing egress types;1321b4a7adb806bcbb39a39736efd6c8ec71719e/ CI #484: formatting, Ruff, ShellCheck, strict Pyright, and failure-propagation passed, then unit collection failed specifically becauseRemoteProviderAuditAdapterdid not exist.Formatting/lint/type failures encountered while constructing these tests are explicitly recorded as rejected RED evidence rather than counted as behavioral TDD proof.
Verification
Implementation head
3143ff859c5eec08b2733902c790a8f80b2ff7d5passed CI #487 completely:./scripts/check: green;The final RAGE ledger and green-test import cleanup are committed after that implementation gate and require the same exact-head CI gate before merge.
Acceptance mapping
EgressGate+ApprovedEgressPayloadboundary;RemoteProviderAuditAdapterand client correlation tests;docs/remote-providers.md.Nix scope
This issue changes no Nix inputs, packages, or flake outputs. The repository flake remains development-shell-only; the applicable issue merge gates are the canonical repository gate, supported Ubuntu matrices, security scans, and failure-propagation on the exact final head.