Context engineering improvements #1

Merged
wylab merged 1 commits from context-engineering-improvements into main 2026-02-22 05:03:50 +01:00
Collaborator

Analysis of nanobot context files against Anthropic context engineering framework. 8 problems identified, all fixed.

USER.md — stripped from ~3KB to ~1KB. Removed duplicate factual content.

SOUL.md — populated (was empty). Epistemic character, rule conflict resolution, cognitive pattern translations.

AGENTS.md — Rules 2 and 8 rewritten with explicit investigation/action boundary.

KNOWLEDGE.md — Memory routing rule, promotion/demotion protocol, heartbeat collector budgets, output compression model, compaction protocol.

Analysis of nanobot context files against Anthropic context engineering framework. 8 problems identified, all fixed. **USER.md** — stripped from ~3KB to ~1KB. Removed duplicate factual content. **SOUL.md** — populated (was empty). Epistemic character, rule conflict resolution, cognitive pattern translations. **AGENTS.md** — Rules 2 and 8 rewritten with explicit investigation/action boundary. **KNOWLEDGE.md** — Memory routing rule, promotion/demotion protocol, heartbeat collector budgets, output compression model, compaction protocol.
nanobot added 1 commit 2026-02-22 04:57:46 +01:00
Changes based on analysis against Anthropic's context engineering framework:

1. USER.md: stripped to pure tonal/behavioral instructions, removed all
   factual content that duplicates KNOWLEDGE.md
2. SOUL.md: populated with epistemic character — tool disposition, honesty
   architecture, efficiency preference, Rule 2/8 resolution, cognitive
   pattern translations
3. AGENTS.md: rewrote Rules 2 and 8 with explicit investigation/action
   boundary and cross-references
4. KNOWLEDGE.md:
   - Memory Layout expanded with routing rule and promotion/demotion protocol
   - Heartbeat collector output budgets (per-collector character limits)
   - Output Compression Model table for response formatting
   - Compaction Protocol with triggers, procedure, and routing table
Owner

Good job

Good job
wylab merged commit f1f4651a98 into main 2026-02-22 05:03:50 +01:00
wylab deleted branch context-engineering-improvements 2026-02-22 05:03:55 +01:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wylab/nanobot-context#1