video-workbench/AGENTS.md

33 lines
1.2 KiB
Markdown

# Video Workbench Agent Rules
## Text Encoding
All local project documents are UTF-8 unless a file explicitly declares another encoding.
When reading Markdown, JSON, YAML, text, handoff, prompt, or discussion files from PowerShell, use explicit UTF-8 by default:
```powershell
Get-Content -LiteralPath <path> -Encoding UTF8
Select-String -Path <path> -Pattern <pattern> -Encoding UTF8
```
When writing text files, preserve UTF-8. Do not rely on PowerShell encoding defaults for Chinese Markdown.
## CCPE Interface
The default external CCPE entrypoint is:
```text
C:\Users\wangq\Documents\Codex\ccpe-system\Interface.md
```
For CCPE setup or invocation work, read that file first, then follow it to:
```text
C:\Users\wangq\Documents\Codex\ccpe-system\runtimes\hybrid\ccpe-agent-consumer-setup.md
```
Do not hardcode old Agent, Lite, Skill, Runtime, or protocol paths as default CCPE entrypoints. Read narrower CCPE artifacts only when the consumer setup contract, a project-local registry, or the active task requires them.
Formal CCPE participant output requires a project-local registry, an invocation packet, a real participant carrier, and returned output saved only after the participant returns. Main-session roleplay is not formal CCPE output.