init: seed framework reference content from agent-runtimes main repo

This commit is contained in:
Paul O'Reilly
2026-04-26 12:17:42 +12:00
commit 37a5165dfb
118 changed files with 6831 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# TDD Protection — Tests Are Sacred
## The tests directory is READ-ONLY
`/workspace/tests/` has been locked at the OS level. You **cannot** write to it. Any attempt will fail with a permission error.
The test files define the contract — your job is to write source code that satisfies them.
## Rules (violations will cause the task to be re-dispatched)
1. **Never modify test files.** Not a single line. Not a comment. Not whitespace.
2. **Never create new files in `tests/`.** All tests are already written.
3. **Never delete files from `tests/`.** The full suite was intentionally authored.
4. **Never chmod, mv, cp, or ln anything in `tests/`.** The directory is root-owned and immutable.
If a test looks wrong, you are wrong. Fix the implementation, not the test.
## What to implement
Your task prompt specifies which source modules to write. Implement them in:
- `lib/` — shared libraries
- `controlplane/` — CP business logic and API routers
Run your specific test file to check progress:
```bash
python -m pytest tests/test_YOUR_MODULE.py -v --tb=short -x
```
## Reference copy
A root-owned reference of the original tests is at `/workspace/reference/tests/`. This is used for post-task verification. Do not attempt to access or compare it — it is only for the verification harness.