Organize Seal modules and add guarded rule recoding

This commit is contained in:
gitea committed 2026-10-13 02:24:41 +00:00
1 parent f788f9c6db
commit 8c7cb219a0
65 files changed
+837 -131

No files matched your search

+5
View File
@@ -25,6 +25,11 @@ When modifying or adding TypeScript files in `src/`:
4. **Architecture**:
- Prefer small, cohesive domain functions over large generic utility files.
- Place Seal business implementations and their colocated tests in the matching
feature directory under `src/domains/seal/`, for example `rules/recode.ts`
and `rules/recode.test.ts`. The domain root is reserved for `api.ts`,
`api.test.ts`, `types.ts`, and `capabilities.ts`; do not add business files
or old-path forwarding stubs there. See `AGENTS.md` for the feature layout.
5. **Frozen Utility Modules**:
- `src/domains/seal/capabilities/helpers.ts` is FROZEN: no new exports. It is