refactor(tools): bin/{subject}/{method} layout; Go serve+watch modules
Move serve/ (module) -> bin/server, tools/ -> bin/tools, replace bin/kb-watch bash with bin/watch Go package; self-executing Go shebangs bin/serve.go and bin/kb/watch.go; Docker + CI + git/import + docs repointed. Multi-stage image builds static serve+watch binaries (no Go runtime in container).
This commit is contained in:
@@ -27,7 +27,7 @@ written to the brain under `root=facts` by `bin/facts/crm`.
|
||||
|
||||
## Gates after fix
|
||||
|
||||
- `uv run python -m unittest discover -s tools -t .` → 26 tests OK
|
||||
- `uv run python -m unittest discover -s bin/tools -t .` → 26 tests OK
|
||||
- `bin/facts/audit self` + `bin/facts/audit db` → ok
|
||||
- `bin/kb/eval` → recall@5 = 1.0
|
||||
- `go test ./...` (serve/) → ok
|
||||
- `go test ./...` (bin/server + bin/watch) → ok
|
||||
Reference in New Issue
Block a user