Write handover snapshots under docs and ignore worktrees
This commit is contained in:
+3
-3
@@ -8,10 +8,10 @@ This file holds accepted, scoped implementation work. It is not a speculative ba
|
||||
|
||||
- Status: Implementation-ready / awaiting Captain validation
|
||||
- Objective: Provide a repeatable local script that archives the project into a ZIP suitable for ChatGPT handover.
|
||||
- Scope: Add the script under `scripts/`, write ZIPs under `snapshots/`, add `snapshots/` to a root `.gitignore`, and provide brief usage documentation. Include project source and context, including uncommitted documentation, while excluding generated dependencies, local environments, runtime data, secrets, Git metadata, and prior archives.
|
||||
- Scope: Add the script under `scripts/`, write ZIPs under `docs/snapshots/`, add `docs/snapshots/` and `.worktrees/` to a root `.gitignore`, and provide brief usage documentation. Include project source and context, including uncommitted documentation, while excluding generated dependencies, local environments, runtime data, secrets, Git metadata, and prior archives.
|
||||
- Non-goals: Change application behavior, deploy, upload the ZIP, or alter repository history.
|
||||
- Acceptance criteria: One documented command creates a ZIP in `snapshots/`; a root `.gitignore` ignores that folder; its contents include application source and the six context files; `node_modules`, `.venv`, `api/share`, local environment files, database/runtime files, `.git`, caches, and generated output are absent; repeated runs do not include earlier ZIPs.
|
||||
- Relevant areas: `scripts/`, `snapshots/`, root `.gitignore`, `api/`, `react/`, `docs/`, and existing ignore rules.
|
||||
- Acceptance criteria: One documented command from the project root creates a ZIP in `docs/snapshots/`; a root `.gitignore` ignores that folder and `.worktrees/`; its contents include application source and the six context files; `node_modules`, `.venv`, `api/share`, local environment files, database/runtime files, `.git`, caches, and generated output are absent; repeated runs do not include earlier ZIPs.
|
||||
- Relevant areas: `scripts/`, `docs/snapshots/`, root `.gitignore`, `api/`, `react/`, `docs/`, and existing ignore rules.
|
||||
- Dependencies and unresolved decisions: Captain selected the script and ZIP locations and approved this task's branch/worktree convention. The script includes safe untracked files, including the context files. Captain review remains before completion; merge and release conventions remain pending in `DECISIONS.md`.
|
||||
- Risks: Accidental inclusion of secrets or shared files; omission of useful untracked context. The script needs an explicit exclusion list and archive-content inspection.
|
||||
- Validation plan: Create a sample ZIP, list its entries, check required inclusions and forbidden paths, and run a second snapshot to verify prior ZIPs stay excluded. Review the task diff against the approved base.
|
||||
|
||||
Reference in New Issue
Block a user