Companion project for the Harness Engineering book.
This is a small support and issue-management app used to show how a weak agent setup can become more reliable through better repository guidance, task briefs, permissions, checks, and review.
This repository starts in a weak but believable state:
- tasks are vague
- repository guidance is light
- permissions are broad
- completion evidence is weak
The later-state example artifacts live under docs/, reviews/, and
failures/.
- ticket list
- ticket detail view
- status updates
- small JSON API
- focused tests
npm installnpm startThen open http://localhost:4300.
The root page shows a small dashboard, ticket links, and example API routes. The JSON endpoints are:
GET /ticketsGET /tickets/:idPOST /tickets/:id/status
npm testFor TASK-100, the most relevant check is
tests/tickets-status-update.test.js.
app/: page behavior and entry pointsapi/: API handlerslib/: shared ticket logictests/: focused automated checksdocs/: later-state harness examplestasks/: weak starting tasks and stronger brief examples
If you are using this repo alongside the book, start with:
tasks/TASK-100.mddocs/REPO-GUIDE.example.mdtasks/TASK-100-BRIEF.example.mddocs/CONTEXT-PACKET.example.mddocs/PERMISSION-POLICY.example.mddocs/TASK-PLAN.example.mddocs/VERIFICATION-CHECKLIST.example.mddocs/COMPLETION-EVIDENCE.example.mdreviews/REVIEW-CHECKLIST.example.mdreviews/APPROVAL-MATRIX.example.mdfailures/FAILURE-CATEGORIES.example.mdfailures/FAILURE-LOG.example.mddocs/PROGRESSION.example.md
The easiest way to use this project is as a comparison exercise.
Start with the weak starting state:
- read
tasks/TASK-100.md - open the app at
http://localhost:4300 - inspect the relevant code in
app/,api/, andlib/ - notice what is missing:
- vague task
- no strong repo guide
- no explicit scope boundary
- no clear completion evidence
Then compare that with the later-state harness artifacts:
docs/REPO-GUIDE.example.mdtasks/TASK-100-BRIEF.example.mddocs/CONTEXT-PACKET.example.mddocs/PERMISSION-POLICY.example.mddocs/TASK-PLAN.example.mddocs/VERIFICATION-CHECKLIST.example.mddocs/COMPLETION-EVIDENCE.example.mdreviews/REVIEW-CHECKLIST.example.mdreviews/APPROVAL-MATRIX.example.mdfailures/FAILURE-CATEGORIES.example.mdfailures/FAILURE-LOG.example.mddocs/PROGRESSION.example.md
The point is not that the repo fully transforms itself. The point is to compare the same small task under a weak harness and a stronger harness.
You can use the project in three simple ways:
- read the weak task and ask how an agent might drift
- compare it with the stronger artifacts and see what changed
- use the repo as a small sandbox for trying your own task briefs, checks, and review rules
MIT