Code Nucleus
Repository memory for Codex
Build a context capsule for a coding task and inspect the files, tests, scopes, and safety constraints Neutron would send to a coding agent.
Memory Trace
capsule_neutron_code_nucleus_mvp
Neutron repository task capsule
A bounded package of repo rules, file targets, tests, architecture notes, and safety constraints for Codex tasks.
Relevant files
- AGENTS.md
- services/edge-api/src/index.ts
- services/edge-api/src/platformDemo.ts
- ui/landing/app/pages/index.vue
Recommended tests
- pnpm --dir services/edge-api test -- adminRoutes.test.ts codexFixtures.test.ts
- pnpm --dir services/edge-api build
- pnpm --dir ui/landing build
Less repeated discovery
Context capsules reuse stable repo memory.
Better verification
Recommended tests travel with the task context.
Safer memory
Secrets and raw private payloads stay out of demo memory.
Test Plan
- 1Parse source manifest and JSONL fixtures.
- 2Bootstrap demo Nuclei and seed memories.
- 3Ask Codex Q&A and verify sources plus trace fields.
- 4Ask Code Nucleus context and verify files plus tests.
- 5Build edge API and landing app.