fix(harness): align workspace paths and best-practices mount target

- Mount best-practices context at /workspace/best-practices/ (was
  /opt/harness/context/best-practices/) for consistent agent access
- Fix /workspace/working/ → /workspace/project/ in all CLAUDE.md files
  (planning, spec-writing, security-review, code-methodology,
  qwen-code-methodology, test-writing)
- Update best-practices path references in all CLAUDE.md files to
  /workspace/best-practices/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Paul O'Reilly
2026-04-28 13:24:10 +12:00
parent b04f718530
commit c0758cbd71
7 changed files with 26 additions and 26 deletions

View File

@@ -41,13 +41,13 @@ If a directory or file does not exist where you expect it: do not debug the envi
## Best practices
This container has cross-project best practices mounted at `/opt/harness/context/best-practices/`. **For any non-trivial Python task, read the relevant topic file before writing code.**
This container has cross-project best practices mounted at `/workspace/best-practices/`. **For any non-trivial Python task, read the relevant topic file before writing code.**
- `/opt/harness/context/best-practices/python-patterns.md` — Pydantic v2 validators, `threading.Lock` vs `RLock`, `extra='ignore'` silent drops, subprocess mocking, `model_validator`, packaging
- `/opt/harness/context/best-practices/test-driven-development.md` — for tasks that involve writing tests
- `/opt/harness/context/best-practices/spec-driven-development.md` — when a `spec/` file is referenced
- `/opt/harness/context/best-practices/security-architecture.md` — for anything touching auth, credentials, or external boundaries
- `/opt/harness/context/best-practices/BESTPRACTICES.md` — index of all topics
- `/workspace/best-practices/python-patterns.md` — Pydantic v2 validators, `threading.Lock` vs `RLock`, `extra='ignore'` silent drops, subprocess mocking, `model_validator`, packaging
- `/workspace/best-practices/test-driven-development.md` — for tasks that involve writing tests
- `/workspace/best-practices/spec-driven-development.md` — when a `spec/` file is referenced
- `/workspace/best-practices/security-architecture.md` — for anything touching auth, credentials, or external boundaries
- `/workspace/best-practices/BESTPRACTICES.md` — index of all topics
## Python conventions (this codebase)