Commit Graph

4 Commits

Author SHA1 Message Date
Claudio Drews d2228d5f95
fix: resolve 6 installation bugs in setup.sh and docker-compose (#28)
- Bug 1: QDRANT_API_KEY unbound variable (default to empty)
- Bug 2: Qdrant v1.17+ auth with empty key (conditional config)
- Bug 3: Redis crash with empty requirepass (conditional config)
- Bug 4: grep pattern now covers OPENROUTER_DS_API_KEY
- Bug 5: worker container healthcheck added
- Bug 7: execution-agent protocol installed during setup

Co-authored-by: ClaudioDrews <claudio@drews.com.br>
2026-06-08 21:53:15 -03:00
ClaudioDrews 1225af07f0 feat: add anti-theater quality rules to Pre-Action Protocol (Step 2)
Adds explicit examples of bad vs. good Match execution to
prevent performative compliance — the model producing vague
statements like 'Match: relevante' that satisfy the checklist
syntactically but provide zero information.

Also adds a quality rule: Match statements must cite at least
one concrete detail from the injected content so a human can
identify which block was read and what it contains.
2026-06-07 13:42:36 -03:00
Claudio Drews a25f3a95d6
fix: add context_enhancer symlink step and Mandatory Pre-Action Protocol (#25)
setup.sh:
- Phase 5b: symlink context_enhancer.py to Hermes scripts dir
  (fixes silent ModuleNotFoundError that disabled [qdrant] injection)
- Phase 9: auto-apply execution-agent-protocol.md

modifications/soul-rulebook.md:
- New section: Mandatory Pre-Action Protocol (4-step enforcement)

modifications/execution-agent-protocol.md:
- Standalone protocol for automated application by setup.sh

layers/07-ground-truth.md:
- Document behavioral gap between knowing and executing Ground Truth rules

Co-authored-by: ClaudioDrews <claudio@drews.com.br>
2026-06-07 12:10:06 -03:00
ClaudioDrews 6b11dc554a docs: Fase B — R1 (rulebook amendments) + R2 (soul-rulebook additions)
R1: setup/rulebook.md reescrito como pointer para o novo arquivo
modifications/execution-agent-protocol.md, que formata as 3 seções
(Memory Architecture, Memory OS Docker stack, Mandatory Verifications)
como amendments ao Execution Agent protocol. Cada amendment especifica
onde inserir relativo às regras do protocolo. install.md passo 6
atualizado para refletir o novo formato.

R2: modifications/soul-rulebook.md ganhou duas novas seções:
- Fact feedback rule (fecha o loop de qualidade dos fatos)
- Honcho deprecation (avisa para não configurar Honcho)
2026-06-03 15:32:34 -03:00