Skip to content

Commit 49576de

Browse files
docs(helix-decisions): add TODOs for default location and git hooks
1 parent 425326d commit 49576de

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

helix-decisions/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,21 @@ See `specs/` directory:
169169
- [design.md](specs/design.md) - Architecture, data model
170170
- [tasks.md](specs/tasks.md) - Implementation phases
171171

172+
## TODOs
173+
174+
### Default Location
175+
Decisions are project-scoped, not global. Need to decide:
176+
- Should `.decisions/` be the only supported location?
177+
- Support for monorepo patterns (e.g., `packages/*/decisions/`)?
178+
- How does the HelixDB index handle multiple projects? Per-project storage vs shared?
179+
180+
### Git Hooks for Immutability
181+
Accepted decisions should be immutable. Need to implement git hooks to enforce this:
182+
- **Pre-commit vs pre-push?** Pre-commit catches earlier but runs more often. Pre-push is less intrusive but catches issues later.
183+
- **What to check?** Detect modifications to decisions with `status: accepted` and non-null `content_hash`
184+
- **How to allow amendments?** New decision with `amends: [id]` is fine; direct edits are not
185+
- **Hook installation:** Should `helix-decisions init` install hooks automatically?
186+
172187
## License
173188

174189
MIT

0 commit comments

Comments
 (0)