Skip to content

Commit 36ccca9

Browse files
committed
docs: rewrite specs and README for file-first API
1 parent b495468 commit 36ccca9

File tree

7 files changed

+859
-781
lines changed

7 files changed

+859
-781
lines changed

AGENTS.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Build and maintain `mem.net` as a robust, configurable memory service that is easy to evolve and safe to operate.
55

66
## Working Principles
7-
- Keep service logic generic; memory categories belong in policy config.
7+
- Keep service logic generic; memory categories belong in caller conventions (optional SDK policy helpers).
88
- Favor deterministic behavior over implicit magic.
99
- Keep document writes auditable and conflict-safe.
1010
- Enforce strict validation and clear error contracts.
@@ -13,7 +13,7 @@ Build and maintain `mem.net` as a robust, configurable memory service that is ea
1313
## First-Principles Rule
1414
- Before introducing any new abstraction, state which core service capability it supports: slot resolution, write guardrails, deterministic context assembly, or lifecycle cleanup.
1515
- If a concept does not directly support one of those capabilities in production today, keep it out of the runtime model.
16-
- Prefer binding-local policy fields over cross-file registries or indirection unless there is a proven scaling need.
16+
- Prefer direct file/path contracts over cross-file registries or indirection unless there is a proven scaling need.
1717

1818
## Engineering Rules
1919
- Use .NET 8 and keep external dependencies minimal.
@@ -28,12 +28,14 @@ Build and maintain `mem.net` as a robust, configurable memory service that is ea
2828
- If full access is not available, clearly report which `dotnet` checks could not be executed.
2929

3030
## Testing Rules
31-
- Add or update executable spec tests for every feature and regression.
31+
- Add or update framework unit/integration tests for every feature and regression.
32+
- Keep executable spec tests as smoke/parity coverage where relevant.
3233
- Include at least one negative test for validation/concurrency error paths.
3334
- Keep tests deterministic and environment-independent.
3435

3536
## Documentation Rules
3637
- Update `TASK_BOARD.md` when status changes.
38+
- Preserve historical status in `docs/archive/TASK_BOARD_ARCHIVE.md` when simplifying active board content.
3739
- Keep `README.md` run instructions accurate.
3840
- Keep implementation aligned with `MEMORY_SERVICE_SPEC.md`; document intentional deviations.
3941

0 commit comments

Comments
 (0)