Replies: 1 comment
-
|
Hi @locus0002, great setup for handling a large codebase. Here are direct solutions for your multi-folder Graphify architecture:
Command: Run graphify wiki graphify-out/AllFolders to target the main directory directly. Scope: Generate this only for AllFolders. Creating individual wikis for type-scoped folders causes massive token redundancy and splits up your navigation index.
Is it worth it? Yes, but only for onboarding or high-level architecture reviews. For daily context-building, reading the GRAPH_REPORT.md files is much more token-efficient. Update Frequency: Do not regenerate the wiki after every graphify update. Only rebuild it during major release milestones or when a new core module is introduced.
Local Workflow: Developers should only run graphify update graphify-out/AllFolders after local code changes. Updating every single type-scoped folder manually during a dev session is too slow and inefficient. Automation Solution: Offload the type-scoped graph updates (Actors/, Ai/, etc.) to a GitHub Action / CI pipeline triggered nightly or on merges to the main branch. This keeps the scoped reports fresh without slowing down individual workflows. Your hook injection in settings.json is a smart touch for managing the token economy. Hope this helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a large project where the graphify output was split into type-based folders, with the main graph generated in an
AllFoldersfolder:I modified
CLAUDE.mdandsettings.jsonas follows:CLAUDE.md
settings.json
Questions
How do you generate the wiki after all graphs have already been created? Does it need to be generated per folder, or only for
AllFolders?Wiki cost and maintenance — since the wiki appears to be generated by Claude (consuming tokens), is it worth maintaining for a large project? How and when should it be updated, and does it need to be regenerated after every
graphify update?Graph update scope — in a large project like this, should only the
AllFoldersgraph be updated after code changes, or should the type-scoped folder graphs also be kept in sync?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions