AGENTS.md

Project Identity

Project Name: rooibos

Description: Rooibos - part of the RatatuiRuby TUI framework ecosystem

Stability & Compatibility

1. Standards

STRICT REQUIREMENTS

Rooibos-Specific Vocabulary

Tools

Ruby Standards

2. Configuration & Tooling

Development Environment

Documentation

3. Committing

4. Changelog

5. Definition of Done (DoD)

Before considering a task complete and returning control to the user, you MUST ensure:

  1. Production Ready: RBS types are complete and accurate (no untyped), errors are handled with good DX, documentation follows guidelines, high code quality (no “pre-existing debt” excuses).

  2. Default Rake Task Passes: Run bundle exec agent_rake (no args). Confirm it passes with ZERO errors or warnings.

  3. You will save time if you run bundle exec agent_rake rubocop:autocorrect first.

  4. If you think the rake is looking for deleted files, STOP EVERYTHING and tell the user.

  5. Documentation Updated: If public APIs or observable behavior changed, update relevant RDoc, doc/ files, README.md.

  6. Changelog Updated: If public APIs, observable behavior, or gemspec dependencies have changed, update CHANGELOG.md’s Unreleased section.

  7. Commit Message Suggested: You MUST ensure the final message to the user includes a suggested commit message block. This is NOT optional.

  8. You MUST also check git log -n1 to see the current standard AI footer (“Generated with” and “Co-Authored-By”) and include it in your suggested message.