Droids: Refactor sessions to use explicit repository associations#951
Droids: Refactor sessions to use explicit repository associations#951Connoropolous wants to merge 19 commits intomainfrom
Conversation
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Capture the audit-artifact validation outputs so the milestone assertion state can rely on committed user-testing guidance and reports. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Migrate legacy repo-keyed session state into session-keyed repository associations so multi-repo context survives restores without relying on repo buckets or singular issue caches. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Use the global session registry as the authoritative runtime session store so restore, stop, and issue-scoped recovery flow from explicit repository associations instead of repo-owned buckets. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Keep repository selection stable after ambiguous routing prompts by sharing CLI issue/session state, tolerating wrapped repository names, and falling back cleanly when optional local prompt files are missing. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Guided tour of the changesHere is a simple path through the PR, ordered from the highest-level intent down to the runtime details. 1. Start with the audit / mapIf you want the "what problem were we fixing?" view first, start here:
What you'll see:
2. Then look at the core session modelThis is where the data model changes from implicit repo ownership to explicit associations.
What changed:
3. Then look at runtime routing and lifecycleThis is where the app stops silently picking a repository when routing is unclear.
What to look for:
4. Then look at prompt / orchestrator wordingThis is where the session-wide "current repository" language was removed.
What changed:
5. Then look at the CLI / F1 multi-repo flowThis is the easiest place to see the end-to-end behavior change.
What changed:
6. Finally, look at the public docsThese are the easiest files to skim if you want the final mental model without reading the implementation first.
What changed:
If you only want to read 5 filesIf you're short on time, I'd recommend this exact order:
Quick reviewer cheat-sheet
If it helps, I can also leave a second comment that is just a reviewer checklist ("what to verify in each file") without any narrative. |
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Summary
Validation
Notes