WIP: A simple cli for daily tangled use cases and AI integration. This is for my personal use right now, but happy if others get mileage from it! :)

Clarify context todo

markbennett.ca 71e9b487 5da4af3e

verified
+6 -5
+6 -5
TODO.md
··· 27 27 28 28 ## Context Engine (Git Integration) 29 29 30 - - [ ] Integrate `git-url-parse` to resolve Tangled DID/NSID from `.git/config` remote URLs. 31 30 - [ ] Develop a "Context Resolver" module to infer repository context (DID) from the current working directory. 32 - - [ ] Implement fallback mechanisms if no git remote is found or DID cannot be resolved (error handling). 33 - - [ ] Integrate `simple-git` for safe local git operations. 34 - - [ ] Implement logic to parse the DID from `ssh -T git@tangled.org` output (will be reused by `tangled ssh-key verify`). 35 - - [ ] Implement functionality to resolve a DID (e.g., `did:plc:b2mcbcamkwyznc5fkplwlxbf`) into a human-readable Bluesky handle (will be reused by `tangled ssh-key verify`). 31 + - [ ] Start by using the current Git repository context. 32 + - [ ] Integrate `git-url-parse` to resolve Tangled DID/NSID from `.git/config` remote URLs. Using `simple-git` if needed. 33 + - [ ] If multiple remotes exist, look for one at tangled.org, then prompt the user to select remote if ambiguity remains. 34 + - [ ] Fallback to prompting the user to add a remote for their Tangled repository if none are found. 35 + - [ ] Avoid creating a config file in V1; rely on Git remotes and CLI flags for context. 36 + - [ ] 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). 36 37 37 38 ## Issue Management 38 39