AGENTS.md@testsA
AGENTS.md@tests from izittmarvin/nova-agent is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add izittmarvin/nova-agent/tests/AGENTS.md@git:20260908.e2d0385Pins git:20260908.e2d0385 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- izittmarvin/nova-agent
- Path
tests/AGENTS.md- Versions recorded
- 6
- Latest version
- git:20260908.e2d0385, committed Sep 8, 2026
- First version recorded
- Aug 16, 2026
- Size
- 8,093 bytes
- Repository stars
- 168
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Nova 测试规则 本目录的目标是用最少、最有信息量的测试保护真实用户行为、关键状态和高风险边界。测试数量、覆盖率数字和是否遵循 TDD 都不是目标。 ## 1. 什么时候应该新增测试 不要把“代码有改动”自动等同于“必须新增测试”。新增测试前必须能回答:如果这个测试以后失败,它明确说明哪条用户行为或系统不变量被破坏了? 优先保护: - run / session / message 等状态 Owner 的合法转移与终态; - 取消、失败、超时、恢复、乱序、重复事件和 stale result; - IPC、持久化、协议转换、权限等跨边界契约; - 曾经发生过且容易复发的回归; - Renderer 中会造成卡死、无法继续操作、状态串会话或监听器泄漏的生命周期问题; - 打包后才存在的 preload、asar、资源路径、native dependency 与启动问题。 通常不值得单独新增测试: - 只证明静态文案、className 或组件“能 render”; - 与已有测试重复同一断言; - 只检查 mock 被调用,却没有验证结果或状态; - 为每个 props 分支机械复制同一种 comparator 测试; - 把真正的状态 Owner、IPC 或 runtime 全部 mock 掉后再证明“完整链路正确”。 修复缺陷时,优先扩展最接近该风险的现有测试。只有现有测试无法自然表达新的边界时才新增文件。 ## 2. 不强制 TDD Nova 不要求严格执行 Red → Green → Refactor,也不要求 Coding Agent 在实现前机械创建 failing test。 需要先测试再实现的场景,是测试本身能帮助澄清契约、重现回归或固定高风险行为。若需求和边界已经清楚,可以先实现再补必要验证。禁止为了“遵守 TDD”制造低价值测试。 测试代码和生产代码一样有维护成本。删除重复、脆弱、没有保护价值的测试属于正常维护。 ## 3. 测试层级怎么选 | 层级 | 主要用途 | 不应用来证明 | | --- | --- | --- | | `unit` | 纯规则、状态机、小范围边界、确定性回归 | Electron 真实生命周期、真实 IPC 链路 | | `integration` | 多个真实模块之间的契约和持久化往返 | 最终桌面用户体验 | | `e2e/smoke` | 冷启动、已准备会话后的聊天与工具调用 | 极端时序和故障恢复 | | `e2e/lifecycle` | cancel、切会话、reload、重复 reload 后的 listener 重绑定 | 大规模故障组合 | …
Read the whole file at its exact version.
How to install
mdr add izittmarvin/nova-agent/tests/AGENTS.md@sha256:f917633cbd60eea6The line at the top of this page pins the label git:20260908.e2d0385, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zqkjhtxogu24ra55)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Aug 16, 2026 and Sep 8, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260908.e2d0385 latest | 2026-09-08 | e2d0385 | 8,093 B | A | view · diff |
| git:20260903.cb76797 | 2026-09-03 | cb76797 | 8,087 B | A | view · diff |
| git:20260825.5048c50 | 2026-08-25 | 5048c50 | 8,012 B | A | view · diff |
| git:20260821.594ddfd | 2026-08-21 | 594ddfd | 8,018 B | A | view · diff |
| git:20260816.79998e3 | 2026-08-16 | 79998e3 | 7,538 B | A | view · diff |
| git:20260816.86fa3a2 | 2026-08-16 | 86fa3a2 | 7,329 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (8093 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
izittmarvin/nova-agent · 168 stars · license MIT · pushed 2026-10-16 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_zqkjhtxogu24ra55 GET https://markdownregistry.com/api/v1/resolve?ref=izittmarvin/nova-agent/tests/AGENTS.md GET https://markdownregistry.com/api/v1/blob/f917633cbd60eea653314da9f061636baf81f5c06cd7433c8c28d7ec3786a6b9
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.
More from izittmarvin/nova-agent
Every file in izittmarvin/nova-agent