feat: support simple projects and root Git repositories

Allow registering a single Git repository at the engineering project root with --path . while retaining path safety checks.

Document Git-optional projects first and cover plain folders, root repositories, and multiple repositories in process tests and native smoke scenarios.

Validated with 23 passing tests and macOS ARM64 native smoke checks for all three layouts.
This commit is contained in:
Nilton Constantino
2026-11-11 16:38:18 +00:00
parent f0e0dd061a
commit e65f216926
10 changed files with 178 additions and 9 deletions
+5
View File
@@ -16,6 +16,11 @@ discussion history, draft DECs, evidence integrity, structural validation and st
Markdown/JSON context. Temporary-fixture tests cover continuity, independent Works,
multiple repositories and malformed/missing/unsafe state.
Simple projects are supported directly: initialize in an existing source folder
without Git, or register a single existing Git repository using `repo add app --path .`.
No enclosing workspace or additional repositories are required. Regression coverage
includes fresh processes without Git on PATH and single-repository root discovery.
Acceptance demonstration: initialize a project with two independent Git repositories,
create a Work referencing both, append discussion, persist a draft decision and
evidence, export context, then reconstruct the same context in independent processes