teardown
Remove the aweek heartbeat and/or the .aweek/ data directory from a project
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Remove the aweek heartbeat and/or the .aweek/ data directory from a project
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Show the project's `.aweek/config.json` knobs (plus the hardcoded scheduler/lock constants the dashboard surfaces) and edit the config-backed fields with a confirmation gate
Edit an agent's free-form planning markdown and adjust weekly tasks from a single entry point
Manage Google-Calendar-style recurring tasks per agent — daily/weekly/biweekly/monthly rules that expand into occurrences on the calendar and execute through the heartbeat loop
Agent → CEO report. Send a status report or question to the user (CEO) on behalf of an agent. Notifies the dashboard inbox and, when a Slack `ceoChannel` is configured, pushes a Slack message.
Bootstrap an aweek-branded Slack app and persist its credentials so the embedded SlackAdapter inside `aweek serve` can chat with the project's Claude through Slack
Set up an aweek project — create the data directory and optionally install the scheduled heartbeat (launchd on macOS, crontab elsewhere)
| name | teardown |
| description | Remove the aweek heartbeat and/or the .aweek/ data directory from a project |
| trigger | aweek teardown, teardown aweek, uninstall aweek, remove heartbeat, remove aweek, aweek uninstall |
Remove aweek from a project. Two operations are available:
Remove heartbeat only — uninstalls the launchd user agent (macOS) or
crontab line (Linux) without touching agent data. Agents pause until the
heartbeat is re-installed via /aweek:setup.
Full uninstall (heartbeat + data) — removes the heartbeat AND deletes
the .aweek/ data directory. This is irreversible — all agent configs,
weekly plans, activity logs, and budget history are deleted permanently.
Both operations are destructive and require explicit AskUserQuestion
confirmation before the dispatcher will run them.
This skill is a thin UX wrapper on top of src/skills/teardown.ts. Never
remove .aweek/ or the heartbeat directly — always go through this skill so
the confirmation gate is enforced.
Per project policy, every destructive operation requires explicit user
confirmation before confirmed: true is passed to the adapter.
| Operation | Destructive | Confirmation required |
|---|---|---|
| Remove heartbeat | Yes — stops automated agent execution | Yes |
Remove .aweek/ data dir | Yes — permanent data loss | Yes |
You MUST follow this exact workflow. Use AskUserQuestion for every
interactive prompt.
Ask the user which teardown operation to perform:
AskUserQuestion:
"What would you like to remove?"
options:
- value: heartbeat
label: "Remove heartbeat only"
description: "Uninstall the launchd user agent (macOS) or crontab line. Agent data stays on disk."
- value: full
label: "Full uninstall (heartbeat + .aweek/ data)"
description: "Remove the heartbeat AND delete .aweek/. All agent configs, plans, and logs are permanently deleted."
- value: cancel
label: "Cancel"
description: "Do nothing."
If the user picks cancel, stop here.
Show the user a clear preview of what will be deleted, then ask for
explicit confirmation via AskUserQuestion:
Heartbeat-only path:
This will uninstall the 10-minute heartbeat for this project.
Agents will stop auto-executing until the heartbeat is re-installed
via /aweek:setup.
Confirm?
- yes — remove the heartbeat
- no — cancel
Full uninstall path:
This will:
1. Uninstall the 10-minute heartbeat.
2. Delete .aweek/ and all its contents — agent configs, weekly plans,
activity logs, budget history — permanently.
This CANNOT be undone.
Confirm?
- yes — full uninstall
- no — cancel
Only proceed when the user explicitly answers yes.
Heartbeat only:
echo '{"confirmed":true}' \
| aweek exec teardown removeHeartbeat --input-json -
Full uninstall:
echo '{"confirmed":true}' \
| aweek exec teardown teardown --input-json -
The response has this shape:
{
"ok": true,
"backend": "launchd",
"outcome": "removed",
"projectDir": "/path/to/project"
}
For the full teardown the response includes both heartbeat and project
sub-objects:
{
"ok": true,
"heartbeat": { "ok": true, "backend": "launchd", "outcome": "removed", "projectDir": "..." },
"project": { "ok": true, "removed": "/path/to/.aweek", "existed": true }
}
Print a final summary:
Heartbeat only:
=== aweek teardown ===
Heartbeat : removed (launchd)
Agents will no longer run automatically. To re-install the heartbeat,
run /aweek:setup.
Full uninstall:
=== aweek teardown ===
Heartbeat : removed (launchd)
Data dir : deleted (.aweek/)
aweek has been removed from this project. Run /aweek:setup to start
fresh.
outcome: "absent"
— this is not an error. Report "Heartbeat was not installed" and continue..aweek/ does not exist, removeProject returns existed: false —
report "Data directory was not present" and continue.