Skip to content

Cleanup: Optimize AGENTS.md for token efficiency #210

Closed

Description

@trevor-vaughan

Problem

AGENTS.md in the unbound-force repo is 844 lines (~21K tokens) and is always loaded, consuming 16% of a 128K context window before any user code or conversation. A typical dev session reaches ~35-40K tokens of harness content (27-31% of the window).

The "Recent Changes" section (~200 lines) serves as a compressed project history. Moving this content to a separate reference file would free up context window space for the content agents use most during active work.

Proposed Solution

Audit AGENTS.md and optimize for token efficiency:

  • Move the ~200-line "Recent Changes" section to a separate changelog or reference file that agents can consult when needed
  • Focus AGENTS.md on actionable governance content that agents reference during active work
  • Apply similar analysis to AGENTS.md in other repos

Acceptance Criteria

  • Audit AGENTS.md for content that is reference material vs actionable guidance
  • Relocate the ~200-line "Recent Changes" section to a separate reference file
  • Measure token reduction (target: meaningful reduction from the ~21K baseline)
  • Verify that agent behavior is unaffected (governance content is preserved, just reorganized)
  • Apply similar analysis to AGENTS.md in dewey (545 lines), gaze (530 lines), and replicator (439 lines)

Activity

  1. jflowers commented on Jun 12, 2026

    @jflowers
    Contributor

    Thanks for filing this! It looks like AGENTS.md has been significantly trimmed since this issue was opened — it's currently sitting at 292 lines, and the "Recent Changes" section mentioned here no longer exists.

    It seems like the optimization work this issue was targeting has already been addressed through other efforts. Given that, this one is probably safe to close. Happy to reopen if there's a remaining concern about token efficiency at the current size.

  2. trevor-vaughan commented on Jun 12, 2026

    @trevor-vaughan
    Author

    Addressed! Filed against an older build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions