Skip to content

refactor(agent): factor CLAUDE.md from 3291→62 lines with path-scoped rules #7

@CodeMonkeyCybersecurity

Description

Summary

Apply RFC-001 progressive disclosure architecture to Hera's CLAUDE.md.

Problem: CLAUDE.md is 3,291 lines of context that loads on every agent session, consuming tokens with content irrelevant to the current task.

Solution: Replace with 62-line thin proxy that:

  • Keeps essential commands and project identity
  • References upstream governance contracts via @third_party/prompts/ @imports
  • Loads remaining detail only when needed

Changes

  • Replace CLAUDE.md (3,291 lines) with thin proxy (62 lines)
  • Add third_party/prompts submodule (cybermonkey/prompts governance-as-code)

References

  • RFC-001: Progressive Disclosure Architecture (cybermonkey/prompts)
  • hecate refactor: refactor/2374-claude-md-factoring

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions