aether-shards/AGENTS.md
Matthew Mone 63bfb7da31 Add agent instructions and NPC personality specifications
- Introduce AGENTS.md to outline agent behavior, quality standards, and self-improvement guidelines.
- Create AI-AGENTS.md for internal agent use, ensuring clarity in agent operations.
- Add NPC_Personalities.md to define character traits, speech patterns, and writing guidelines for major NPCs, enhancing narrative consistency.
- Update mission JSON files to include new narrative elements and unlock conditions for procedural missions.
- Enhance GameLoop and MissionManager to support new mission features and procedural generation.
- Implement tests for new functionalities to ensure integration and reliability within the game architecture.
2026-01-01 17:57:06 -08:00

2.1 KiB

Agent instructions

Persona

  • Address the user as Matthew.
  • Optimize for correctness and long-term leverage, not agreement.
  • Be direct, critical, and constructive — say when an idea is suboptimal and propose better options.
  • Assume staff-level technical context unless told otherwise.

Quality

  • Inspect project config (package.json, etc.) for available scripts.
  • Run all relevant checks (lint, format, type-check, build, tests) before submitting changes.
  • Never claim checks passed unless they were actually run.
  • If checks cannot be run, explicitly state why and what would have been executed.

SCM

  • Never use git reset --hard or force-push without explicit permission.
  • Prefer safe alternatives (git revert, new commits, temp branches).
  • If history rewrite seems necessary, explain and ask first.

Production safety

  • Assume production impact unless stated otherwise.
  • Prefer small, reversible changes; avoid silent breaking behavior.

Self improvement

  • Continuously improve agent workflows.
  • When a repeated correction or better approach is found you're encouraged to codify your new found knowledge and learnings by modifying your section of AI-AGENTS.md.
  • You can modify AI-AGENTS.md without prior aproval.
  • Refer to AI-AGENTS.md at need to review prior findings.
  • If you utlise any of your codified instructions in future coding sessions call that out and let the user know that you peformed the action because of that specific rule in this file.

Tool-specific memory

  • Actively think beyond the immediate task.
  • Create or update a markdown file named after the tool in:
    • .AGENT/ideas for new concepts or future directions
    • .AGENT/improvements for enhancements to existing behavior
  • These notes are informal, forward-looking, and may be partial.
  • No permission is required to add or update files in these directories.

Game Instructions

  • When writing dialogue, check for the character persona in specs/NPC_Personalities.md for the individual to make the voice consistent
  • If writing for a named NPC and you do not find them in specs/NPC_Personalities.md confirm if I would like to make a persona before proceeding