Release v0.1.0: context codes and readable archive file names.

- registry.yaml maps codes (w1-1, w1.git.001) to sessions and stable paths
- Markdown files named {code}--{slug}.md for Cursor @ picker
- Selective export/import via --context and --mask
- cam code list|set|show for manual code assignment
- Re-export updates same file per context code

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
14 changed files with 969 additions and 268 deletions
+18 -9
View File
@@ -1,31 +1,40 @@
# CAM configuration example
# Version: 0.0.1
# Version: 0.1.0
#
# Copy to config/workstations/<your-hostname>.yml or config/workstations/local.yml
# Do not commit workstation-specific files with real paths to the public CAM repo.
workstation:
# Short identifier for manifest metadata (no secrets)
id: "example"
label: "Example workstation"
# Workstation index for context codes (w1-1, w1.git.001)
index: "w1"
project:
# Absolute path to the project root opened in Cursor
root: "/path/to/your/project"
name: "your-project"
cursor:
# Optional override for ~/.cursor (default: user home)
# home: "~/.cursor"
# Optional explicit transcripts path; if omitted, derived from project.root:
# transcripts_dir: "~/.cursor/projects/<cursor-project-slug>/agent-transcripts"
# transcripts_dir: "~/.cursor/projects/<slug>/agent-transcripts"
export:
# Relative to project.root unless absolute
output_dir: "docs/cursor_agents"
# INDEX.md language: en | ru
index_language: "en"
import:
# When false, existing Cursor transcript files are not overwritten
overwrite_existing: false
context:
# Include workstation index in auto codes: w1-1 (true) vs 1 (false)
prefix_workstation: true
# Auto code for new main sessions: {ws}=workstation.index, {seq}=counter
auto_format: "{ws}-{seq}"
# Auto code for subagents: {parent}=parent code, {seq}=counter
subagent_format: "{parent}.{seq}"
slug_max_length: 50
# Remove legacy UUID-named markdown files on export
cleanup_legacy_files: true
registry:
file: "registry.yaml"
+11 -5
View File
@@ -1,20 +1,26 @@
# macOS workstation example for CAM
# Copy: cp config/workstations/macos.example.yml config/workstations/local.yml
# macOS workstation example
# cp config/workstations/macos.example.yml config/workstations/local.yml
workstation:
id: "macos-dev"
label: "macOS development machine"
index: "w1"
project:
root: "/Users/you/projects/your-project"
name: "your-project"
cursor:
# home: "~/.cursor"
export:
output_dir: "docs/cursor_agents"
index_language: "en"
import:
overwrite_existing: false
context:
prefix_workstation: true
auto_format: "{ws}-{seq}"
subagent_format: "{parent}.{seq}"
registry:
file: "registry.yaml"
+13 -3
View File
@@ -1,10 +1,10 @@
# CRM3-26 project — macOS workstation nt-041
# Copy: cp config/workstations/nt-041.example.yml config/workstations/nt-041.yml
# File nt-041.yml is gitignored (local paths only).
# CRM3-26 — macOS workstation nt-041
# cp config/workstations/nt-041.example.yml config/workstations/local.yml
workstation:
id: "nt-041"
label: "nt-041 macOS"
index: "w1"
project:
root: "/Users/you/projects/crm3-26"
@@ -16,3 +16,13 @@ export:
import:
overwrite_existing: false
context:
prefix_workstation: true
auto_format: "{ws}-{seq}"
subagent_format: "{parent}.{seq}"
slug_max_length: 50
cleanup_legacy_files: true
registry:
file: "registry.yaml"