monoharness
AGENTS.md5 starsChanged 3 days agoMITView on GitHub
This is the personal mono-harness repository for therealtinhtute: a skills.sh-compatible agent skill set for the SDLC, plus zharness, the Rust CLI/protocol that keeps that lifecycle legible and portable across coding agents. See README.md's Goals/Non-goals for the full scope. Skills live in skills/poteto/ and skills/{stages,reason,tools}/<name>/; the zharness crate in cli/; the harness agents (scout, worker, engineer, verifier, architect) in agents/, their model policy in models.json, installed by bash scripts/install-agents.sh; pull and reinstall everything on this machine (skills, agents, hooks, zharness) with…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- therealtinhtute/mono-harnessword for word, first seen Nov 28, 2026
Other versions1 project uses a version of this.
Word for word · 1
- therealtinhtute/mono-harness★ 5100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 1 is distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 67
Run a single Rust test: cd cli && cargo test --lib installer::registry::tests::registry_update_registers.
- Very specific: line 83
Prompt engineering: before writing or editing skills (SKILL.md), rules (rules/*.md in the monoclaudian repo), or any agent instruction …
- Very specific: line 84
Skill format: All skills follow the skills.sh standard — YAML frontmatter with name and description, imperative instructions, optional …
- Very specific: line 91
Start from the requested outcome.
- Very specific: line 95
Use one .monows/plans/active/ file when work spans sessions, has dependencies, or needs recovery.
- Distinctive: line 96
Before adding an externally observable policy, find its repository authority.
- Very specific: line 104
Read by the land step of skills/poteto/playbooks/ship.md and the rubric in skills/stages/check/references/check-risk.md.
- Very specific: line 107
Always-review paths: scripts/install-git-hooks.sh, scripts/ci/, .github/, cli/src/installer/, cli/Cargo.toml, cli/Cargo.lock
- Very specific: line 110
Test-weakening override: the allow-test-weakening label, applied only by the owner after reading the weakened tests.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
This file provides guidance to coding agents (Claude Code, Codex, etc.) working in this repository.
Repository Overview
This is the personal mono-harness repository for therealtinhtute: a skills.sh-compatible agent skill set for the SDLC, plus zharness, the Rust CLI/protocol that keeps that lifecycle legible and portable across coding agents. See README.md's Goals/Non-goals for the full scope.
Layout and Pipeline
Skills live in skills/poteto/ and skills/{stages,reason,tools}/<name>/; the zharness crate in cli/; the harness agents (scout, worker, engineer, verifier, architect) in agents/, their model policy in models.json, installed by bash scripts/install-agents.sh; pull and reinstall everything on this machine (skills, agents, hooks, zharness) with bash scripts/reinstall-all.sh, which ends in a ✓/✗ table (--verify prints only the table); machine setup (global CLAUDE.md, rules, settings, mods, installer, statusline) lives in the separate repo https://github.com/tinhtute/monoclaudian; protocol, ADRs, and plans in docs/; workflow procedures in each owning skill's references/. The workflow chain and its stage contracts: skills/stages/README.md.
Plans are committed markdown (.monows/plans/active/{slug}.md); pre-commit guards (scripts/install-git-hooks.sh) enforce proof re-execution, an independent judge on high-risk and full checks, and at most one active plan. Edit procedures in skills/stages/<stage>/references/. For the managed router, change cli/docs/embedded/WORKFLOW.md and copy the same bytes to .monows/WORKFLOW.md; cd cli && cargo test --test projection_parity checks this mirror. Editing a file under skills/stages/*/references/ → run cd cli && cargo test: contracts in cli/src/embedded.rs and cli/tests/skill_reference_resolution.rs pin their text and companion files, which validate-skill.sh does not check. Repo-wide find/replace or rename sweeps exclude .monows/plans/completed/: the APPEND-ONLY guard keeps their Validation entries and Log blocked/decision entries immutable, so they stay as history.
Gate Commands
check runs these at a phase gate or before a PR; a plain commit needs only the
pre-commit hook. They sit at two different levels of the
ladder in docs/guides/patterns/encoding-invariants.md — declare the level, do not
assert enforcement the repository does not have.
# [CI] Rust CLI: format, lint, test — .github/workflows/cli-ci.yml, job `build-test`
cd cli && cargo fmt --check && cargo clippy --all-targets -- -D warnings && cargo test
# [CI] Rust CLI size target — .github/workflows/cli-ci.yml, job `size-gate`
cd cli && cargo build --release --target x86_64-unknown-linux-musl && test "$(wc -c < target/x86_64-unknown-linux-musl/release/zharness)" -le 1850000
# [CI] Agent model policy (agents/*.md vs models.json) — .github/workflows/cli-ci.yml, job `agent-models`
bash scripts/ci/test-agent-models.sh
# [CI] zharness installer and reinstall-all script fixtures — .github/workflows/cli-ci.yml, job `install-script`
bash scripts/ci/test-install-zharness.sh && bash scripts/ci/test-reinstall-all.sh
# [CI] Guard fixture tests for the pre-commit hook's ZGUARD-CORE block — .github/workflows/cli-ci.yml, job `hook-guard`
bash scripts/ci/test-guards.sh
# [CI] PR-range secret scan + commit-msg check, and the consumer CI template (docs/guides/consumer-ci-guards.md) — gate: .github/workflows/pr-guards.yml (PRs only, runs from the base branch); fixtures: .github/workflows/cli-ci.yml, job `hook-guard`
bash scripts/ci/test-pr-guards.sh && bash scripts/ci/pr-guards.sh origin/master HEAD
# [CI] Doc link integrity (broken repo-relative cross-references) — .github/workflows/docs-ci.yml, job `doc-links`, on any tracked *.md change.
# Exceptions live in .claimignore, each one requires a `# reason`.
bash scripts/ci/verify-doc-links.sh
# [CI] Skill frontmatter (every tracked SKILL.md; warnings never fail) — .github/workflows/skills-ci.yml, job `validate-skills`, on any SKILL.md change.
bash scripts/ci/validate-skills.sh
# [CI] Skill script and check-panel tests — .github/workflows/skills-ci.yml, jobs `skill-scripts`, `risk-facts`, `panel-merge`
bash scripts/ci/test-skill-scripts.sh && bash scripts/ci/test-risk-facts.sh && python3 -I scripts/ci/test-panel-merge.py
# [CI] Risk-judge eval report tests — .github/workflows/skills-ci.yml, job `risk-facts`
python3 -I -B evals/risk-judge/test_report.py
# [CI] plan-turns measuring script fixtures — .github/workflows/skills-ci.yml, job `plan-turns`
bash scripts/ci/test-plan-turns.sh
# [CI] Test-weakening gate (PRs only; the `allow-test-weakening` label overrides) — .github/workflows/test-weakening.yml, job `test-weakening`
bash scripts/ci/test-weakening.sh origin/master HEAD
# [CI] Risk-verdict gate (PRs only; the `owner-reviewed` label overrides) — .github/workflows/risk-verdict.yml, job `risk-verdict`; fixtures run in skills-ci job `risk-facts`
bash scripts/ci/test-risk-verdict.shThe pre-commit hook also runs scripts/ci/validate-skill.sh on changed skills
once installed with bash scripts/install-git-hooks.sh --force.
Run a single Rust test: cd cli && cargo test --lib installer::registry::tests::registry_update_registers.
Exercise
The recipe skills/stages/check/references/check-exercise.md starts from. Run zharness against a throwaway repository, never this one:
cd cli && cargo build -q && BIN=$PWD/target/debug/zharness
export XDG_CONFIG_HOME=$(mktemp -d) # keep the real repo registry untouched
T=$(mktemp -d) && cd "$T" && git init -q
"$BIN" install # expect rc=0; .monows/WORKFLOW.md, .monows/PROJECT.md, AGENTS.md, .gitignore created
"$BIN" uninstall # expect rc=0; `git status --porcelain` is empty afterwardsArchitecture Notes
- Prompt engineering: before writing or editing skills (SKILL.md), rules (
rules/*.mdin the monoclaudian repo), or any agent instruction file, readdocs/guides/prompt-engineering-principles.md— context engineering, formatting syntax, language rules, interfaces before examples, anti-patterns, cross-model awareness. - Skill format: All skills follow the
skills.shstandard — YAML frontmatter withnameanddescription, imperative instructions, optionalreferences/andscripts/directories. - Rules live in monoclaudian:
~/.claude/rules/is installed from the monoclaudian repo; edit rules there, not here. site/is hand-authored, not generated. A static GitHub Pages site (.github/workflows/pages.ymldeploys on push tosite/**) that narrates the same architecture/workflow story asdocs/; it does not regenerate fromdocs/*.mdand can drift — it was last brought in line with v0.24.0.
<!-- ZHARNESS:BEGIN -->Harness
Start from the requested outcome; the repository is the system of record. Read .monows/WORKFLOW.md and only the material the task needs.
- Answers, reviews, diagnoses, plans, and status reports are read-only.
- A bounded change needs no plan: implement and validate.
- Use one
.monows/plans/active/file when work spans sessions, has dependencies, or needs recovery; move it to.monows/plans/completed/only after validation. - Before adding an externally observable policy, find its repository authority; IF materially different choices remain open → stop before edits (a configurable default is not authority).
- Claim completion only with executable or observable evidence.
zharness only installs, updates, and uninstalls. There is no task database. There is no parallel control-plane state.
<!-- ZHARNESS:END -->Unattended Shipping
Read by the land step of skills/poteto/playbooks/ship.md and the rubric in skills/stages/check/references/check-risk.md.
- Auto-merge: low-risk
- Always-review paths: scripts/install-git-hooks.sh, scripts/ci/, .github/, cli/src/installer/**, cli/Cargo.toml, cli/Cargo.lock
- Review-exempt paths: cli/Cargo.toml, cli/Cargo.lock, .github/dependabot.yml
- Why exempt: the owner labelled version bumps and Dependabot config low in the #221 risk-judge eval; every other CI path still needs review
- Test-weakening override: the
allow-test-weakeninglabel, applied only by the owner after reading the weakened tests; agents never apply it - Review override: the
owner-reviewedlabel, applied only by the owner after reading the PR; it satisfies the requiredrisk-verdictcheck for a PR without a valid low-risk verdict; agents never apply it - Merge method: merge (the repo disables GitHub auto-merge, so wait for green with
gh pr checks --watch, nevergh pr merge --auto)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

