From 65ee8eb1dcae03a9608bd18e337b373e5ceb25e5 Mon Sep 17 00:00:00 2001 From: wantsong Date: Fri, 26 Jun 2026 06:19:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=AA=92=E4=BD=93=E8=B5=84?= =?UTF-8?q?=E4=BA=A7=E5=85=A5=E5=BA=93=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 18 ++++++++++++++++++ AGENTS.md | 3 +++ docs/workflows/slide-task-orchestration.md | 3 +++ 3 files changed, 24 insertions(+) diff --git a/.gitignore b/.gitignore index 27f7c22..da470e1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,21 @@ tmp/* garden-gpt-image-2/* !garden-gpt-image-2/.gitkeep + +# Generated / discarded project assets +projects/**/slides/s*/*.png +projects/**/slides/s*/*.jpg +projects/**/slides/s*/*.jpeg +projects/**/slides/s*/*.webp +projects/**/slides/s*/*.gif +projects/**/slides/s*/*.mp4 +projects/**/slides/s*/*.mov +projects/**/slides/s*/*.avi +projects/**/slides/s*/*.mkv +projects/**/slides/s*/*.wav +projects/**/slides/s*/*.mp3 +projects/**/slides/s*/*.m4a +projects/**/renders/** +projects/**/exports/** +projects/**/videos/** +projects/**/archive/** diff --git a/AGENTS.md b/AGENTS.md index 2ed1eba..3ea8983 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -152,9 +152,12 @@ Rules: - `sNN-vN-design.md` is Chinese by default. If an English design companion is needed, write `sNN-vN-design-en.md` beside it; the English file supplements but does not replace the default Chinese design. - For design-gated slides, write `design` first and wait for user confirmation before writing `brief`, `prompt`, or generating the image, unless the user explicitly authorizes the full chain in one task. - `visual-system/` is the production authority for slide work. +- `intake/` and `visual-system/` are project source authorities and should stay in Git, including approved reference images. - Style continuity must use `visual-system/style/style-prompt-master.md`. - Character continuity must use `visual-system/characters/character-reference-registry.md` and active character image references. - Visible character identity cannot be generated from text-only prompts when identity matters. - Slide prompts must use the `gpt-image-2` Skill Advisor / host-native workflow. +- In `slides/sNN/`, keep Markdown control/script artifacts in Git, but treat generated images, audio, and video as asset-layer files that are ignored by default and recorded by path/hash/status in control files. +- Project `archive/` directories are for discarded images and discarded documents by default. Do not add them to Git unless the user explicitly promotes a specific archived item back into `intake/`, `visual-system/`, or another source-authority location. - New slide-task execution must append the next unused `sNN-vN-*` version and must not overwrite existing slide artifacts unless the user explicitly authorizes an overwrite repair for named files. - Review defaults to `none` in production-light and local-only in test/audit or explicit review tasks. Do not call Minimax MCP or other external vision/review services unless the user explicitly authorizes that task. diff --git a/docs/workflows/slide-task-orchestration.md b/docs/workflows/slide-task-orchestration.md index aed5aaf..f0c6eec 100644 --- a/docs/workflows/slide-task-orchestration.md +++ b/docs/workflows/slide-task-orchestration.md @@ -116,6 +116,9 @@ Rules: - `tasks//` records orchestration and agent communication. - `slides/sNN/` remains the durable home for slide artifacts. +- In `slides/sNN/`, Markdown control/script artifacts are Git-tracked by default; generated image, audio, and video files are asset-layer outputs ignored by default and referenced from control files by path, status, and hash when needed. +- `intake/` and `visual-system/` are source-authority areas and should stay in Git, including approved reference images. +- `archive/` is for discarded images and discarded documents by default. Do not add archive contents to Git unless the user explicitly promotes a specific item back into a source-authority area. - Task records link to slide artifacts by path and should not duplicate full prompts. - `production-run-status.md` is the compact continuation surface for multi-package production. It records scope, completed units, active child session, next cursor, latest callback, and stop conditions. - Task records do not own the slide version number. Before each slide run, resolve the next unused `sNN-vN-*` version from the existing files in `slides/sNN/`, then write only that new version.