feat: add cognitive-os ECC bundle - #29
Conversation
…ited/cognitive-os-instincts.yaml)
Reviewer's GuideThis PR adds an ECC-generated, repo-local configuration bundle for Claude Code and Codex, including mirrored development skills, optional learning instincts, MCP and multi-agent defaults, and supporting installation and identity metadata. Sequence diagram for repository-aware agent workflowssequenceDiagram
participant User
participant Claude as Claude Code
participant Codex as Codex CLI
participant Skill as cognitive-os skill
participant MCP as MCP services
participant Agents as Read-only agents
User->>Claude: Work on repository
Claude->>Skill: Load repository conventions
Skill-->>Claude: Return architecture, testing, and commit guidance
User->>Codex: Run repository task
Codex->>Skill: Load mirrored repository skill
Codex->>MCP: Use configured GitHub, docs, search, or browser tools
Codex->>Agents: Delegate exploration, review, or docs verification
Agents-->>Codex: Return evidence and findings
Codex-->>User: Provide task result
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path=".codex/AGENTS.md" line_range="3" />
<code_context>
+# ECC for Codex CLI
+
+This supplements the root `AGENTS.md` with a repo-local ECC baseline.
+
+## Repo Skill
</code_context>
<issue_to_address>
**issue (bug_risk):** When Codex is launched from the repository root, it does not discover `.codex/AGENTS.md` as an instruction file because that file is in a child directory rather than the current directory or one of its parents. The repo-local skill, MCP guidance, and multi-agent instructions in this file therefore are not applied to ordinary repository work.
**Triggers:** When Codex is invoked from the repository root or another directory outside `.codex`.
**Suggested fix:** Put the repo-wide Codex instructions in the root `CODEX.md`/`AGENTS.md`, or explicitly configure Codex to load `.codex/AGENTS.md` if that is supported by the target CLI.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: .codex/AGENTS.md:3
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
| @@ -0,0 +1,26 @@ | |||
| # ECC for Codex CLI | |||
|
|
|||
| This supplements the root `AGENTS.md` with a repo-local ECC baseline. | |||
There was a problem hiding this comment.
issue (bug_risk): When Codex is launched from the repository root, it does not discover .codex/AGENTS.md as an instruction file because that file is in a child directory rather than the current directory or one of its parents. The repo-local skill, MCP guidance, and multi-agent instructions in this file therefore are not applied to ordinary repository work.
Triggers: When Codex is invoked from the repository root or another directory outside .codex.
Suggested fix: Put the repo-wide Codex instructions in the root CODEX.md/AGENTS.md, or explicitly configure Codex to load .codex/AGENTS.md if that is supported by the target CLI.
Summary
Auto-generated ECC bundle from repository analysis.
What This Does
Merging this PR adds repo-local ECC artifacts for both Claude Code and Codex. The generated bundle captures repository patterns, Codex baseline config, and reusable workflow scaffolds derived from git history analysis.
Analysis Scope
Files
.claude/ecc-tools.json.claude/skills/cognitive-os/SKILL.md.agents/skills/cognitive-os/SKILL.md.agents/skills/cognitive-os/agents/openai.yaml.claude/identity.json.codex/config.toml.codex/AGENTS.md.codex/agents/explorer.toml.codex/agents/reviewer.toml.codex/agents/docs-researcher.toml.claude/homunculus/instincts/inherited/cognitive-os-instincts.yamlOptional: Continuous Learning (6 instincts)
This PR also includes instincts for the continuous-learning-v2 skill. These are optional and only useful if you use that skill.
Import after merging:
Review Checklist
ECC Tools | Everything Claude Code
Summary by Sourcery
Add generated ECC configuration, skills, and workflow guidance for Claude Code and Codex use in the repository.
New Features:
Enhancements: