Skip to content

fix(cli,blast): accept ea_ key prefix + exclude .claude/ from graph scan#99

Open
stackbilt-admin wants to merge 1 commit intomainfrom
fix/blast-worktrees-and-ea-prefix
Open

fix(cli,blast): accept ea_ key prefix + exclude .claude/ from graph scan#99
stackbilt-admin wants to merge 1 commit intomainfrom
fix/blast-worktrees-and-ea-prefix

Conversation

@stackbilt-admin
Copy link
Copy Markdown
Member

Summary

  • charter login: Accept `ea_` prefix alongside `sb_live_`/`sb_test_`. Runtime already accepts edge-auth keys; the CLI validator was stale. Same class as mcp-gateway#28.
  • @stackbilt/blast: Add `.claude` to `DEFAULT_IGNORE_DIRS`. Claude Code worktrees under `.claude/worktrees/agent-*/` are bit-identical copies of canonical source and pollute `hotFiles` with ghost duplicates.

Test plan

  • `charter login --key ea_RqB-yrk8...` succeeds (smoke-tested with live engine)
  • `charter blast --format json` no longer shows duplicate `.claude/worktrees/...` entries in hotFiles on a repo with active worktrees
  • Existing `sb_live_`/`sb_test_` keys still work

Closes #98
Closes #94

🤖 Generated with Claude Code

- login.ts: add ea_ to VALID_PREFIXES alongside sb_live_/sb_test_. Keys
  minted by edge-auth use ea_ (edge-auth is the SoT for ecosystem auth).
  Runtime already accepts ea_ — only the login validator was stale.
- blast/index.ts: add .claude to DEFAULT_IGNORE_DIRS. Claude Code
  worktrees live under .claude/worktrees/agent-*/ and are bit-identical
  copies of the canonical tree; they pollute hotFiles with ghost
  duplicates and inflate fileCount.

Closes #98, #94.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

cli: login rejects ea_* prefix — same staleness as gateway#28 blast: exclude .claude/worktrees/ from graph scanning (Claude Code ghost paths)

1 participant