mirror of
https://github.com/walkinglabs/learn-harness-engineering.git
synced 2026-09-19 05:06:27 +08:00
fdffe241da
- Lecture 13 (Loop Engineering) translated to JA, KO, ES, FR, DE, TR, AR, VI, UZ, RU, PT-BR, UK, ZH-TW - Project 07 (First Automated Loop) translated to all 13 locales - Code templates (goal/loop-state/maker/checker) copied to all locale lecture dirs - Navigation items added for all 13 locales in config.mts - Build: ✓
1.9 KiB
1.9 KiB
Goal Loop Template
Write your goal as a document like this, then hand it to
/goalor a maker agent. The more specific and verifiable, the higher the loop quality.
Goal
Implement the XX feature with complete unit test coverage.
Acceptance Criteria
npm testpasses fully- Coverage report shows XX module coverage ≥ 80%
npm run linthas zero errors- TypeScript type check passes (
npx tsc --noEmit) - All new code follows project coding standards
Scope
Fair game
- All files under
src/xx/ - Test files under
tests/ - Related type definition files
Hands off
src/main.tsentry file- Database schema migrations
- Dependency versions in
package.json(unless explicitly needed) - CI/CD config files
Verification Method
-
After implementation, run these commands in order:
npx tsc --noEmit— type checknpm run lint— code stylenpm test— unit testsnpx vitest --coverage— coverage check
-
Fix any failures before moving to the next step.
-
When everything passes, run the full end-to-end test suite (if available).
Stop Conditions
- All acceptance criteria pass ✅
- Max turns reached: 20
- No progress for 3 consecutive rounds (same error keeps appearing)
- Blocking issue that cannot be resolved independently (e.g., missing dependency, environment problem)
How to Work
- Read
AGENTS.mdandfeature_list.jsonfirst to understand the project structure and existing features. - Write out the design approach before touching code.
- Verify after each sub-task is done.
- If stuck for more than 2 rounds, switch approach or simplify.
- Update progress at the end of each round.