The boundary with Rule and the project Wiki
Rule is still an explicit constraint entry
Project Knowledge does not replace Rule. You can continue to write team directives and behavioral constraints through Rule files or Rule directories supported by the target platform, such asAGENTS.md for Codex, CLAUDE.md for Claude Code, .cursor/rules for Cursor, and rule carriers provided by other platforms. The host still loads these contents according to its own scope rules.
Comet does not take over the writing and loading of rules, nor does it silently rewrite rules. When a Rule is configured as a knowledge source, Project Knowledge can refer to the basis and scope of application within it. The original Rule remains evidence for higher-priority projects.
Project Knowledge is accumulated by task and does not generate a complete Wiki
Project Knowledge does not offer the ability to “generate the entire project Wiki with one click”. Comet does not require scanning and interpreting every directory, file, and implementation detail in the repository, nor does it promise to generate human documentation covering the entire project. Project Knowledge is used in scenarios based on the subsequent tasks of the Agent, and only records that can help locate the entry point, complete the scope of changes, understand decisions, or select verification methods are kept. Ordinary details that lack reliable sources, are only valid for the current task, or can be directly read from the source code will not be saved for a long time to fill the knowledge base.Core competence
The core objective of Project Knowledge is to enhance the quality of the initial positioning and the completeness of the scope of changes. Retrieval speed is a means of implementation. The actual effect depends on whether the Agent can find the correct entry point, associated files and verification paths earlier.
Industry Practices and the positioning of Comet
The industry typically provides project context to agents through three types of capabilities:- ** Project Instructions ** : Codex uses
AGENTS.md, Claude Code usesCLAUDE.mdand path-scoped rules, Cursor uses Project Rules They are suitable for preserving the behavioral requirements explicitly written down by the team. - ** Code Index ** : Tools such as Sourcegraph Cody establish code indexes to assist agents in finding symbols and related fragments.
- **Agent Knowledge Layer ** : [Qoder Knowledge Engine x Q0qxz organizes architecture, engineering conventions, and cross-file relationships into reusable project understanding
AGENTS.md to point to structured repository knowledge. Short instructions help maintain focus, while detailed knowledge can be loaded and maintained separately by task.
Comet further divides these three types of capabilities:
- The warehouse Rule stores the explicit Agent instructions of the team.
- Project Knowledge preservation includes the source, scope of application and life cycle of engineering understanding;
- Full-text search and source code search are responsible for recalling relevant candidates.
- Hook, linter, test, build and CI are responsible for implementing deterministic boundaries.
The scope of Project Knowledge records
The content entering the normalized Project Knowledge Record needs to have a source, be able to define the scope of application, and be able to assist subsequent tasks:- Directory, module and workspace topology;
- Facts that can be verified from the current warehouse;
- Dependencies among modules, packages and components;
- Accepted design and product decisions;
- Stabilize the implementation mode and operation process;
- Project constraints and troubleshooting experience.
Two types of Project Knowledge
Project Model: Project Model
The Project Model saves the structure and facts that can be verified from the current project evidence:Project Policy: Project strategy
Project Policy saves engineering practices that have formed project significance:
The Project Policy can enter the
enforced (Verified Constraint) state only after associating the currently existing and successfully executed deterministic validation entry. This status indicates that the project already has tools capable of checking this strategy, and the natural language text is still provided to the Agent as context.

The relationship with rules, hooks and engineering checks
Project Knowledge provides understanding, rules provide instructions, hooks and engineering checks provide deterministic execution.Repository rules, source code, configuration, testing, and inspection are always higher-priority evidence. Comet reads and associates these sources without silently rewriting them.
The way Project Knowledge is formed
Establish a basic Project Model
The Local Provider builds a limited number of Project Models using three types of sources:- Native, Classic and Archive products managed by Comet;
- The identifiable project structure, manifest and configuration can be determined;
- The Markdown document specified by
knowledge.local.include.
include.
Distill project strategies from the execution results
When the Agent performs the task, the Project Policy Learner will handle the following completed events:- The Review conclusion that has been accepted and processed;
- Faults whose root causes have been confirmed, repaired and successfully re-inspected;
- Successfully executed verifications and their actual commands;
- Final decision, stabilization mode, operation process and deprecation items in Change Archive;
- The success, neglect, correction or failure results of Project Knowledge in subsequent tasks.
trial; Content with a definite source or successful re-verification results can be directly entered into proven. trial can also be promoted to proven after successfully assisting with subsequent tasks. Therefore, Project Knowledge is gradually accumulated through actual work and does not rely on generating a complete project description at one time.
Source validity check
Each record retains the project identity, source path, scope of application, source version and verification information. Before the content enters the task, Comet will perform the following checks- When the source content is consistent, the record continues to participate in the search.
- When the source changes, the old conclusion shall cease to be used as the current content.
- When the source is deleted or the selector (applicable condition) becomes invalid, the record enters
superseded. - When the verification command disappears, the original
enforcedstatus becomes invalid. - New evidence forms a new version and retains the substitution relationship with the old version.
Task recall and provision
The Context Director filters candidates by the current project, path, task, operation, phase, type and status, and then sorts them by combining full-text search, limited source code search, project relationship, source status and application results. A small number of keyproven (confirmed) or enforced Project policies can be provided in full. Project Model, trial Policy, longer procedures and evidence usually enter the Context Manifest first. The list only carries the summary, application reason and stable ID. The Agent expands the complete text, source and verification method as needed.
The success, neglect, overwrite, correction or failure results of an Agent after its use will have a reverse impact on subsequent sorting and the life cycle.
Management Entry
The “Project Knowledge” page of the Dashboard distinguishes between Project Models and project strategies, and displays the scope of application, source, verification method, status,whyApplied, recent application results, and complete history.
CLI access to the same status:
Product boundary
Project Knowledge serves the Agent’s project understanding and adheres to the following boundaries:- The current source code, configuration, test and Runtime status always take priority.
- The host continues to use the original Rule file and loading mechanism;
- Personal Memory can only form team knowledge after being explicitly shared by users, personal information removed and sources verified.
- linter, compiler, test, build and CI continue to be maintained by the project’s existing tools;
- Project Knowledge does not grant the authority to submit, push, delete or publish.
- After the plugin is disabled, learning, querying, policy validation, and Remote requests are stopped.

