@mrciphersmith/keryx 0.3.122 → 0.3.123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -240,7 +240,7 @@ affected graph supplies deterministically, in one command.
240
240
  ├── memory/ # lessons, decisions, constraints, known mistakes
241
241
  ├── skills/ # bundled agent skills and routing
242
242
  ├── project-skills/ # skills generated from your own modules
243
- ├── rules/ # your AGENTS.md / CLAUDE.md as project rules
243
+ ├── rules/ # bundled rules; rules/project/ holds yours and is read first
244
244
  ├── data/gdgraph/ # graph artifacts, module map, query results
245
245
  ├── data/testing/ # test context, related tests, normalized reports
246
246
  ├── data/health/ # normalized health artifacts and trends
@@ -255,6 +255,26 @@ a human wants to look at it (`keryx dash`):
255
255
  <img src="https://raw.githubusercontent.com/MrCipherSmith/keryx/main/docs/assets/dashboard.png" alt="The keryx dashboard: health score, attention signals, and the enabled modules" width="880">
256
256
  </p>
257
257
 
258
+ ### Your rules, applied first
259
+
260
+ `keryx skills import --rules <dir>` copies your rule files into
261
+ `.metaproject/rules/project/`. When an agent is about to write code or tests,
262
+ `keryx skills resolve-context` lists which rules and skills it must read —
263
+ yours before the bundled ones — and the task is checked against what the agent
264
+ says it read (`warn` by default, `block` on request).
265
+
266
+ A long document your rules point at, such as `STYLING.md` or `THEMING.md`, can
267
+ be required only when the task needs it. List it in
268
+ `.metaproject/rules/project/references.json` with the globs and keywords that
269
+ make it required and, optionally, the heading to read. `resolve-context
270
+ --task-text '<task>'` then promotes it to `must_read`, the worker names the
271
+ heading and writes a short summary of what it read, and `keryx skills
272
+ references check` and `suggest` help you write the declarations. The summary
273
+ check is a proxy: keryx cannot see what an agent opens, and a summary that
274
+ reuses the section's words passes. How often a document is required depends on
275
+ how broad its globs and keywords are. See
276
+ [Make agents follow my project's own rules](https://github.com/MrCipherSmith/keryx/blob/main/docs/docs/guides/apply-project-rules.md).
277
+
258
278
  ## The agent harness
259
279
 
260
280
  This is the half that makes the other half worth having.