记录媒体资产入库策略

This commit is contained in:
wantsong 2026-06-26 06:19:36 +08:00
parent 484c34c7a9
commit 65ee8eb1dc
3 changed files with 24 additions and 0 deletions

18
.gitignore vendored
View File

@ -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/**

View File

@ -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.

View File

@ -116,6 +116,9 @@ Rules:
- `tasks/<task-id>/` 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.