52 lines
1.2 KiB
Markdown
52 lines
1.2 KiB
Markdown
# Graphify for Codex in `NDC_1C`
|
|
|
|
This repository now has project-level setup for `graphify` (knowledge graph workflow for Codex).
|
|
|
|
## What was added
|
|
|
|
- `AGENTS.md` with graph-first Codex rules.
|
|
- `.graphifyignore` tuned for this repository.
|
|
- `.gitignore` rules for graphify temporary/build outputs.
|
|
- `scripts/setup_graphify_codex.ps1` bootstrap script.
|
|
|
|
## One-command setup (Windows)
|
|
|
|
```powershell
|
|
powershell -ExecutionPolicy Bypass -File .\scripts\setup_graphify_codex.ps1
|
|
```
|
|
|
|
Options:
|
|
|
|
```powershell
|
|
# do not reinstall pip package
|
|
powershell -ExecutionPolicy Bypass -File .\scripts\setup_graphify_codex.ps1 -SkipPipInstall
|
|
|
|
# also install graphify git hooks (post-commit/post-checkout)
|
|
powershell -ExecutionPolicy Bypass -File .\scripts\setup_graphify_codex.ps1 -InstallGitHooks
|
|
```
|
|
|
|
## Codex usage
|
|
|
|
In Codex chat (skill trigger uses `$`):
|
|
|
|
```text
|
|
$graphify .
|
|
$graphify . --update
|
|
$graphify query "what connects routing to runtime?"
|
|
```
|
|
|
|
Main outputs are created in `graphify-out/`:
|
|
|
|
- `graphify-out/graph.json`
|
|
- `graphify-out/GRAPH_REPORT.md`
|
|
- `graphify-out/graph.html`
|
|
|
|
## Important Codex config
|
|
|
|
For parallel semantic extraction, make sure `~/.codex/config.toml` contains:
|
|
|
|
```toml
|
|
[features]
|
|
multi_agent = true
|
|
```
|