CCFG
AGENTS.md2 starsChanged 6 months agoMITView on GitHub
CFG is this project's active Codex operating framework. It is a deep-modified version of CCGS. /window-cfg is the current multi-window entry, and /skill-create-cfg is the current Skill governance entry. docs/ccgs-* are historical document paths that still host active CFG documentation. This file is the stable runtime entrypoint for Codex in this repository. It defines durable operating rules and links to authoritative sub-systems. It does not contain mutable project canon, current work orders, lane handoffs, or director verdict methods. The inherited…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository16 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- art-bibleSkill
- brainstormSkill
- bug-reportSkill
- code-reviewSkill
- create-architectureSkill
- design-systemSkill
- director-reviewSkill
- gate-checkSkill
- helpSkill
- release-checklistSkill
- setup-engineSkill
- skill-create-cfgSkill
- startSkill
- visual-dev-methodologySkill
- window-cfgSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
Use PowerShell 7+ (pwsh); avoid WindowsApps/MSIX launch targets when they cause shell issues.
- Distinctive: line 80
Every substantial task follows: Goal -> Scope -> Guided Design Interview -> Detailed Plan/Doc -> Approval -> Execute -> Verify.
- Distinctive: line 93
No commits without user instruction or an explicit lane checkpoint policy recorded in the relevant lane.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CFG Runtime Charter
CFG is this project's active Codex operating framework. It is a deep-modified
version of CCGS. /window-cfg is the current multi-window entry, and
/skill-create-cfg is the current Skill governance entry. docs/ccgs-* are
historical document paths that still host active CFG documentation.
This file is the stable runtime entrypoint for Codex in this repository. It defines durable operating rules and links to authoritative sub-systems. It does not contain mutable project canon, current work orders, lane handoffs, or director verdict methods.
The inherited 49 CCGS studio agents have been removed from the project layer and archived outside the repository. CFG does not simulate a 49-person studio by default. Future specialist perspectives must be added back only when there is a real need, as a Skill, a narrow agent, or another explicit tool.
Technology Stack
- Engine: Godot 4.6.2
- Language: GDScript
- Version Control: Git with trunk-based development
- Build System: SCons (engine), Godot Export Templates
- Asset Pipeline: Godot Import System + custom resource pipeline
Local Tool Paths
- Set your local Godot executable path in AGENTS.local.md or update this section after cloning.
- For command-line export and headless tasks, use your local Godot console executable.
Shell Tooling
- Use PowerShell 7+ (
pwsh); avoid WindowsApps/MSIX launch targets when they cause shell issues. - For complex PowerShell with
$,$_, regex, or backticks, avoid nested double-quoted-Command "..."; use single-quoted-Command '...', simpler commands, or a script file.
Note: Engine-specialist agents exist for Godot, Unity, and Unreal with dedicated sub-specialists. Use the set matching your engine.
Project Structure
@.codex/docs/directory-structure.md
Engine Version Reference
@docs/engine-reference/godot/VERSION.md
Technical Preferences
@.codex/docs/technical-preferences.md
Coordination Rules
@.codex/docs/coordination-rules.md
CFG Authority Map
- Project canon:
production/project-canon.md - Director verdict method:
.agents/skills/director-review/SKILL.md - Work orders:
production/work-orders/ - CFG operating checklist:
.codex/docs/cfg-operating-checklist.md - Multi-window protocol:
.codex/docs/multi-window-workflow.md - Skill routing:
.codex/docs/skill-route-index.yaml - Generated artifact governance:
.codex/docs/generated-artifact-governance.md - Checkpoint policy:
.codex/docs/git-checkpoint-workflow.md
D-director is the cross-line verdict lane for player experience, visual
quality, motion readability, and canon consistency. A-producer coordinates
scope, sequence, and records. B-dev owns runtime/program evidence, including
current smoke checks; C-art owns visual evidence, including screenshots,
compare grids, and visual smoke checks. No separate QA lane is created by
default at this stage.
User Language Contract / 用户语言契约
任何需要用户/制作人理解、确认或审计的产出,必须使用当前用户语言。范围包括工单、verdict、blocker/request 留言、canon 更新说明、lane handoff 摘要和最终回报。工单虽然由执行窗口读取,但它也是制作人可审计的指令文件,所以同样受此规则约束。代码标识符、参数名、文件路径、shader uniform、引擎 API、commit 技术标识符保留原文拼写。
Collaboration Protocol
User-driven collaboration, not micro-approval. Every substantial task follows: Goal -> Scope -> Guided Design Interview -> Detailed Plan/Doc -> Approval -> Execute -> Verify.
- Agents MUST clarify the user's goal and the production functions Codex should cover for this task, such as engineering, design, art direction, audio, writing, tuning, level design, tools, QA, or operations.
- For design-heavy tasks, Agents MUST preserve deep guided co-design. Run as much interview as the design needs, explain trade-offs and recommendations, and make each question advance direction, landing, tools, risk, or acceptance criteria before drafting the final package.
- Agents MUST turn the agreed scope into a detailed plan or document before execution when the task changes design, architecture, production content, or multiple files.
- Agents SHOULD avoid drip-feed MVP thinking. Define the first complete playable or validation scope with its needed design, tools, assets, tests, risks, and acceptance criteria before building.
- Once the user approves the plan or changeset, Agents SHOULD execute all low-risk writes inside that approved scope without asking again for each small file, directory, or section.
- Agents MUST ask again before going outside the approved scope, making irreversible/destructive changes, publishing, deleting, broad staging, changing branch strategy, or making high-risk architecture/design decisions.
- Multi-file changes require one explicit approval for the full changeset, not repeated per-file approvals.
- Ownership handoff does not remove professional dissent. If another lane or agent owns an artifact, development/Z-platform should still raise concerns when a requested change risks framework correctness, user experience, release safety, privacy, rollback ability, or long-term maintainability.
- No commits without user instruction or an explicit lane checkpoint policy recorded in the relevant lane. Checkpoint commits must stage only named files and include lane, scope, verification, and rollback information.
See docs/COLLABORATIVE-DESIGN-PRINCIPLE.md for full protocol and examples.
First session? Run
/start. If the project has no lane state yet,/startbootstraps the initialA-producerlane and then continues the guided onboarding flow. Use/window-cfgfor later window recovery, updates, audits, compaction, or additional lanes.
Coding Standards
@.codex/docs/coding-standards.md
Context Management
@.codex/docs/context-management.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

