Skip to content

Releases: metyatech/compose-agentsmd

v5.0.0

02 Apr 05:27

Choose a tag to compare

  • Breaking change: switched global-rule budget checks, schema fields, warnings, and JSON output from line counts to o200k_base token counts (budget.totalTokens / budget.moduleTokens).
  • Updated README and tests to match the token-based budget model and new default thresholds.
  • Hardened apply-rules fallback handling for partial clone failures.
  • Remediated the remaining npm development dependency advisories via npm audit fix.

v4.0.0

19 Mar 10:16

Choose a tag to compare

4.0.0 - 2026-03-19

  • Breaking change: compose now writes shared rules/global content to user-global instruction files for Codex, Claude, Gemini CLI, and Copilot instead of embedding those rules into every repository AGENTS.md.
  • Repository output now contains only repository-facing instructions (domains + extra) plus tool rules, while CLAUDE.md continues to import the repository AGENTS.md.
  • Diff output now reports both repository-side and global-side changes.
  • Updated the CLI JSON output, schema text, README, and usage help to match the split-output behavior.
  • Bumped the package description to reflect repository-local and user-global composition.
  • Updated this repository's pre-commit hook to run npm run compose so it uses the checked-out implementation when regenerating instruction files.
  • Remediated a high-severity development dependency advisory via npm audit fix.

v3.5.1

25 Feb 09:18

Choose a tag to compare

3.5.1 - 2026-02-25

  • Regenerated AGENTS.md with the latest shared global rule updates.
  • Updated composed rules to explicitly treat compose-agentsmd-generated AGENTS.md diffs as intentional changes and stage them by default in git-managed repositories unless explicitly excluded.

v3.5.0

24 Feb 02:13

Choose a tag to compare

What's New

Line-count budget check for global rule modules

compose-agentsmd now tracks the total line count of global rule modules and warns when they exceed the configured budget.

Default budgets:

  • Total global rules: ≤350 lines
  • Individual module: ≤30 lines

Features:

  • Warnings printed to stderr during --compose, apply-rules, and init commands
  • Budget results included in --json output (budget field)
  • Suppressed in --quiet mode
  • Configurable per-project via agent-ruleset.json budget field:
    {
      "budget": {
        "totalLines": 400,
        "moduleLines": 40
      }
    }

Example output

⚠ Global rules budget exceeded: 368/350 lines
  Over-budget modules (>30 lines):
    agent-rules-composition.md: 49 lines
    autonomous-operations.md: 31 lines

v3.4.3

23 Feb 08:27

Choose a tag to compare

Full Changelog: v3.4.2...v3.4.3

v3.4.2

23 Feb 05:14

Choose a tag to compare

Changes

  • Fixed formatting issues: blank lines, trailing whitespace, and JSON compaction in community health files and ruleset.
  • Regenerated AGENTS.md with updated reviewer proxy approval rule and latest upstream global rules (model inventory, thread-inbox, autonomous operations, multi-agent delegation additions).

Notes

This is a patch release containing only style/chore changes — no functional or API changes.

To install or upgrade:

npm install -g compose-agentsmd

v3.4.1

22 Feb 11:26

Choose a tag to compare

Changes

  • Strengthened the compose-agentsmd session gate rule: explains why stale rules cause violations, mandates execution before ANY user message, and prescribes stop-and-fix behavior on violation.

v3.4.0

22 Feb 05:48

Choose a tag to compare

What's Changed

  • Added ESLint flat config and Prettier for code quality enforcement.
  • Migrated test suite from node:test to vitest (30 tests).
  • Added verify script (lint + format:check + test).
  • Added CONTRIBUTING.md and SECURITY.md.

Full Changelog: v3.3.2...v3.4.0

v3.3.2

20 Feb 16:11

Choose a tag to compare

  • Updated tool rules to require an ANSI-colored diff preview for planned rule changes, clarify the shared/global rules edit workflow, and remove final-response diff requirements.

v3.3.1

18 Feb 01:01

Choose a tag to compare

  • Updated ajv in package-lock.json to 8.18.0 via npm audit fix to remediate a moderate advisory.