···27272828## Context Engine (Git Integration)
29293030-- [ ] Develop a "Context Resolver" module to infer repository context (DID) from the current working directory.
3131- - [ ] Start by using the current Git repository context.
3232- - [ ] Integrate `git-url-parse` to resolve Tangled DID/NSID from `.git/config` remote URLs. Using `simple-git` if needed.
3333- - [ ] If multiple remotes exist, look for one at tangled.org, then prompt the user to select remote if ambiguity remains.
3434- - [ ] Fallback to prompting the user to add a remote for their Tangled repository if none are found.
3535- - [ ] Avoid creating a config file in V1; rely on Git remotes and CLI flags for context.
3636- - [ ] If a config is needed remember that the precedence order should be: CLI flags > local config > home folder config. Users may prefer different settings per repo (such as unique remote names, etc).
3030+- [x] Develop a "Context Resolver" module to infer repository context (DID) from the current working directory.
3131+ - [x] Start by using the current Git repository context.
3232+ - [x] Integrate `git-url-parse` to resolve Tangled DID/NSID from `.git/config` remote URLs. Using `simple-git` if needed.
3333+ - [x] If multiple remotes exist, look for one at tangled.org, then prompt the user to select remote if ambiguity remains.
3434+ - [x] Fallback to prompting the user to add a remote for their Tangled repository if none are found.
3535+ - [x] Avoid creating a config file in V1; rely on Git remotes and CLI flags for context.
3636+ - [x] If a config is needed remember that the precedence order should be: CLI flags > local config > home folder config. Users may prefer different settings per repo (such as unique remote names, etc).
37373838## Issue Management
3939···4141- [ ] Implement `tangled issue list [--json "id,title"]` command.
4242 - [ ] Support `--json` output with field filtering.
4343- [ ] Migrate this TODO list into Tangled issues once issue creation is implemented. (note defects and address blocking features as needed).
4444-4545-## Repository Management
4646-4747-- [ ] Implement `tangled repo create <repo-name>` command.
4848-- [ ] Implement `tangled repo view` command (display repo details).
4949- - [ ] Support `--json` output with field filtering (e.g., `--json name,cloneUrl,description`) using `lodash/pick`).
4444+ - [ ] Create phases in this todo list, and then use `- [ ]` tasks in the issue descriptions.
4545+ - [ ] Remove TODO.md once all tasks are migrated to issues.
50465147## Pull Request Management
5248···6359- [ ] Implement `tangled pr view <id> [--json <fields>]` command to display detailed information about a specific pull request.
6460 - [ ] Use `com.atproto.repo.getRecord` for the `sh.tangled.repo.pull` record.
6561 - [ ] Fetch associated comments using `com.atproto.repo.listRecords` with `collection: "sh.tangled.repo.pull.comment"`.
6262+ - [ ] Dogfood the CLI by using it to create a pull request for these changes, and then view the created PR to ensure all data is correctly stored and retrieved.
66636764### Phase 2: Working as a Reviewer (Commenting)
6865···7572### Phase 3: Responding to a Review (Author Workflow)
76737774- [ ] This phase primarily involves local Git operations (pushing new commits) and using `tangled pr comment` for clarifications, which are covered by existing or planned commands.
7575+7676+## Repository Management
7777+7878+- [ ] Implement `tangled repo create <repo-name>` command.
7979+- [ ] Implement `tangled repo view` command (display repo details).
8080+ - [ ] Support `--json` output with field filtering (e.g., `--json name,cloneUrl,description`) using `lodash/pick`).
78817982## SSH Key Upload & Management (Phase 4)
8083