Skip to content

docs(agents): track all AGENTS.md guides and refresh review instructions#4969

Merged
bug-ops merged 2 commits into
mainfrom
docs/agents-md-crate-instructions
Jun 6, 2026
Merged

docs(agents): track all AGENTS.md guides and refresh review instructions#4969
bug-ops merged 2 commits into
mainfrom
docs/agents-md-crate-instructions

Conversation

@bug-ops

@bug-ops bug-ops commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Problem

AGENTS.md is listed in the global gitignore, so every AGENTS.md in this repository was a local-only, untracked file. Coding and review agents (Copilot CLI, Codex, etc.) that rely on path-specific AGENTS.md instructions were getting them only on the author's machine, never from version control. On top of that, seven crates had no AGENTS.md at all, and the repo-wide review instructions were stale.

Changes

  • Track all 39 AGENTS.md (force-added past the global ignore): the root guide, 7 directory-level guides (crates/, src/, tests/, docker/, config/, book/, .github/), and all 31 crate guides. They are now under version control so agents pick them up everywhere.
  • Add the 7 previously missing crate guideszeph-agent-context, zeph-agent-feedback, zeph-agent-persistence, zeph-agent-tools, zeph-durable, zeph-plugins, zeph-worktree — matching the existing per-crate format: crate-local build/nextest/clippy checks, hard invariants, LLM-serialization/security gates, multi-model notes, and specs/ references.
  • Refresh .github/copilot-instructions.md: correct the crate count (10 → 31 library crates + the zeph CLI binary), fix the feature-gated crate list, and document the agent-pipeline (zeph-agent-* must not depend on zeph-core) and zeph-durable Layer-0 dependency invariants.

Each new crate guide cites its spec: 021-zeph-context, 016-agent-feedback, 057-agent-persistence, 006-tools, 064-durable-execution, 058-plugins, 063-worktree-subsystem.

Test evidence

Documentation-only change — no Rust sources touched, so the fmt/clippy/nextest build gate is not applicable. Verified that every crate now has a guide (31/31) and that the architecture invariants in the guides match the actual workspace dependency directions and specs/ contents.

Notes

AGENTS.md remains in the global gitignore, so future guides in new crates will be silently ignored again. A repo-level .gitignore negation (!AGENTS.md) can be added in a follow-up to keep them tracked automatically.

Force-add every AGENTS.md in the repository (root, directory-level, and all
31 crate guides) so coding/review agents pick up path-specific instructions
from version control instead of local-only files. These were previously
untracked because AGENTS.md is globally ignored.

Add the seven previously missing crate guides: zeph-agent-context,
zeph-agent-feedback, zeph-agent-persistence, zeph-agent-tools, zeph-durable,
zeph-plugins, and zeph-worktree, matching the existing per-crate format with
crate-local checks, invariants, gates, and spec references.

Refresh .github/copilot-instructions.md: correct the crate count, fix the
feature-gated crate list, and document the agent-pipeline and zeph-durable
dependency invariants.
@github-actions github-actions Bot added documentation Improvements or additions to documentation llm zeph-llm crate (Ollama, Claude) skills zeph-skills crate memory zeph-memory crate (SQLite) channels zeph-channels crate (Telegram) core zeph-core crate tests Test-related changes config Configuration file changes ci CI/CD configuration size/L Large PR (201-500 lines) labels Jun 6, 2026
Add a !AGENTS.md negation so per-directory agent guides are tracked despite
the contributor's global AGENTS.md ignore, preventing new guides from being
silently skipped.
@bug-ops bug-ops enabled auto-merge (squash) June 6, 2026 22:39
@bug-ops bug-ops merged commit 583c571 into main Jun 6, 2026
36 checks passed
@bug-ops bug-ops deleted the docs/agents-md-crate-instructions branch June 6, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channels zeph-channels crate (Telegram) ci CI/CD configuration config Configuration file changes core zeph-core crate documentation Improvements or additions to documentation llm zeph-llm crate (Ollama, Claude) memory zeph-memory crate (SQLite) size/L Large PR (201-500 lines) skills zeph-skills crate tests Test-related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant