feat: add git-managed PAI context and session sync#5
Conversation
Add scoped PAI root resolution, context injection, session export/import, and sync tools without coupling them to auto-onboarding scaffolding.
|
I want you to perform the gatekeeper checks for latest PR state check for regressions |
Merges tuple plugin options with input config/options using explicit input precedence and aligns PAI tool docs and schemas with optional argument behavior.
|
Request understood: I reviewed the latest PR state as a gatekeeper for regressions, implementation quality, and better alternatives. Assumption: this was a review-only request, not a request to patch the PR. Gatekeeper Result: Changes RequestedFindings
Verification
Merge RecommendationDo not merge yet. The implementation is close, but the workspace identity bug is a core portability regression, and raw session export into a Git-backed memory repo is too risky for the stated feature goals. -- |
Use stable Git-derived workspace IDs with an explicit override, default session export to native sanitized output, and require Git-backed PAI roots before mutating durable session state. Update docs, tests, and CodeMaps so the PR behavior and validation evidence are truthful.
|
@CodeNomadBot |
|
Request understood: I reran the same gatekeeper review against the latest PR state. Assumption: this was a review-only request, not a request to patch the branch. Gatekeeper Result: No Blocking FindingsThe two follow-up commits materially address the prior blockers:
Review NotesI did not find a current regression severe enough to block merge. The implementation is still somewhat large inside One non-blocking caution: Verification
Merge RecommendationMergeable from this gatekeeper pass. -- |
Summary
Why
Long-term AI memory should be portable, auditable, and mergeable through Git rather than hidden inside the project worktree or a custom merge format. Session export/import belongs with this PR because sessions are part of the same portability story: sync the PAI repo, then import/export OpenCode sessions through native OpenCode commands.
Review notes
dev.Verification
npm test— PASS, 20 tests.