notque/vexjoy-agent / skills/process/workflow
workflow
VerifiedStructured work: multi-phase tasks, feature builds, planning, objective loops, hill climbing.
references/ol-SPEC.md
View on GitHub# SPEC: objective-loop
Maintainer contract. Not runtime context — load only when changing this skill.
## Purpose
Iterate a user-stated objective to verified-done: each iteration is one /do
cycle; done-criteria verify by execution; the loop reschedules via
`ScheduleWakeup` until all criteria pass or the budget stops it.
## Scope
- Objective spec capture (statement, typed done-criteria `command`|`rubric`, iteration budget, NOT-DONE-YET guardrails).
- State file at `.objective/<slug>/state.md`; resume from file on every wakeup.
- Planner/verifier role only — all work dispatches through /do.
- Cache-aware wakeup delays; harness fallback to in-session iteration.
## Non-goals
- Executing work inline (route through /do).
- Persistence: cron/CronCreate loops belong to `cron-automation` behind `OWNER-APPROVED-PERSISTENCE`.
- Retry/backoff code inside programs (`condition-based-waiting`).
- Single-condition waits (harness `Monitor`).
- Replacing `feature-lifecycle` (features keep their phase machine).
## Invariants
1. The loop ends by not calling `ScheduleWakeup`; every stop path is explicit.
2. Verification is execution: command criteria run with exit codes pasted; rubric criteria graded by a fresh-context sub-agent that did not produce the work, verdict plus cited evidence pasted. A worker's pass claim never substitutes.
3. A criterion is never satisfied by weakening a hook, gate, test, safety control, or rubric text — conflict stops the loop.
4. Wakeups resume from the state file, never conversation memory.
5. Default mode is session-scoped; persistence requires the owner phrase.
6. Learning capture stays hook-automatic via /do dispatch — no manual rows.
7. `.objective/` stays unstaged.
8. `rubric` type only where no mechanical check exists (PHILOSOPHY.md ranking: exit code > fresh-context grader > self-critique); rubric text frozen at SPEC time.
9. The iteration log is append-only — entries are never edited retroactively.
## Dependencies
- `/do` router (`skills/meta/do/SKILL.md`) — dispatch + learning hooks.
- Harness `ScheduleWakeup` (optional; in-session fallback without it), `Monitor` (optional).
- `references/state-file.md` — state contract.
## Success criteria
- Routes on objective phrasing ("keep working until…"), declines one-off tasks, cron requests, and retry-code requests (`evals.json`).
- A resumed wakeup reconstructs the loop from the state file alone.
- Budget exhaustion produces a per-criterion NOT-DONE report.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |