-
-
Notifications
You must be signed in to change notification settings - Fork 1
Contributing‐Guide
Back to M-COP WIKI | See also: Installation-and-Quickstart | API-Reference
Thank you for advancing the triad. This guide keeps contributions deterministic, auditable, and easy to review.
The repository is a multi-language monorepo: a Next.js 16 / React 19 TypeScript surface, a
packages/core/ESM+CJS distribution, and a Python implementation undermcop_package/.
All contributors are expected to maintain respectful, constructive interactions. See CODE_OF_CONDUCT.md for full details.
git clone https://github.com/<YOUR_USERNAME>/MCOP-Framework-2.0.git
cd MCOP-Framework-2.0nvm use # picks 20.11.0 from .nvmrc
corepack enable
corepack prepare pnpm@9.15.0 --activatepnpm install # use plain install (not --frozen-lockfile) for contributor setupcp .env.example .env
# Fill in required API keys and configurationpnpm dev # Start dev server
pnpm build # Production build
pnpm test # Run Jest tests
pnpm lint # ESLint + Prettier
pnpm typecheck # TypeScript strict checkMCOP-Framework-2.0/
├── src/
│ ├── app/ # Next.js 16 App Router routes + server components
│ ├── core/ # Triad kernels: NovaNeoEncoder, StigmergyV5, HolographicEtch
│ └── adapters/ # Universal Adapter Protocol implementations
├── packages/core/ # ESM+CJS TypeScript distribution (@kullailabs/mcop-core)
├── mcop_package/ # Python implementation (mirrors TypeScript core)
├── docs/
│ ├── adapters/ # Adapter specs (UNIVERSAL_ADAPTER_PROTOCOL.md)
│ ├── adr/ # Architecture Decision Records
│ ├── api/ # Generated TypeDoc
│ ├── audits/ # Audit logs
│ ├── benchmarks/ # Performance benchmarks
│ ├── whitepapers/ # Technical whitepapers
│ └── planning/ # Roadmap and planning docs
├── examples/ # Runnable adapter examples
├── config/examples/ # Sample configuration files
├── tests/ # Jest + Cypress test suite
├── scripts/ # Build and validation scripts
└── cypress/ # E2E test configuration and specs
-
Base branch:
main -
Branch naming conventions:
-
feature/<short-description>— new features -
bugfix/<short-description>— bug fixes -
chore/<short-description>— maintenance, deps, config -
docs/<short-description>— documentation only -
refactor/<short-description>— code refactors without behavior changes
-
- Strict TypeScript (
"strict": truein tsconfig) - Explicit return types on all exported functions
- Functional components only (no class components)
- Import order: external packages →
@/*path aliases → relative imports - Component files must remain under 250 lines
- Use path alias
@/instead of deep relative imports
- Tailwind utility classes by default
- Custom CSS only in
globals.css - Always respect
prefers-reduced-motionfor animations - WCAG 2.2 AA accessibility: keyboard focus,
aria-liveregions, semantic landmarks
- Linting:
ruffwith line length 100 - Type checking:
mypy --strict - Style: PEP 8 + PEP 257 (docstrings)
Follows Conventional Commits:
<type>(<scope>): <short summary>
[optional body]
[optional footer]
Types: feat, fix, chore, docs, refactor, test, perf, ci
Examples:
feat(stigmergy): add decay factor to pheromone traces
fix(encoder): correct entropy normalization for empty input
chore(deps): bump @kullailabs/mcop-core to 0.2.1
docs(wiki): add API Reference page
Every behavior change must ship with a corresponding test.
| Type | Tool | Command | Blocking? |
|---|---|---|---|
| Unit + integration | Jest (jsdom/node) | pnpm test |
Yes |
| Type checking | TypeScript | pnpm typecheck |
Yes |
| Linting | ESLint + Prettier | pnpm lint |
Yes |
| E2E (exploratory) | Cypress | pnpm cypress:run |
No |
| SSR validation | Custom script | scripts/verify-ssr-lcp.mjs |
For LCP changes |
| Hybrid | Jest + Cypress | pnpm test:hybrid |
Yes |
- Current coverage: 96.6%
- All new code paths should be covered
- Tests live in
tests/(Jest) andcypress/(E2E)
Ensure all of the following are green:
pnpm lint
pnpm test
pnpm typecheck
pnpm changeset # document your change for the changelogStructure your PR description using these four sections:
- Context — Why is this change needed? What problem does it solve?
- Change — What exactly was changed? Which files/components?
- Validation — How was this tested? Which test suites pass?
- Risk — Any potential side effects or areas that need careful review?
- Branch is based on latest
main -
pnpm lint,pnpm test,pnpm typecheckall pass - New behavior is covered by tests
- Changeset added (
pnpm changeset) - PR description follows Context → Change → Validation → Risk format
- For LCP-impacting changes:
scripts/verify-ssr-lcp.mjsran - Documentation updated if applicable (docs/, wiki, PLAIN_ENGLISH_GLOSSARY.md)
- All CI checks must pass
- Production deployment approval required (maintainer-triggered)
- Merge is blocked until deployment success is recorded
MCOP uses changesets for versioning and changelog generation.
# After making changes, add a changeset:
pnpm changeset
# Follow the prompt: choose patch/minor/major + describe the change
# Commit the generated .changeset/*.md file with your PRReleases are managed by maintainers. See docs/releases/ for release notes.
-
Bugs: Open an Issue with label
bug. Include: steps to reproduce, expected vs actual behavior, environment details. -
Features: Open an Issue with label
enhancement. Describe the motivation, proposed API/behavior, and any relevant ADR context. -
Security vulnerabilities: See
SECURITY.mdfor responsible disclosure.
Significant architectural decisions are documented as ADRs in docs/adr/. If your contribution involves a meaningful design decision, consider adding or referencing an ADR.
Full details in CONTRIBUTING.md in the repository.
MCOP Framework 2.0 is a flagship AGI infrastructure initiative; institutional research and development budget, representing one of the most ambitiously capitalized open-architecture multi-agent cognitive systems programs in the field of Artificial General Intelligence.
© 2024–2026 KullAILABS / Kuonirad. All rights reserved.
This repository and all associated documentation, source code, architectures, algorithms, and intellectual property contained herein are the exclusive property of KullAILABS and its principals. Unauthorized reproduction, distribution, or commercial use is strictly prohibited without express written authorization.
All research outputs, model weights, and system designs produced under the MCOP Framework 2.0 program are protected under applicable international intellectual property law.
Built with purpose. Engineered for the future of intelligence.
GitHub · Wiki · Issues · KullAILABS
MCOP Framework 2.0 — Advancing the frontier of multi-agent cognitive orchestration.