Thanks for your interest in improving the hawk-eco architecture visualization platform! This guide covers the conventions used in this repo.
- Fork the repo and create a feature branch off
main:git checkout -b feat/short-description
- Make your changes in small, focused commits.
- Run the local checks before pushing:
node --check server.js bash -n scripts/*.sh - Open a pull request. CI will re-run the same checks plus duplication detection.
hawk-graph/
├── server.js # Unified HTTP server (port 4000)
├── index.html # Single-page dashboard
├── repos/ # Tree + callflow HTMLs per repo (generated)
├── global/ # Global architecture D3 tree (generated)
├── scripts/ # Analysis + regeneration scripts
│ ├── serve.sh # Start GitNexus + dashboard
│ ├── extract-all.sh # Re-run Graphify on all repos
│ ├── analyze-all-gitnexus.sh # Re-run GitNexus
│ └── refresh-trees.sh # Regenerate all HTMLs
└── docs/ # Documentation
# Start the development server
./scripts/serve.sh
# Or manually:
gitnexus serve & # required for GitNexus features
node server.js # unified dashboard on port 4000
open http://localhost:4000The repos/ and global/ directories contain generated HTML files. To
regenerate them:
./scripts/extract-all.sh
./scripts/analyze-all-gitnexus.sh
./scripts/refresh-trees.shDo not hand-edit generated files in repos/ or global/. Regenerate
them with the scripts above instead.
We use Conventional Commits.
<type>(<optional scope>): <short summary>
<optional body>
Types:
feat:— a new featurefix:— a bug fixperf:— performance improvementrefactor:— code restructure with no behaviour changedocs:— documentation onlytest:— adding or fixing testsbuild:— build system or dependenciesci:— CI configurationchore:— anything elserevert:— reverts a previous commit
Before requesting review:
-
node --check server.jspasses locally. -
bash -n scripts/*.shpasses locally. - No hand-edited generated files in
repos/orglobal/. -
CHANGELOG.mdupdated if user-visible. - No secrets, API keys, or PII in code.
- Reviewers focus on correctness and design.
- Authors respond to every comment (resolved, addressed, or politely declined with rationale).
- Squash-merge by default; the PR title becomes the commit.
Open an issue using the bug-report template. Include reproduction steps, expected behaviour, and actual behaviour.
Do not open a public issue. See SECURITY.md for private reporting channels.
By contributing, you agree that your contributions will be licensed under the same license as this repo (see LICENSE).