8f21873d45
Co-authored-by: nova28 <17953305+nova28@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
2.6 KiB
2.6 KiB
id, title, status, wave, depends_on, plan, requirements, acceptance_criteria, system_design
| id | title | status | wave | depends_on | plan | requirements | acceptance_criteria | system_design | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 05-adr-and-docs | Reclamation ADR and shipped-behavior documentation | done | 3 |
|
plan.md | ../../specs/executors/requirements/remote-task-directory-reclamation.md |
|
../../specs/executors/system-design/remote-task-directory-reclamation.md |
Task 05: Reclamation ADR and shipped-behavior documentation
Summary
Record the two durable decisions in an ADR, and update the one public document
that describes shipped user-visible behavior. The AGENTS.md correction and the
spec.md scope move ship with the design package rather than here.
Scope
- New ADR via
/record decisioncovering: (a) reclamation is opt-in per executor profile and defaults off, because existing hosts hold directories created under a documented no-delete promise and an upgrade must not retroactively break it; (b) the removal lives in the durable task-resource cleanup job rather thanSSHExecutor.StopInstance, because the stop path is per-session, swallows errors for terminal targets, and lacks the task graph needed for ownership. docs/public/feature-status.mdSSH executor row updated to describe the shipped behavior, replacing the current "automatic directory deletion are not provided" clause.docs/decisions/INDEX.mdentry.
Exclusions
apps/backend/AGENTS.mdanddocs/specs/executors/system-design/ssh-executor.mdare corrected as part of the design package, not here.
Implementation acceptance conditions
- The ADR states both decisions with their rejected alternatives.
- The feature-status SSH row describes reclamation as opt-in per profile, gated on unpushed-work and ownership checks, and terminal-outcome-only.
- No Unicode em dash in changed user-facing lines.
Verification
python3 scripts/lint-spec-files.py --all
Files likely touched
docs/decisions/<adr-id>.md(new)docs/decisions/INDEX.mddocs/public/feature-status.md
Dependencies
Task 03 — the docs describe behavior that must exist first.
Inputs
- Requirements
REQ-SSH-TASKDIR-RECLAMATION-005and-006for the rationale. /docs-maintainerfor the public-docs pass.
Risks
Documenting the feature as on-by-default would mislead operators into thinking their disk is being reclaimed when it is not.
Safety
No deletion path is reachable from this task.
Output contract
Set status to done, tick the box in plan.md, and report the ADR ID and the
documents changed.