Import the client, server, skills, tests, and build scripts as the starting point for the rebuild, then trim the surfaces this project does not ship: Electron desktop packaging, the marketing website, and the ESP32 firmware tree. CI keeps the web build, e2e, lockfile, release, and Docker workflows. Rename the package and CLI entry points to hermes-ui, drop the prepare hook so npm ci no longer triggers a build, and drop the removed tsconfig and nodemon references. Rewrite AGENTS.md, ARCHITECTURE.md, DEVELOPMENT.md, and the READMEs so the documented package map and hard rules match this repository. reference_code/ is ignored: it is a read-only snapshot, not an input to the build.
1.6 KiB
1.6 KiB
Harness Overview
This harness turns recurring project knowledge into files and checks that an agent can discover without chat history.
Goals
- Make repository context legible through short maps and deeper docs.
- Keep architecture constraints close to the code they protect.
- Give agents a deterministic validation path before opening or updating a PR.
- Prefer mechanical checks over reminder text when a rule can be verified.
Entry Points
AGENTS.mdis the root map for coding agents.ARCHITECTURE.mddocuments package boundaries and state ownership.DEVELOPMENT.mdremains the contributor rules and command reference.docs/harness/validation.mdmaps change types to checks.docs/harness/worktree-runbook.mdexplains isolated worktree development.docs/harness/pr-review.mdprovides a PR self-review checklist.scripts/harness-check.mjsenforces baseline repository invariants.
Operating Model
- Read the root map and the specific doc for the task.
- Make the smallest scoped change.
- Add or update focused tests when behavior changes.
- Run
npm run harness:checkand the relevant validation commands. - If a failure pattern repeats, improve this harness with docs, tests, scripts, or CI instead of relying on a longer prompt.
What Belongs In The Harness
- Facts that future agents must know to work safely.
- Checklists that prevent repeated PR review comments.
- Scripts that fail fast on repository-wide invariants.
- Runbooks for local, CI, and release flows.
Do not put long implementation notes in AGENTS.md. Add them under docs/ and
link to them from the map.