agentleFS
shrecshrec/AIWorkHub/AGENTS.md

AIWorkHub

AGENTS.md9 starsChanged 4 months agoMITView on GitHub

This is the standalone canonical AIWorkHub repository. Rules: - Keep every repository's task and context source of truth in that repository's own .aiworkhub/ storage; never move task cards across repositories. - Use the native AIWorkHub MCP surfaces rather than legacy AITools scripts or databases as model interfaces. - Write operations must remain explicit and gated by AIWORKHUB_ALLOW_WRITES=1. - Never run git add -A from this repository against the parent repository. When printing worker auto-pickup or exact claim-start cards, use one…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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.

  • In this repository2 other files it gives its agents.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

17 rules. About 1 is common, 11 are distinctive, and 5 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Keep every repository's task and context source of truth in that repository's own .aiworkhub/ storage.

    line 6
  2. Very specific:

    Use the native AIWorkHub MCP surfaces rather than legacy AITools scripts or databases as model interfaces.

    line 8
  3. Very specific:

    Write operations must remain explicit and gated by AIWORKHUB_ALLOW_WRITES=1.

    line 10
  4. Distinctive:

    Never run git add -A from this repository against the parent repository.

    line 11
  5. Distinctive:

    When printing worker auto-pickup or exact claim-start cards, use one self-contained fenced block per model.

    line 13
  6. Distinctive:

    Every card that reaches review is closed the same turn: accepted into the canonical tree, returned with concrete code-level findings, or …

    line 28
  7. Distinctive:

    Do not make empty irrelevant calls to satisfy ceremony.

    line 58
  8. Distinctive:

    When source_graph_required is true, stop if its bundle is unavailable, empty, stale or unacknowledged.

    line 60
  9. Distinctive:

    Never use grep, rg, find, tree, broad cat/sed or recursive listing while Source Graph can index/process the target.

    line 61
  10. Very specific:

    Start with focus/slice; escalate from returned evidence to context/calls/trace, impact, testmap/coverage and then a typed bundle only when …

    line 65
  11. Distinctive:

    Use body for an exact symbol and bodygrep for indexed literal/body text.

    line 66
  12. Distinctive:

    Every seat changes an existing file with aiworkhub_worker_semantic_edit_prepare then _apply, or the manager pair, on the smallest verified …

    line 69
  13. Common:

    Never store secrets or fabricate session evidence.

    line 77
  14. Distinctive:

    After session recovery, issue one bounded task-specific query.

    line 83
  15. Distinctive:

    Do not query legacy memory files directly.

    line 85
  16. Distinctive:

    After a zero hit, do not repeat the query unless task scope changes.

    line 88
  17. Very specific:

    Stop at Codex review. <!-- AIWORKHUB_TOOL_USE_POLICY_END -->

    line 95

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AIWorkHub MCP Agent Notes

This is the standalone canonical AIWorkHub repository.

Rules:

  • Keep every repository's task and context source of truth in that repository's own .aiworkhub/ storage; never move task cards across repositories.
  • Use the native AIWorkHub MCP surfaces rather than legacy AITools scripts or databases as model interfaces.
  • Write operations must remain explicit and gated by AIWORKHUB_ALLOW_WRITES=1.
  • Never run git add -A from this repository against the parent repository.

When printing worker auto-pickup or exact claim-start cards, use one self-contained fenced block per model. The instruction below must be the final non-empty line inside the same copyable block, never adjacent prose:

გაუშვი პარალელური სუბაგენტები და რომ დასრულდება დაუბრუნე კოდექსს რევიუსთვის
<!-- AIWORKHUB_TOOL_USE_POLICY_START -->

Target: AGENTS.md

AIWorkHub MCP tool-use policy

Manager role:

  • The manager does not write code: it runs the project with the owner, distributes work to workers by difficulty and cost, and reviews what returns; small precise corrections are allowed, building features is the workers' job.
  • Because the manager did not write the code, the manager is the independent reviewer; independence is this role separation, not a second vendor, model or process, so a single-provider install is fully supported and not degraded.
  • Review runs the mechanical gates and tests first because they cannot be faked, then the manager reads the code and the rules.
  • Every card that reaches review is closed the same turn: accepted into the canonical tree, returned with concrete code-level findings, or blocked with a reason; nothing accumulates.
  • Acceptance is decided by measurement; the manager does not ask the owner to approve a production accept.
  • Launch in parallel only cards whose allowed_writes do not overlap; two cards that need the same file are sequential work, not parallel.
  • A card's allowed_writes must include the tests that assert the contract it changes and the production call sites it must wire, or correct work is unwinnable.
  • Multi-model routing allocates work by cost and difficulty; it is never a requirement that one vendor review another.
  • Record obstacles as NeedFix with measured evidence; never work around them silently.
  • Intermediate release rule: while the owner is actively present, after several important blocker fixes land in one development wave, freeze new scope, cut and install the next intermediate release, then continue development on the following version; do not wait for a separate owner prompt unless an external push, tag, registry, or CI blocker requires their action.
  • Self-hosting break-glass authority: when measured evidence shows that the installed AIWorkHub plugin or Task MCP itself blocks canonical task progress, the manager may temporarily bypass Task MCP only to implement the smallest replacement fix, validate it independently, build and install the replacement, then return immediately to canonical Task MCP flow.
  • During self-hosting break-glass, record the blocker and evidence, preserve unrelated work, keep scope limited to restoring the task system, and never use the exception for ordinary feature development. Manager Order:
  1. aiworkhub_manager_source_graph_query.
  2. aiworkhub_manager_session_current_state.
  3. aiworkhub_manager_ai_memory_search.
  4. aiworkhub_manager_kb_search/get/related.
  5. aiworkhub_manager_context_graph_search, aiworkhub_manager_context_graph_range and aiworkhub_manager_context_graph_related when enabled.
  6. launch, review and close cards through the manager task tools. Worker Order:
  7. the coordinator records the injected bundle receipt; do not print it.
  8. aiworkhub_worker_source_graph_query.
  9. aiworkhub_worker_session_current_state.
  10. aiworkhub_worker_ai_memory_search.
  11. aiworkhub_worker_kb_search/get/related.
  12. never Context Graph.
  13. execute exact card action and validation. Adaptive use:
  • Role-specific AIWorkHub MCP tools are mandatory for managers and workers; legacy AITools scripts/databases are not model interfaces.
  • Verified repo and repo_id outrank cwd, workspace_roots, environment_context and chat prose; on mismatch stop before filesystem access and switch/reload the route, never inspect the hinted repo as fallback.
  • Task MCP receipt is always required; Source Graph is required for code tasks.
  • Session Manager, AI Memory and KB run only when the card requests them or the task is non-trivial.
  • Workers submit durable context changes only through the session/AI Memory/KB write-intent tools; a verified manager accepts or rejects each intent before canonical apply. Never write context databases directly.
  • Do not make empty irrelevant calls to satisfy ceremony. Source Graph gate:
  • When source_graph_required is true, stop if its bundle is unavailable, empty, stale or unacknowledged.
  • Never use grep, rg, find, tree, broad cat/sed or recursive listing while Source Graph can index/process the target.
  • A bounded exact-target fallback is allowed only after Source Graph reports that target unsupported or unindexed; record that reason.
  • Re-query whenever the active symbol, dependency boundary, failure hypothesis, edit scope or validation target materially changes.
  • workflow_stage is inferred by the server; pass it only to override.
  • Start with focus/slice; escalate from returned evidence to context/calls/trace, impact, testmap/coverage and then a typed bundle only when needed.
  • Use body for an exact symbol and bodygrep for indexed literal/body text.
  • Final HMAC-authenticated MCP audit ledger receipts distinguish injected, live, zero-hit and cache-hit calls plus modes and fallbacks; one preflight query is not continuous use. Semantic edit (mandatory):
  • Every seat changes an existing file with aiworkhub_worker_semantic_edit_prepare then _apply, or the manager pair, on the smallest verified range; a whole-file rewrite is not an editing strategy.
  • Exceptions: a new file, a change spanning most of a file, or an adapter without these tools; record which one applies, never a silent raw edit.
  • prepare is an edit step, not a reader: read with body/file preview, otherwise use a bounded read and never reread an unchanged range. Exact-command exception:
  • Exact validation/build/test commands named by the card are allowed.
  • Exact known-path reads from the card or Source Graph are allowed; they are not broad discovery. Session Manager:
  • Recover current state before non-trivial assumptions and preserve the returned session identity in the handoff.
  • Never store secrets or fabricate session evidence. Manager Context Graph:
  • Manager-only when enabled: search for non-trivial continuation, compaction/handoff recovery or prior-conversation facts; use range/related only from returned evidence.
  • Workers never query or write Context Graph; durable context uses Session/AI Memory/KB write intents.
  • Disabled or zero-hit is not failure; no empty ceremonial calls. AI Memory:
  • After session recovery, issue one bounded task-specific query.
  • Reuse returned durable decisions/lessons.
  • Do not query legacy memory files directly. KB:
  • Query authoritative project contracts/docs for unresolved factual context and preserve source identity.
  • After a zero hit, do not repeat the query unless task scope changes. Multicore by default:
  • AIWorkHub is written for multiple cores: work that is independent per item runs across cores by default; a sequential path is the exception, and the code says why in a comment.
  • The worker count is derived from the observed core count, never a hardcoded constant, and always leaves headroom so a scan cannot starve the interactive MCP server.
  • Parallelism changes only how fast, never what is measured or produced; results stay identical to the sequential path.
  • Threads for IO-bound work that releases the GIL, processes for CPU-bound work, chosen from a measurement, not a rule of thumb.
  • A path left sequential after measurement is a valid outcome; the recorded measurement is what justifies it. Stop at Codex review.
<!-- AIWORKHUB_TOOL_USE_POLICY_END -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.