Skip to content

feat: add G5e decay collapse preview#306

Merged
cafitac merged 1 commit into
mainfrom
feat/g5e-decay-collapse-preview
May 12, 2026
Merged

feat: add G5e decay collapse preview#306
cafitac merged 1 commit into
mainfrom
feat/g5e-decay-collapse-preview

Conversation

@cafitac
Copy link
Copy Markdown
Owner

@cafitac cafitac commented May 12, 2026

Summary

  • Add dogfood decay-collapse-preview as the G5e read-only bridge from decay-risk scoring to human review.
  • Emit ref-safe decay_collapse_candidates, quality gate, automation policy, and explicit no-mutation collapse review guardrails.
  • Document the new dogfood surface in docs/hermes-dogfood.md.

Test Plan

  • .venv/bin/python -m pytest tests/test_cli.py::test_dogfood_decay_collapse_preview_reports_stale_weak_evidence_without_mutation -q (RED first: command missing)
  • .venv/bin/python -m pytest tests/test_cli.py::test_dogfood_trace_cluster_preview_reports_ref_safe_clusters_without_mutation tests/test_cli.py::test_dogfood_reinforcement_refinement_preview_scores_repeated_activation_without_mutation tests/test_cli.py::test_dogfood_decay_collapse_preview_reports_stale_weak_evidence_without_mutation tests/test_cli.py::test_python_module_cli_activations_decay_risk_reports_ref_safe_resolution_hints -q
  • .venv/bin/python -m pytest tests/test_repository_trust_docs.py -q
  • .venv/bin/python -m pytest tests/ -q
  • Local live read-only smoke against /Users/reddit/.agent-memory/memory.db: /tmp/agent-memory-g5e-live-smoke.json, verified read_only=true, mutated=false, default retrieval unchanged, no protected table count changes, and no raw prompt/query-preview markers.

Safety

  • Preview only: no review queue writes, no deprecate/delete/collapse mutation, no ordinary-conversation auto-approval, no retrieval ranking changes.
  • Any future mutation remains a separate guarded apply policy with backup/audit/approval/rollback.

@cafitac cafitac merged commit b2f9da1 into main May 12, 2026
2 checks passed
@cafitac cafitac deleted the feat/g5e-decay-collapse-preview branch May 12, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant