Skip to content

chore: wire Understand-Anything codebase graph into team workflow#1401

Merged
eskp merged 2 commits into
stagingfrom
worktree-chore+understand-anything-setup
May 29, 2026
Merged

chore: wire Understand-Anything codebase graph into team workflow#1401
eskp merged 2 commits into
stagingfrom
worktree-chore+understand-anything-setup

Conversation

@eskp
Copy link
Copy Markdown

@eskp eskp commented May 28, 2026

Summary

  • Ship initial Understand-Anything knowledge graph (145 files indexed) so teammates can open the dashboard without re-running a full index on first use.
  • Disable the auto-update post-commit hook in config.json to keep PR diffs clean. Refresh is on a manual cadence: weekly incremental /understand, full /understand --full after wide-blast-radius refactors.
  • Add orientation pointers to /add-protocol, /fix-issue, and /develop-plugin so research subagents are dispatched only for what the graph can't answer cheaply.
  • Enable the plugin in .claude/settings.json so teammates who install it locally see it auto-enabled.
  • Document install + usage in README.md (brief) and CLAUDE.md (deeper guidance + known caveats).

How to use after this lands

In Claude Code at the repo root:

/plugin marketplace add Lum1104/Understand-Anything
/plugin install understand-anything

Restart Claude Code, then:

  • /understand-dashboard — interactive force-directed graph at http://127.0.0.1:5173
  • /understand-chat <question> — Q&A over the graph
  • /understand-diff — impact analysis of uncommitted changes
  • /understand-onboard — guided tour for new contributors
  • /understand --full — full re-index after a large refactor

Gitignore strategy

  • Committed: knowledge-graph.json, config.json, .understandignore (shared team settings).
  • Ignored: meta.json (timestamp churn), fingerprints.json (per-machine incremental cache), intermediate/, diff-overlay.json.

Test plan

  • Pull this branch, run /plugin marketplace add Lum1104/Understand-Anything + /plugin install understand-anything, restart, confirm plugin loads.
  • /understand-dashboard opens and renders the committed graph (no re-index needed).
  • /understand-chat "where does X live?" returns sensible answers against plugins/, lib/, and app/api/.
  • /understand --full from a clean checkout produces only the expected diff to knowledge-graph.json; no meta.json / fingerprints.json show up in git status.
  • tsconfig @/* aliases are picked up as edges in the graph (known upstream bug — verify after first run; see CLAUDE.md gotchas).

Known caveats (called out in CLAUDE.md)

eskp added 2 commits May 26, 2026 12:16
Add CLAUDE.md guidance for the Understand-Anything Claude Code plugin
(install, daily usage, refresh process, repo-specific gotchas) and
gitignore the scratch + dashboard local-diff outputs while keeping
knowledge-graph.json committed so the dashboard works for the next
developer without re-running a full index.
- Ship initial knowledge graph (.understand-anything/knowledge-graph.json,
  356K, 145 files indexed) so teammates can open /understand-dashboard
  without a full re-index on first use.
- Gitignore meta.json (timestamp churn) and fingerprints.json (per-machine
  incremental cache) to keep PR diffs clean. Commit config.json and
  .understandignore as shared team settings.
- Disable autoUpdate post-commit hook in config.json — it would otherwise
  modify the graph on every commit and pollute feature-PR diffs. Refresh
  cadence (weekly + after big refactors) documented in CLAUDE.md.
- Add orientation pointers to /add-protocol, /fix-issue, and
  /develop-plugin: spend cheap graph-lookups before dispatching research
  subagents.
- Enable the plugin in .claude/settings.json so teammates with the plugin
  installed see it auto-enabled.
- Document install + usage in README.md (brief; CLAUDE.md has the
  deeper guidance).
@eskp eskp merged commit 899be3a into staging May 29, 2026
31 checks passed
@eskp eskp deleted the worktree-chore+understand-anything-setup branch May 29, 2026 00:31
@github-actions
Copy link
Copy Markdown

🧹 PR Environment Cleaned Up

The PR environment has been successfully deleted.

Deleted Resources:

  • Namespace: pr-1401
  • All Helm releases (Keeperhub, Scheduler, Event services)
  • PostgreSQL Database (including data)
  • LocalStack, Redis
  • All associated secrets and configs

All resources have been cleaned up and will no longer incur costs.

@github-actions
Copy link
Copy Markdown

ℹ️ No PR Environment to Clean Up

No PR environment was found for this PR. This is expected if:

  • The PR never had the deploy-pr-environment label
  • The environment was already cleaned up
  • The deployment never completed successfully

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.

1 participant