eap-boot: Instructions file for Codex

AGENTS.md

eap-boot AGENTS.md is an instructions file for Codex, OpenCode from eaopen/eap-boot. It costs 724 tokens per session, scanned A, original, MIT.

Repository guidance for EAP Boot, a Java 17 application made of multiple modules and shared with a separate common framework. It defines how agents should modify, test, and document the code.

In plain words
What is it for?
Use it when changing EAP Boot modules, Spring APIs, database behavior, dependency versions, shared framework integrations, tests, or build commands.
Why use it?
It reduces compatibility breakage by requiring focused changes, preserving APIs and package names, and testing the affected modules and shared dependencies.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Codex.

This is eaopen/eap-boot's own configuration. It tells Codex and OpenCode how to work on eap-boot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything eap-boot configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is # 在 ../eap-common:共享框架变更后先安装.

Reuse

Borrowing it

Nothing to install: this file belongs to eaopen/eap-boot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/eaopen/eap-boot/dev/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/eaopen/eap-boot

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for eap-boot AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/eaopen/eap-boot/agents-md/github.svg)](https://agentmods.dev/instructions/eaopen/eap-boot/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/eaopen/eap-boot/agents-md"><img src="https://agentmods.dev/badge/instructions/eaopen/eap-boot/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for eap-boot AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/eaopen/eap-boot/agents-md"><img src="https://agentmods.dev/badge/instructions/eaopen/eap-boot/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 724 This file is loaded in full into every session.
When invoked 724 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00724 $0.00724
Opus 5.5 $0.00290 $0.00290
Sonnet 5.5 $0.00145 $0.00145
Haiku 4.5 $0.00072 $0.00072

Measured 1mo ago against content hash 32d2f5fddde5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

eap-boot AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 42 lines

What it actually says

EAP Boot 协作指南

适用范围与入口

本文件适用于整个 eap-boot 仓库,是开发人员、Codex、Claude Code 及其他编码智能体的统一协作约定。规则仅在此维护,避免不同工具的说明重复或冲突。

  • 人工开发:开始修改前阅读本文件与 README.md。
  • Codex:将本文件作为仓库级工作指引。
  • Claude Code:从 CLAUDE.md 跳转到本文件,不在 CLAUDE.md 重复维护规则。

仓库定位

  • eap-boot 是基于 Java 17 的 EAP 应用仓库;保持现有模块目录和全部 org.openea.eap 包名不变。
  • 本仓依赖同级 eap-common 的 BOM 和共享框架。共享框架变更后,必须先在 eap-common 安装新产物再验证本仓。
  • 参考 yudao 时仅适配实现,保留 EAP 模块、包名、集成和业务行为;禁止复制 cn.iocoder.yudao 包名或覆盖 EAP 定制代码。
  • 依赖与插件版本优先由根 POM 和 eap-common BOM 管理。子模块只有在存在已说明的兼容性要求时才能覆盖版本。

修改流程

  1. 先定位模块、接口调用方、数据模型与已有测试,再做最小范围修改。
  2. 保留无关的工作区改动;不执行未经要求的回退、批量格式化或删除;不修改 target/、.flattened-pom.xml 等生成文件。
  3. 控制器、API、DTO、数据库字段和包名默认保持兼容。需要破坏性修改时,必须说明迁移方案和影响范围。
  4. Spring 测试必须显式提供所需的 mock;数据库空值规范化等持久化差异应在测试夹具或断言中处理。
  5. 修改模块职责、依赖版本、构建命令或运行前提时,同步更新 README 和相关技术文档。
  6. revision 变更或本仓对外行为变化时,必须同步更新 CHANGELOG.md;框架/BOM 层变更只在 eap-common 记录, 本仓通过 doc/升级指南.md 的存根链接指向 eap-common,不重复维护正文。

验证与交付

  • 先运行受影响模块的测试;跨模块、共享框架或依赖升级必须运行完整测试与编译。
  • Mockito 在 JDK 17 上的动态 agent 提示为警告;测试或编译失败才是阻塞项。
  • 交付时说明:修改范围、验证命令、验证结果,以及尚未验证的风险(如有)。
# 在 ../eap-common:共享框架变更后先安装
mvn -q -DskipTests install

# 在 eap-boot 根目录:跨模块或依赖变更
mvn -q -Dflatten.skip=true test
mvn -q -U -DskipTests -Dflatten.skip=true compile
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines · +67 tokens per session 32d2f5fddde5
  2. 2mo ago First seen · 40 lines · 657 tokens per session scan A fd1e534b0409

Subscribe to this mod's changes

eap-boot AGENTS.md is an instructions file published in the GitHub repository eaopen/eap-boot (12 stars, last pushed yesterday), licensed MIT. It adds 724 tokens to every session, about $0.0029 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

eap-boot AGENTS.md compared with instructions from other repositories

eap-boot AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
eap-boot AGENTS.mdeaopen/eap-bootInstructions file12yesterdayMITA724Codex, OpenCode
vibetags com-example-service-OrderService.instructions.mdPIsberg/vibetagsInstructions file25yesterdayMITA553GitHub Copilot
vibetags com-example-security-SecurityConfig.instructions.mdPIsberg/vibetagsInstructions file25yesterdayMITA281GitHub Copilot
vibetags com-example-service-TransactionalPaymentService.instructions.mdPIsberg/vibetagsInstructions file25yesterdayMITA104GitHub Copilot
vibetags com-example-config-AsyncTestConfig.instructions.mdPIsberg/vibetagsInstructions file25yesterdayMITA82GitHub Copilot
vibetags com-example-concurrent-SessionCache.instructions.mdPIsberg/vibetagsInstructions file25yesterdayMITA71GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot