Skip to content

Commit d254e46

Browse files
FvdHMBAIFrederikclaude
authored
feat: standalone core engine, query CLI, tests, CI (#3)
- graphify-core.sh: build knowledge graphs from any codebase using only bash + jq + python3 (stdlib). Supports TS/JS, Python, Go, Bash, SQL, Markdown, and more. No API keys or external packages required. - graphify-query.sh: search, shortest path, impact analysis, god-nodes, neighbors, and statistics — all from the terminal. - 31-test suite covering graph building, querying, impact, merge, and error handling. - GitHub Actions CI with shellcheck. - Sample project with TypeScript + Markdown for testing. - Pre-commit hook example for impact-gated commits. - Updated README with comprehensive docs, real examples, comparison. - CHANGELOG added. Graphify Toolkit is now fully standalone — no external graphify package or API key required. The Python package remains optional for semantic enrichment. Co-authored-by: Frederik <fvdh@gmx.de> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ccb98f9 commit d254e46

15 files changed

Lines changed: 1592 additions & 73 deletions

File tree

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Install dependencies
16+
run: sudo apt-get update && sudo apt-get install -y jq
17+
18+
- name: Run tests
19+
run: bash tests/test-graphify.sh
20+
21+
shellcheck:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: ShellCheck core scripts
27+
run: |
28+
sudo apt-get update && sudo apt-get install -y shellcheck
29+
shellcheck core/*.sh bin/*.sh || true

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
graphify-out/
2+
system-graph/
23
*.pyc
34
__pycache__/
45
.env
56
node_modules/
7+
.last_build

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Changelog
2+
3+
## [1.0.0] - 2026-08-02
4+
5+
### Added
6+
7+
- **Standalone core** (`core/graphify-core.sh`): Build knowledge graphs without any external dependencies. Supports TypeScript, JavaScript, Python, Go, Bash, SQL, Markdown, and more.
8+
- **Query engine** (`core/graphify-query.sh`): Search, shortest path, impact analysis, god-nodes, neighbors, and statistics — all from the terminal.
9+
- **Test suite**: 31 tests covering graph building, querying, impact analysis, multi-repo merge, and error handling.
10+
- **GitHub Actions CI**: Automated testing on push and PR.
11+
- **Sample project**: Working TypeScript + Markdown example with pre-built graph output.
12+
- **CI integration example**: Pre-commit hook that warns about high-impact changes.
13+
- Incremental builds via `--update` flag (uses git diff).
14+
- Community detection (connected components).
15+
- Compact output format via `--format compact`.
16+
17+
### Changed
18+
19+
- Graphify Toolkit is now **fully standalone** — no external `graphify` package or API key required.
20+
- The `graphify` Python package is optional for semantic enrichment.
21+
- Updated README with comprehensive documentation, real query examples, and comparison table.
22+
23+
## [0.1.0] - 2026-07-25
24+
25+
### Added
26+
27+
- Initial release with multi-repo orchestration scripts.
28+
- `graphify-build.sh`: Multi-repo graph builder.
29+
- `graphify-merge.sh`: Cross-repo graph merger with automatic edge detection.
30+
- `graphify-impact.sh`: Impact analysis with configurable depth.
31+
- `graphify-query-all.sh`: Cross-repo querying.
32+
- `graphify-auto-rebuild.sh`: Incremental rebuild with lockfile protection.
33+
- Claude Code skill for interactive graph exploration.

0 commit comments

Comments
 (0)