HASHI
AGENTS.md1 starsChanged 4 days agoMITView on GitHub
Before editing, read ARCHITECTURE.md, docs/HASHI_LAYERED_RUNTIME_BOUNDARIES.md, and docs/TESTING_POLICY.md; for command/UI work also read docs/HASHI_COMMAND_UI_STYLE_GUIDE.md. - Before editing, state the functional owner (PCM, PAO, HERV3, or Frontend Connector), engineering layer, and focused validation. - Normal features belong in Functions or platform/instance configuration. Use the narrowest owner; derive views instead of copying model/effort lists, command metadata, ports, or state writers. - Protected paths come only from orchestrator.runtime_contract.CORE_SOURCE_PATHS. Run python scripts/check_protected_core_changes.py when choosing files and before finishing; it covers staged, unstaged, and untracked changes.…
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 33,398 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 repository11 other files it gives its agents.
- antigravitySkill
- claudeSkill
- codexSkill
- debugSkill
- hcc-refreshSkill
- inspect-imagesSkill
- memory-searchSkill
- msnSkill
- ngrSkill
- office-basicsSkill
- visionSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 3
Before editing, read ARCHITECTURE.md, docs/HASHI_LAYERED_RUNTIME_BOUNDARIES.md, and docs/TESTING_POLICY.md.
- Distinctive: line 7
Before editing, state the functional owner (PCM, PAO, HERV3, or Frontend Connector), engineering layer, and focused validation.
- Very specific: line 13
Run python scripts/check_protected_core_changes.py when choosing files and before finishing.
- Very specific: line 31
Never install/upgrade Function dependencies in a running Core interpreter.
- Distinctive: line 37
Test observable behavior and persistence/failure boundaries.
- Distinctive: line 50
Keep screenshots, receipts, snapshots, and observations distinct.
- Distinctive: line 52
Read the relevant domain guide and owning contract before feature work.
- Distinctive: line 53
Every behavior change updates that contract and its tests.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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
Working on HASHI
Before editing, read ARCHITECTURE.md, docs/HASHI_LAYERED_RUNTIME_BOUNDARIES.md,
and docs/TESTING_POLICY.md; for command/UI work also read
docs/HASHI_COMMAND_UI_STYLE_GUIDE.md.
- Before editing, state the functional owner (PCM, PAO, HERV3, or Frontend Connector), engineering layer, and focused validation.
- Normal features belong in Functions or platform/instance configuration. Use the narrowest owner; derive views instead of copying model/effort lists, command metadata, ports, or state writers.
- Protected paths come only from
orchestrator.runtime_contract.CORE_SOURCE_PATHS. Runpython scripts/check_protected_core_changes.pywhen choosing files and before finishing; it covers staged, unstaged, and untracked changes. - Protected Core is immutable unless the current user explicitly authorizes a Core major-version migration. Bug fixes, refactors, reboot requests, broad approval, and requests to "protect Core" are not that authorization.
- An authorized Core migration raises major, resets minor/patch, carries
core-change-approved, and adds an independentdocs/core-reviews/review. Implementer and reviewer differ; one reviewed PR contains one Core generation. --authorizedand command-scopedHASHI_CORE_EDIT_AUTHORIZED=1only record authorization already given; neither bypasses version/review gates. Never persist Core authorization variables. Seedocs/HASHI_CORE_PROTECTION_HARDENING_2026-09-13.md.- Instance model/effort opt-ins belong in
allowed_backendsand resolve throughruntime_effort_options; never edit the shared catalogue merely to add one. Shared compatibility belongs to the qualified Function generation, not Core. - Core imports no product module, including lazily. Shared services run in a
replaceable Function process.
/rebootstays Agent-scoped; separate shared replacement needs broad operational scope. - Never install/upgrade Function dependencies in a running Core interpreter.
Optional/native dependencies use an isolated, configured sidecar. Normal
Function changes adopt through hot
/reboot, never a Core cold restart. - UI wording belongs in renderers/catalogs. Use shared card/navigation helpers, escaped HTML, and the chosen UI locale. Retired Workbench compatibility names mean Backend API, not an active HASHI frontend.
- Test observable behavior and persistence/failure boundaries. For a bug, record focused red/green evidence. Fake switching or copied prose proves no switch.
- Respect other checkout work. Keep identities, secrets, and machine paths in ignored configuration. Never infer identity from a folder name.
- Migrated JSON configuration reuses
orchestrator.config_jsonand retains its read revision; display fallback is never writable. Do not blindly retry a conflict or committed durability error. Seedocs/HASHI_CONFIGURATION_PERSISTENCE.md. - Reboot/restart is operational, not a test shortcut. Follow current scope. If forbidden, finish offline checks and leave adoption explicitly unverified. Source, artifacts, and running Workers are separate facts; report what passed.
- "Run essential live test" invokes
docs/HASHI_FRONTEND_LIVE_ACCEPTANCE.mdand its versioned manifest through the named external frontend, not automation alone. Resolve checkout, instance, and Agent; never widen or carry authority. Keep screenshots, receipts, snapshots, and observations distinct. Every mandatory item and the final Core/source invariant must pass. - Read the relevant domain guide and owning contract before feature work. Every behavior change updates that contract and its tests. Root FYI changes only for global principles, ownership boundaries, major domains, top-level navigation or documentation retrieval changes. Domain guides change for significant features, moved/superseded contracts or new code/verification routes. Routine repairs normally leave root FYI unchanged.
- Record approval, implementation and live verification separately, scoped to branch/instance; keep migration inventories as review evidence, not bootstrap.
Install the local hook with python scripts/install_engineering_hooks.py; it
preserves custom hooks and checks staged Core/whitespace. Follow
docs/TESTING_POLICY.md and .github/CI_POLICY.md: choose scope from impact,
independently from local/hosted execution. CI is not an instruction to run
the whole product suite for every commit, PR, label, or routine deployment.
- Pure Idiot Test (PIT): For each new user-requested function and before declaring it delivered, apply the focused PIT Quick review in
docs/PURE_IDIOT_TEST.md: verify the normal default user path and real outcome, challenge unnecessary default-off switches, hollow tests, unnatural wording, disproportionate gates, false-success receipts, hidden failures and avoidable overhead. On "run PIT test", follow the documented cross-repository scope and evidence requirements. PIT is not a blanket new CI gate, a permission bypass, or authority to test/deploy production. Report source, test, merge, deployment and observed behaviour separately.
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.

