Governed software delivery framework: ADR → REQ → ROADMAP → kanban
Project description
trackfw
Governed software delivery — ADR → REQ → ROADMAP → backlog / wip / done
trackfw is an open-source CLI that enforces a traceable chain from architectural decision to shipped code — without SaaS, accounts, or databases. Markdown files are state.
ADR → REQ → ROADMAP → backlog / wip / blocked / done / abandoned
Every piece of work traces back to a decision. Every decision links to a requirement. Every requirement lands in a roadmap. No orphan work, no undocumented choices.
The problem
Most teams accumulate technical debt not because they lack tools, but because they lack governance traceability. Decisions are made in Slack. Requirements live in someone's head. Roadmaps drift from what was actually shipped.
- ADR tools manage decision records, but don't connect them to delivery.
- Kanban tools track tasks, but don't enforce that tasks are backed by a decision.
- CI tools validate code, but don't validate governance.
trackfw closes the loop — connective tissue between why, what, and when.
Demo
$ trackfw req new "Login screen"
? Describe what you want to build Login screen for the application
? Motivation Users need to authenticate to access the system
Detected domains: authentication, ui
? How will users authenticate?
> Local login (email + password)
SSO (Google, Azure AD, Okta...)
Not decided yet ← generates ADR draft
? Is there an existing UI framework or design system?
Yes, already chosen
> No, need to choose a UI framework ← generates ADR draft
ADR drafts created:
→ ADR-2026-06-12-authentication-strategy.md
→ ADR-2026-06-12-ui-framework.md
Resolve these ADRs (set Status: Accepted) before creating a roadmap.
created docs/req/REQ-2026-06-12-login-screen.md
Installation
macOS / Linux — curl
curl -sSfL https://github.com/kgsaran/trackfw/releases/latest/download/install.sh | sh
Homebrew
brew install kgsaran/tap/trackfw
Go
go install github.com/kgsaran/trackfw/cmd/trackfw@latest
npm
npm install -g trackfw
pip
pip install trackfw
Quick start
# 1. Set up governance in your project (interactive wizard)
trackfw init
# 2. Document an architectural decision
trackfw adr new "Use PostgreSQL as primary database"
# 3. Create a requirement — wizard detects domains and proposes ADR drafts
trackfw req new "User authentication"
# 4. Once ADRs are accepted, plan the work
trackfw roadmap new "Auth service"
# 5. Check governance health
trackfw validate
# 6. See what is in flight
trackfw status
Commands
| Command | Description |
|---|---|
trackfw init |
Interactive wizard — scaffolds governance + AI integrations |
trackfw adr new "title" |
Create a new Architecture Decision Record |
trackfw adr list |
List all ADRs with status |
trackfw req new "title" |
Create a REQ with guided ADR discovery |
trackfw req list |
List all REQs with status |
trackfw roadmap new "title" |
Create a roadmap in backlog/ |
trackfw roadmap move <name> <state> |
Move roadmap between states |
trackfw roadmap list |
List all roadmaps grouped by state |
trackfw validate |
Check governance consistency (use as CI gate) |
trackfw status |
Show wip, blocked, REQs waiting on ADRs |
trackfw agents |
Install Claude Code subagents |
trackfw gemini |
Install Gemini CLI skills and commands |
trackfw cursor |
Install Cursor rules |
trackfw copilot |
Install GitHub Copilot instructions |
trackfw windsurf |
Install Windsurf rules and workflows |
trackfw amazonq |
Install Amazon Q Developer rules |
trackfw version |
Print version |
Governance chain
| Layer | Artifact | Purpose |
|---|---|---|
| Decide | ADR |
Document the why behind a technical decision |
| Specify | REQ |
Define what needs to be delivered, linked to an ADR |
| Plan | ROADMAP |
Break the requirement into microbatches with acceptance criteria |
| Execute | backlog → wip → done |
Folder position is the source of truth |
Roadmap states
docs/roadmaps/
├── backlog/ queued, not started
├── wip/ actively being worked on (one at a time)
├── blocked/ waiting on a dependency or decision
├── done/ completed and validated
└── abandoned/ discontinued — reason required in file
Moving a file between folders is the state transition. No database, no API.
REQ-driven ADR discovery
When you run trackfw req new, the wizard analyzes your intent and asks targeted questions for each detected domain — authentication, UI, persistence, API, deploy, events. Unanswered architectural decisions become ADR drafts automatically.
trackfw req new "checkout flow with payment integration"
Detected domains: persistence, api, events
Questions asked:
- Which database engine will be used? → Not decided yet →
ADR: database-engine (Draft) - Which API protocol will be used? → REST (already decided) → no ADR
- Which event broker will be used? → Not decided yet →
ADR: event-broker (Draft)
The REQ is linked to its blocking ADRs. trackfw validate enforces that no roadmap is created until every linked ADR reaches Accepted status.
This is the difference between experienced architects (who know which decisions to make) and everyone else — trackfw brings the architectural checklist to the requirement.
trackfw validate — governance gate
$ trackfw validate
✗ REQ-2026-06-12-login-screen.md is blocked by Draft ADR: ADR-authentication-strategy.md
✗ roadmap/wip/auth-service.md has no linked REQ
⚠ 2 roadmaps in wip/ (recommended: 1)
2 violation(s) found
Designed to run as a pre-commit hook and a CI quality gate. trackfw init wires both automatically for your stack.
trackfw status — current state at a glance
$ trackfw status
── trackfw status ──────────────────────
🔄 WIP (1)
roadmap-auth-service.md
❌ Blocked (0)
⏳ REQs blocked by Draft ADRs (1)
REQ-2026-06-12-login-screen.md
→ ADR-2026-06-12-authentication-strategy.md (Draft)
✅ Done (last 5)
roadmap-user-profile.md
roadmap-db-setup.md
AI assistant integration
trackfw init asks which AI tools your team uses and installs native governance context for each. Commands can also be run independently.
| Command | Installs | Format |
|---|---|---|
trackfw agents |
10 subagents in ~/.claude/agents/ |
Claude Code .md with frontmatter |
trackfw gemini |
GEMINI.md + 10 skills + 3 commands | ~/.gemini/ + project root |
trackfw cursor |
10 rules in .cursor/rules/ |
.mdc with YAML frontmatter |
trackfw copilot |
copilot-instructions.md + 10 instructions + 10 prompts |
.github/ |
trackfw windsurf |
10 rules + workflows in .windsurf/ + global rules |
Appends to ~/.codeium/windsurf/memories/ |
trackfw amazonq |
10 rules in .amazonq/rules/ |
Plain Markdown |
Each installer is idempotent — running it twice never overwrites your customizations.
The 10 roles installed for each tool: architect · backend · frontend · qa · infra · security · code-quality · dba · ux · data
trackfw init — stack-aware scaffolding
? Project type? Full-stack / Frontend / Backend / Governance only
? Frontend stack? React / Vue / Angular
? Backend stack? Go / Java / Node / Python
? Package manager? npm / pnpm / yarn / bun
? Git hooks? husky / lefthook / none
? CI system? GitHub Actions / GitLab CI / none
? Which AI assistants? Claude Code / Gemini CLI / Cursor / Copilot / Windsurf / Amazon Q
The governance structure (docs/adr/, docs/req/, docs/roadmaps/) is always identical — stack-agnostic. The generated hooks, workflows, and AI integrations adapt to your answers.
Design principles
- Files are state — folder position is the source of truth. No database, no lock-in.
- Traceability is mandatory —
validateis a gate, not a suggestion. - Framework-agnostic, integration-aware — governance never changes; generated artifacts adapt to your stack.
- One active roadmap at a time — parallel work without traceability is the root of most delivery chaos.
- Human-readable, machine-parseable — every artifact is a Markdown file with a predictable structure.
- Guided, not prescriptive — the wizard surfaces decisions you might not know to ask; it never blocks work unnecessarily.
What trackfw is not
- Not a project management SaaS — no UI, no accounts, no cloud sync
- Not a replacement for Git history — it complements, not duplicates
- Not a task tracker — use GitHub Issues, Linear, or Jira for tasks; trackfw governs the why
- Not opinionated about how you write code — only about how you document decisions
Contributing
git clone https://github.com/kgsaran/trackfw
cd trackfw
make build # compiles to bin/trackfw
make test # go test ./...
make lint # go vet ./...
Generators are the stack-specific components — you can add support for a new stack without touching core logic. See internal/generators/ for examples.
Issues and pull requests welcome at github.com/kgsaran/trackfw.
License
MIT — see LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trackfw-1.0.2.tar.gz.
File metadata
- Download URL: trackfw-1.0.2.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6e16a8321ca1454227dcbd25ca1499ebe6358d123e17ad72f3490c9b6dd4962
|
|
| MD5 |
0cbf4690887627d452c10c47023f2180
|
|
| BLAKE2b-256 |
17d90c77d750ec2b66d8849d9ca8e8e72876546d416cb13acfcd6189da27f704
|
Provenance
The following attestation bundles were made for trackfw-1.0.2.tar.gz:
Publisher:
release.yml on kgsaran/trackfw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trackfw-1.0.2.tar.gz -
Subject digest:
f6e16a8321ca1454227dcbd25ca1499ebe6358d123e17ad72f3490c9b6dd4962 - Sigstore transparency entry: 1805011589
- Sigstore integration time:
-
Permalink:
kgsaran/trackfw@b62b2856241b06767f8f91e6b53fe27e9f525493 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/kgsaran
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b62b2856241b06767f8f91e6b53fe27e9f525493 -
Trigger Event:
push
-
Statement type:
File details
Details for the file trackfw-1.0.2-py3-none-any.whl.
File metadata
- Download URL: trackfw-1.0.2-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
535fb91fc783b8277e4f43645e9e582a054d16375449aeb3fed40157b76fe3fe
|
|
| MD5 |
67fcc818d5fea709dac4e3dfcc11e2bf
|
|
| BLAKE2b-256 |
72ab4d072c65af9198ce7f6f6158b6f6404bd4c30f8c486b89957e58b4aba513
|
Provenance
The following attestation bundles were made for trackfw-1.0.2-py3-none-any.whl:
Publisher:
release.yml on kgsaran/trackfw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trackfw-1.0.2-py3-none-any.whl -
Subject digest:
535fb91fc783b8277e4f43645e9e582a054d16375449aeb3fed40157b76fe3fe - Sigstore transparency entry: 1805011674
- Sigstore integration time:
-
Permalink:
kgsaran/trackfw@b62b2856241b06767f8f91e6b53fe27e9f525493 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/kgsaran
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b62b2856241b06767f8f91e6b53fe27e9f525493 -
Trigger Event:
push
-
Statement type: