Skip to content

Commit a49b7e8

Browse files
Kasper JungeKasper Junge
authored andcommitted
boom
1 parent 9290c04 commit a49b7e8

4 files changed

Lines changed: 43 additions & 2 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ __pycache__/
77
.claude/
88
.worktrees/
99
site/
10+
video-edit-projects/
11+
work/
12+
workspaces/
13+
docs/diary/
14+
.DS_Store

docs/concepts.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ derived artifact in `workspace.json`. Sources are referred to by manifest id
7878
(`src-1`, `src-2`, …) in plans and notes, and can carry a `--role` label
7979
(`camera-a`, `screen`, `mic-guest`).
8080

81+
The companion agent skill defaults new jobs to
82+
`<project-root>/video-edit-projects/YYYY-MM-DD-<source-id-or-slug>/`, with the CLI
83+
workspace in its `edit/` directory. This is a visible agent convention; the CLI
84+
itself continues to require explicit paths and honors any location chosen by the
85+
user.
86+
8187
## Edit plans
8288

8389
A plan is an ordered keep-list, compiled deterministically to FFmpeg. Each

skills/video-edit-cli/SKILL.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ installed separately.
3434
capabilities apply.
3535
Resolve failed dependency checks before expensive work.
3636
3. **Set up a workspace.** Read [references/workspace.md](references/workspace.md),
37-
then `video-edit-cli workspace init`. Done when `workspace.json` lists every
38-
source with its hash.
37+
announce the chosen project path, then reuse a matching project or run
38+
`video-edit-cli workspace init`. Default to
39+
`<project-root>/video-edit-projects/YYYY-MM-DD-<source-id-or-slug>/edit/`
40+
unless the user specifies another location. Done when `workspace.json` lists
41+
every source with its hash.
3942
4. **Inspect the media.** `probe` every source; gather audio, proxies, frames,
4043
filmstrips, waveforms, or range previews as decisions require. For dialogue
4144
media read [references/transcription.md](references/transcription.md) and

skills/video-edit-cli/references/workspace.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Workspace conventions
22

3+
## Default project location
4+
5+
Unless the user specifies another destination, keep each editing job under the
6+
current project root:
7+
8+
```text
9+
<project-root>/video-edit-projects/YYYY-MM-DD-<source-id-or-slug>/
10+
source/ downloaded or copied immutable source media
11+
edit/ video-edit-cli workspace root
12+
deliverables/ optional handoff copies and accompanying text
13+
```
14+
15+
Prefix the job directory with its local creation date in ISO format, then append
16+
a stable, filesystem-safe external identifier when one exists (for example,
17+
`2026-07-14-r1Kh5WssSPg` for a YouTube video); otherwise append a concise
18+
source-derived slug. Before initializing, tell the user which path you will use.
19+
Search existing `video-edit-projects/*/edit/workspace.json` manifests first and
20+
reuse a project whose registered source path or SHA-256 matches, even on a later
21+
date, instead of creating a duplicate. Never silently combine unrelated sources
22+
into an existing project.
23+
24+
This location is an agent convention, not hidden CLI state: continue to pass the
25+
explicit `--root`, `--workspace`, input, and output paths to every command. A
26+
user-provided location always overrides the convention.
27+
28+
## CLI workspace layout
29+
330
`video-edit-cli workspace init --root <path> --source <file>...` creates:
431

532
```text

0 commit comments

Comments
 (0)