Files
pi-plan/package.json
T
wassnameandClaude 0ca344d741 Single agent goals loop with stock scheduler and pi-subagents judge
- One goals file per /goals new, planning is read-only except that file, Ready starts work.
- Ready creates a session-scoped pi-scheduler prompt task with an owned marker. Each owned wake is
  transformed into the user's Loop statement plus the current goals read from disk. Wakes from an
  older Ready or another session are dropped. Pause, clear or no remaining goals remove the task.
- Whole goals file is re-sent once after compaction or resume.
- CompleteGoal delegates to a fresh read-only pi-subagents runtime agent. Accept with quoted checks
  marks [✓]. Reject, malformed output or judge failure leaves the goal open (the old version
  accepted on judge failure). /goals judge off records [x] self-verification.
- Tests: fake Pi harness plus contract tests against real scheduler core and pi-subagents parsers.
  Mutation check: 7 deliberate bugs each failed at least one test.
- Removes the old subprocess judge, private auto-continue timer, historical docs and scripts.

Co-Authored-By: Claude <288921227+claudypoo@users.noreply.github.com>
2026-09-24 09:24:32 +08:00

68 lines
1.7 KiB
JSON

{
"name": "@wassname2/pi-goals",
"version": "0.2.2",
"description": "One agent, one approved goals file, a scheduled loop that re-sends your loop statement and goals, and an optional read-only judge.",
"author": "wassname",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/wassname/pi-goals.git"
},
"keywords": [
"pi-package",
"pi",
"pi-extension",
"plan",
"goal",
"proof",
"uat",
"evidence",
"judge"
],
"peerDependencies": {
"@earendil-works/pi-coding-agent": ">=0.85.1 <1.0.0",
"typebox": "*"
},
"dependencies": {
"@jl1990/pi-scheduler": "https://registry.npmjs.org/@jl1990/pi-scheduler/-/pi-scheduler-0.5.0.tgz",
"pi-subagents": "0.66.0"
},
"bundleDependencies": [
"pi-subagents",
"@jl1990/pi-scheduler"
],
"files": [
"src",
"README.md"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run lint && npm run typecheck && npm run test",
"test": "vitest run --dir test",
"test:watch": "vitest --dir test",
"typecheck": "tsc --noEmit",
"lint": "biome check src/ test/",
"lint:fix": "biome check --fix src/ test/"
},
"devDependencies": {
"@earendil-works/pi-coding-agent": "0.85.1",
"@types/node": "^20.0.0",
"typebox": "^1.3.7",
"typescript": "^5.0.0",
"@biomejs/biome": "^2.4.8",
"vitest": "^4.0.18"
},
"pi": {
"extensions": [
"./src/index.ts",
"./node_modules/pi-subagents/index.ts",
"./node_modules/@jl1990/pi-scheduler/extensions/scheduler/index.ts"
],
"image": "https://cdn.jsdelivr.net/gh/wassname/pi-goals@main/media/screenshot.png"
}
}