Skip to content

Create a missing project on remember when the token opts in - #73

Merged
hmbanan666 merged 1 commit into
mainfrom
feat/remember-auto-project
Nov 21, 2026
Merged

hmbanan666 merged 1 commit into
mainfrom
feat/remember-auto-project

Conversation

@hmbanan666

Copy link
Copy Markdown
Owner

Summary

  • MCP remember creates a missing project when the caller is local no-auth owner mode, or an area CLI token created with --create-projects that can write the target area. The id is the given id, the name is optional projectName or the id, and the home area is the area of that write. The result sets projectCreated.
  • The capability defaults to off, is stored on the credential, and token list shows createProjects. It cannot be combined with --project. OAuth tokens, project-bound tokens, read-only tokens, and area tokens without the flag still reject an unknown id. Invalid ids create nothing. Two concurrent remembers with the same new id create one project.
  • context token --help and -h print token usage. A token name that starts with - is rejected, so token create --help no longer creates a token.
  • ADR 0019 amends ADR 0010 and ADR 0017. No new MCP tool.

Tests

pnpm run check passed: lint, typecheck, and 296 tests.

Friction

none

Open in Web Open in Cursor 

An area CLI token with --create-projects, and local no-auth mode, can
create a project on the first remember. OAuth and other tokens still
reject an unknown id. Token --help prints usage instead of creating a
token named --help.

Co-authored-by: Nick Kosarev <nick@kosarev.space>
@hmbanan666
hmbanan666 merged commit 5796292 into main Nov 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants