AGENTS.md@testsA

AGENTS.md@tests from izittmarvin/nova-agent is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add izittmarvin/nova-agent/tests/AGENTS.md@git:20260908.e2d0385

Pins 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

The exact contents, by fingerprint
mdr add izittmarvin/nova-agent/tests/AGENTS.md@sha256:f917633cbd60eea6

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_zqkjhtxogu24ra55.svg)](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.

versioncommittedcommitsizeaudit
git:20260908.e2d0385 latest2026-09-08 e2d0385 8,093 BA view · diff
git:20260903.cb767972026-09-03 cb76797 8,087 BA view · diff
git:20260825.5048c502026-08-25 5048c50 8,012 BA view · diff
git:20260821.594ddfd2026-08-21 594ddfd 8,018 BA view · diff
git:20260816.79998e32026-08-16 79998e3 7,538 BA view · diff
git:20260816.86fa3a22026-08-16 86fa3a2 7,329 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

code-review SKILL.md skill
izittmarvin/nova-agent · .nova/skills/code-review/SKILL.md · 收集工作区未提交改动或最近一次提交的 git 变更面,做只读代码审查并给出带文件行号的问题清单。适用:审查改动、检查刚写的代码质量。不修改代码。
git:20260808.5aa082b · audit A · 168 stars
deep-research SKILL.md skill
izittmarvin/nova-agent · .nova/skills/deep-research/SKILL.md · 把研究问题拆成子问题后并行只读检索,综合成带来源引用的结论并复核证据。适用:调研主题、技术选型对比、查清事实并给出可追溯结论。不修改代码。
git:20260808.5aa082b · audit A · 168 stars
new SKILL.md skill
izittmarvin/nova-agent · .nova/skills/new/SKILL.md · 空白技能脚手架模板,复制后修改 name/description/body 即可使用
git:20260611.179bca1 · audit A · 168 stars
nova-frontend SKILL.md skill
izittmarvin/nova-agent · .nova/skills/nova-frontend/SKILL.md · Anti-slop, high-craft frontend design: landing pages, brand sites, portfolios, dashboards, product/admin UI, commerce…
git:20260708.a7a83cd · audit A · 168 stars
onboard SKILL.md skill
izittmarvin/nova-agent · .nova/skills/onboard/SKILL.md · 首次启动向导:了解工作区、配置规则与技能,快速上手 Nova Agent
git:20260611.179bca1 · audit A · 168 stars
skill-add SKILL.md skill
izittmarvin/nova-agent · .nova/skills/skill-add/SKILL.md · 从 URL 或 zip 安装第三方技能到 ~/.nova/skills 或项目 .nova/skills
git:20260611.179bca1 · audit A · 168 stars
skill-creator SKILL.md skill
izittmarvin/nova-agent · .nova/skills/skill-creator/SKILL.md · 交互式创建或优化 Nova Agent 技能(SKILL.md),支持 quick 模式与模板
git:20260611.179bca1 · audit A · 168 stars
AGENTS.md AGENTS.md file
izittmarvin/nova-agent · AGENTS.md
git:20260906.2c02b7f · audit A · 168 stars

Every file in izittmarvin/nova-agent

Other files named AGENTS.md@tests

AGENTS.md@tests AGENTS.md file
metalbear-co/mirrord · tests/AGENTS.md
git:20261028.be6a47a · audit A · 5,401 stars
AGENTS.md@tests AGENTS.md file
homeassistant-ai/ha-mcp · tests/AGENTS.md
git:20261101.7a52f3a · audit B · 5,399 stars
AGENTS.md@tests AGENTS.md file
vercel-labs/fx · tests/AGENTS.md
git:20261102.2c671e1 · audit A · 3,746 stars
AGENTS.md@tests AGENTS.md file
sipyourdrink-ltd/bernstein · tests/AGENTS.md
git:20261024.e491978 · audit A · 1,289 stars
AGENTS.md@tests AGENTS.md file
jasonxudeveloper/nino · tests/AGENTS.md
git:20261103.b8080de · audit A · 652 stars
AGENTS.md@tests AGENTS.md file
microsoft/github-copilot-for-azure · tests/AGENTS.md
git:20260923.0403a05 · audit A · 259 stars
AGENTS.md@tests AGENTS.md file
ppgranger/token-saver · tests/AGENTS.md
git:20260919.8bd664b · audit A · 162 stars
AGENTS.md@tests AGENTS.md file
damionrashford/rivalsearchmcp · tests/AGENTS.md
git:20260222.c55f9bc · audit A · 134 stars

Browse by kind, by grade A, or by owner.