-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Improve context-store setup and cleanup UX #1137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
alfred-openspec
merged 3 commits into
main
from
codex/context-store-first-run-cleanup-ux
May 28, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
27 changes: 13 additions & 14 deletions
27
...e-and-initiatives/work-items/12-context-store-first-run-and-cleanup-ux/tasks.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,24 +1,23 @@ | ||
| # Context Store First-Run And Cleanup UX Tasks | ||
|
|
||
| - [ ] Decide exact no-argument `context-store setup` behavior for TTY, | ||
| - [x] Decide exact no-argument `context-store setup` behavior for TTY, | ||
| non-TTY, and `--json` invocations. | ||
| - [ ] Design the interactive setup prompts for store id, target path, and Git | ||
| - [x] Design the interactive setup prompts for store id, target path, and Git | ||
| initialization. | ||
| - [ ] Define target-path safety behavior for managed defaults, explicit paths, | ||
| - [x] Define target-path safety behavior for managed defaults, explicit paths, | ||
| paths inside existing Git repos, and non-empty directories. | ||
| - [ ] Implement the interactive setup flow without changing deterministic | ||
| - [x] Implement the interactive setup flow without changing deterministic | ||
| non-interactive behavior. | ||
| - [ ] Decide whether the cleanup surface is `unregister`, `remove`, or both. | ||
| - [ ] Define cleanup semantics for "forget local registration" versus "delete | ||
| - [x] Decide whether the cleanup surface is `unregister`, `remove`, or both. | ||
| - [x] Define cleanup semantics for "forget local registration" versus "delete | ||
| local files too". | ||
| - [ ] Implement local registry cleanup with explicit confirmation before file | ||
| - [x] Implement local registry cleanup with explicit confirmation before file | ||
| deletion. | ||
| - [ ] Add human and JSON output that reports store root, metadata path, registry | ||
| state, created files, and next commands. | ||
| - [ ] Add setup guidance for initialized Git stores that explains uncommitted | ||
| shared files without auto-staging, committing, pushing, or creating a | ||
| remote. | ||
| - [ ] Add focused tests for setup prompts, non-interactive failures, path | ||
| - [x] Add human output that stays small and JSON output that reports exact setup | ||
| and cleanup state without `next_commands`. | ||
| - [x] Keep Git initialization scoped to local `git init` with no auto-staging, | ||
| committing, pushing, remote creation, or team policy. | ||
| - [x] Add focused tests for setup prompts, non-interactive failures, path | ||
| safety, registry cleanup, and JSON output. | ||
| - [ ] Update beta docs and agent playbook references for first-run setup and | ||
| - [x] Update beta docs and agent playbook references for first-run setup and | ||
| cleanup. |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.