AGENTS.md@internal/blackboardA

AGENTS.md@internal/blackboard from iohub/yagent is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add iohub/yagent/internal/blackboard/AGENTS.md@git:20261026.89c0391

Pins git:20261026.89c0391 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
iohub/yagent
Path
internal/blackboard/AGENTS.md
Versions recorded
4
Latest version
git:20261026.89c0391, committed Oct 26, 2026
First version recorded
Oct 21, 2026
Size
9,250 bytes
Repository stars
31
License
Apache-2.0

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

# internal/blackboard — 跨 Agent 便签

> 范围:本目录内不可派生的约束。(原 `docs/blackboard-handoff-design.md` 已不存在,
> 便签与派生索引的规格由本文件持有。)全局摘要见仓库根 `AGENTS.md` §6.4。

## 边界

每次委派的结果写成一张便签(front-matter = 结构化 `Handoff`,正文 = 交付物**全文**),
外加一份每轮重扫磁盘得到的派生索引。不负责决定"何时写、写什么"(在 `internal/agents` 的委派收尾处),
也不给 artifact 提供存储(在 `internal/artifact`)。

## 硬约束

**1. 索引是派生态,而且是瞬态的。** 每次调用都重扫磁盘,只进**这一次 LLM 调用**的入参,
绝不写进 `ConversationMemory`、绝不写进 rollout(`index.go:10-20`)。这是它能扛住上下文压缩的唯一
原因——压缩动的是会话历史里的 tool 消息,`note:` / `artifact:` 引用以前就是这么蒸发掉的。
注入方靠 `IndexHeaderPrefix` 识别并剔除上一轮插过的索引,保证同一步重复注入幂等(`:16-20`)。

**2. 三个阀门靠"键的存在性"判定,不是零值。** `index_max_notes = 0` = 关索引、
`index_line_chars = 0` = 不裁剪行、`ttl = "0"` = 不清理;"没写这一段"解析出来同样是 0(`index.go:33-51`)。
配置的 `index_line_chars=0` 必须经 `IndexOptionsFromConfig` 换算成 `MaxRenderRunes`,
不许直接把 0 传进来(换算在 `index.go:44-51`,哨兵常数在 `handoff.go:40-42`)。整体关闭不设 `enabled` 键,kill-switch 是
`YAGENT_BLACKBOARD=0`,`blackboard.Enabled()` 是写/读/注入/清理四处共用的唯一判据。

**3. `handoff.status` 的词表是 `ok | error | degraded`(+ LLM 可自报的 `partial`),刻意没有 `paused`。**
分工钉死:`ok`/`partial` 由模型自报,`error` 由委派错误判定(`internal/agents/director.go:576-578`),
`degraded` 由重放侧按降级判据判定(`internal/agents/resume_delegation.go:276-278`);
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add iohub/yagent/internal/blackboard/AGENTS.md@sha256:25dfe06e4ce9c0df

The line at the top of this page pins the label git:20261026.89c0391, 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_pf575jrdtjovgiic.svg)](https://markdownregistry.com/a/art_pf575jrdtjovgiic)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Oct 21, 2026 and Oct 26, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261026.89c0391 latest2026-10-26 89c0391 9,250 BA view · diff
git:20261024.9b444412026-10-24 9b44441 8,413 BA view · diff
git:20261022.53411ac2026-10-22 53411ac 4,464 BA view · diff
git:20261021.9f5bf872026-10-21 9f5bf87 4,464 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 (9250 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

iohub/yagent · 31 stars · license Apache-2.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pf575jrdtjovgiic
GET https://markdownregistry.com/api/v1/resolve?ref=iohub/yagent/internal/blackboard/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/25dfe06e4ce9c0df61949bf2b254040f912992ab9201faaa9425b564a6b8ec15

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 iohub/yagent

AGENTS.md AGENTS.md file
iohub/yagent · AGENTS.md
git:20261103.104f21a · audit A · 31 stars
AGENTS.md@internal AGENTS.md file
iohub/yagent · internal/AGENTS.md
git:20261026.7381d71 · audit A · 31 stars
AGENTS.md@internal/agents AGENTS.md file
iohub/yagent · internal/agents/AGENTS.md
git:20261103.104f21a · audit A · 31 stars
AGENTS.md@internal/agents/director AGENTS.md file
iohub/yagent · internal/agents/director/AGENTS.md
git:20261103.104f21a · audit A · 31 stars
AGENTS.md@internal/app AGENTS.md file
iohub/yagent · internal/app/AGENTS.md
git:20261024.9b44441 · audit A · 31 stars
AGENTS.md@internal/blueprint AGENTS.md file
iohub/yagent · internal/blueprint/AGENTS.md
git:20261026.9762922 · audit A · 31 stars
AGENTS.md@internal/browserctl AGENTS.md file
iohub/yagent · internal/browserctl/AGENTS.md
git:20261030.25a3126 · audit A · 31 stars
AGENTS.md@internal/compression AGENTS.md file
iohub/yagent · internal/compression/AGENTS.md
git:20261028.19903d6 · audit A · 31 stars
AGENTS.md@internal/config AGENTS.md file
iohub/yagent · internal/config/AGENTS.md
git:20261024.9b44441 · audit A · 31 stars
AGENTS.md@internal/http AGENTS.md file
iohub/yagent · internal/http/AGENTS.md
git:20261026.7381d71 · audit A · 31 stars
AGENTS.md@internal/llm AGENTS.md file
iohub/yagent · internal/llm/AGENTS.md
git:20261027.0637c8b · audit A · 31 stars
AGENTS.md@internal/mcp AGENTS.md file
iohub/yagent · internal/mcp/AGENTS.md
git:20261024.9b44441 · audit A · 31 stars

Every file in iohub/yagent

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