lulu-exec
Skill3 starsChanged 59 days agoMITView on GitHub
Use when: execute a delivered work order, task exec, coding TDD, action task, lulu-exec workflow, lulu-workflow lulu-exec, git worktree delivery.
In this repository13 other files it gives its agents.
- composeSkill
- decisionSkill
- eval-librarySkill
- lulu-approachSkill
- lulu-archSkill
- lulu-betSkill
- lulu-blueprintSkill
- lulu-brainstormSkill
- lulu-designSkill
- lulu-planSkill
- lulu-specSkill
- lulu-tasksSkill
- lulu-workflowSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
If the workflow cannot advance: stop (no retry, skip, or workaround), report the reason (stderr, exit code, or TASK_FAILED), and wait for …
- Very specific: line 22
Do NOT proceed until you have read ../_runtime.md and loaded:
- Very specific: line 30
Do NOT proceed until you have read ../_subagent.md </HARD-GATE>
- Distinctive: line 43
Run entry recovery probe, branch on stdout JSON:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
code-workflow
Overview
Execute work-order tasks by kind. One task per sub-agent. coding runs in an isolated git worktree with TDD and a commit contract. action reaches a stated goal and records a receipt with evidence for every acceptance criterion; it runs in the project root unless the task names a worktree. Then a closing gate before delivery.
Blocking policy
If the workflow cannot advance: stop (no retry, skip, or workaround), report the reason (stderr, exit code, or TASK_FAILED), and wait for user direction before continuing.
Prerequisites
<HARD-GATE>
Do NOT proceed until you have read `../_runtime.md` and loaded:$SKILL_ROOT,$WORKFLOW_DIR,$PLATFORM,$CACHE_DIRfrom## Platform Context$SKILL_DIR=$SKILL_ROOT/lulu-exec(before Session Foundation)- Feature identification logic from
## Session Foundation</HARD-GATE>
<HARD-GATE>
Do NOT proceed until you have read `../_subagent.md`
</HARD-GATE>Commands
/lulu-exec [<cycle_id>] — Entry point
Derive $CYCLE_ID via _runtime.md § Session Foundation, or use the explicit <cycle_id> argument if provided.
<HARD-GATE>
`$CYCLE_ID` must be resolved before proceeding. If it cannot be resolved → stop and ask the user to provide it.
</HARD-GATE>Run entry recovery probe, branch on stdout JSON:
python3 "$SKILL_DIR/scripts/tc_session_control.py" \
--cycle-dir "$CACHE_DIR/$CYCLE_ID" \
check-recoveryrecoverable: false→ ## Startingrecoverable: true:- Feature container (
$CYCLE_TYPE == feature): Announcecurrent_state,active_session, andcurrent_task(Executing only); auto-resume into ##{resume_section}— do not ask Yes/No. - Topic container (
$CYCLE_TYPE == topic): Show the same fields; ask to resume. Yes → ##{resume_section}· No → ## Starting.
- Feature container (
lulu-exec is on the feature stage line only (
transition-table.json); topic exception documents fallback if/lulu-execis invoked on a topic cycle.
State machine
Session states: Starting → Preparing → Executing → Closing → Delivered
Task phases live in the runner for $CTX.kind. Do not run the TDD chain for action.
Starting
Step 1: Run start.py
python3 "$SKILL_DIR/scripts/tc_start.py" \
--cycle-id "<cycle_id>"On non-zero exit: Apply § Blocking policy.
Exit: start.py succeeds → proceed to § Preparing.
Preparing
Load references/preparing.md.
Executing
Load references/executing.md.
Closing
Feature container ($CYCLE_TYPE == feature): Auto-complete delivery — run deliver without user confirmation.
Topic container ($CYCLE_TYPE == topic): Wait for explicit user confirmation before running deliver.
Run:
python3 "$SKILL_DIR/scripts/tc_session_control.py" \
--cycle-dir "$CACHE_DIR/$CYCLE_ID" \
deliverPrecondition:
current_statemust be Closing (enforced by script). On non-zero exit: Apply § Blocking policy.
Exit: deliver succeeds → § Delivered.
Delivered
Session complete; stop.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

