Repository navigation
release: autter 3.1.0 — unconnected repos stay on this computer - #86
Merged
Merged
Conversation
In connected mode, data from a repository no org had connected was uploaded to the login org: notes, commit summaries with prompts, file-change counts and transcripts. A personal or client repo worked on from a work login showed up in the workplace dashboard. - route_for_repo decides per repo: upload to the org that connected it, keep it local (NotConnected), or retry later (Unavailable). It never falls back to the login org. - resolve-org works for device-code logins (bearer token), answers are cached for an hour, errors are never cached. - Transcripts carry repo_url in metadata and are routed per repo. - Unconnected or server-refused (repo_not_connected) records are parked for a day without counting as failed attempts. - autter sync status shows how many records are kept locally. Bumps the version to 3.1.0. Needs the matching Autter API change deployed first (resolve-org with a bearer token). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
In connected mode, data from a repo that no org had connected was uploaded to the login org: notes, commit summaries with prompts, file-change counts and transcripts. A personal or client repo worked on from a work login ended up in the workplace dashboard.
Changes
route_for_repo(src/api/client.rs) decides per repo: Upload to the org that connected it, NotConnected (keep the data local and check again daily), or Unavailable (retry on the normal schedule). It never falls back to the login org.repo_urlin their CAS metadata and are routed per repo (cas_bridge,flush_cas).repo_not_connected, for 24h without incrementingattempts.autter sync status(and--json→not_connected) shows how many records are kept on this computer.The API change has to be deployed first: Autter-dev/autter-monorepo#677. Without it, resolve-org with a bearer token returns 400, so device-login users' uploads would fail and be retried.
Not built or tested locally (no Rust toolchain on this machine, and no tests were added, as requested). CI is the first compile, and
cargo fmthasn't been run.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.