Boundaries with Rules and Project Wikis
1. Repository Rules Remain Explicit Top-Level Directives
Project Knowledge does not replace existing Rule files. You continue using platform-native rule mechanisms to declare hard team boundaries, such asAGENTS.md for Codex, CLAUDE.md for Claude Code, or .cursor/rules for Cursor.
Comet never silently modifies your Rule files. When a Rule is cited as a knowledge source, the original Rule file always maintains supreme arbitration authority.
2. Incremental Accumulation Without Bloated Wiki Generation
Project Knowledge does not scan the entire repository to generate a full wiki. Generic implementation details that can be read directly from source code are not stored in knowledge bases to avoid retrieval noise. Project Knowledge preserves only high-value information with real decision impact on future tasks: module boundaries, cross-package dependencies, approved architectural decisions, and regression-tested troubleshooting recipes.Core Capabilities at a Glance
Two Categories of Project Knowledge

1. Project Model: Static Architectural Facts
Project Models describe structural facts verifiable against current codebase evidence:2. Project Policy: Engineering Practices and Decisions
Project Policies capture conventions, constraints, and lessons learned from everyday development and task acceptance:Automated Policy Enforcement (
enforced): When a policy is linked to concrete test or validation commands and executes successfully, it upgrades to the enforced state. In Native workflows, these commands automatically incorporate into the Verify phase, where automated checks enforce the policy.Project Memory: Verified Lessons Recorded Directly by Agents
Project Memory provides lightweight, file-based experience storage within the Project Knowledge system. During troubleshooting or implementation, the Agent can callcomet knowledge query on demand to look up existing project lessons; once a fix is re-verified or a task passes verification, the Agent directly calls comet knowledge remember to record verified debugging or development lessons into the local cache:
--typesupportsfact,decision,pattern,procedure,constraint, andfailure-resolution(defaults topattern);- Reusing an existing title updates the original record without creating a duplicate.
- Lessons persist in a local cached
MEMORY.mdindex and standalone Markdown files without dirtying your Git working tree; - Context manifests prioritize relevant memory summaries, allowing the Agent to expand full texts on demand.
Context Matching and Delivery Flow
- Candidate Filtering: Filters memories by project, active file paths, workflow phases (e.g. Build or Verify), and operations;
- Lightweight Manifest Injection: Injects Context Manifest summaries by default to avoid large amounts of text occupying the context;
- Source Reference Checking: After source files are modified, recorded project knowledge and lessons remain available and are not automatically invalidated by file edits or cross-worktree lookups; when expanded, records show referenced paths and flag files missing from the current workspace so the Agent can verify against current code.
Management and Inspection
Recommended: Visual Management in Dashboard
Launch the local Web console:- Categorized Browsing: Inspect Project Models (topologies) and Project Policies (rules), verifying applicable paths and evidence sources;
- Interactive Retrieval Simulation: Enter a task description (e.g. “Refactor user authentication”) to preview matched knowledge cards, ranking scores, and specific
whyAppliedrationales; - Edit and Rebuild Online: Edit records directly, deprecate outdated entries, or rebuild the local full-text search index with one click.
Command-Line Management (Advanced & CI/CD)
Command-Line Management (Advanced & CI/CD)
Query and maintain project knowledge from scripts or terminal sessions:
Product and Security Boundaries
- Source Code and Tests Take Precedence: Live codebase implementations, configurations, and automated test outcomes maintain supreme authority;
- Platform Rule Compatibility: Continues supporting platform-native Rule files and discovery behaviors;
- Zero Autonomous Side Effects: Project Knowledge provides understanding only, never committing, pushing, or releasing code autonomously;
- Isolation and Deactivation: Can be deactivated from the Dashboard plugin center; deactivation halts retrieval injection without impacting Native or Classic core workflows.

