# ckeditor5 - Doramagic AI Context Pack

> Purpose: pre-work context for the user's host AI. This pack does not prove that the project has been installed, run, or validated.

## Project

- canonical_name: `ckeditor/ckeditor5`
- capability: Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
- expected_user_outcome: Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.

## Operating Boundaries

- Do not claim that the project has been installed, run, called through an API, or used on local files unless separate evidence proves it.
- Project facts must come from repo evidence, Claim Graph, or explicit source references.
- When a capability is not verified, mark it as unverified instead of completing it as fact.
- publish_status: `publishable`
- blocking_gaps: none

---

## Doramagic Context Augmentation

The following sections strengthen the repository context for a host AI. Human Manual data is a reading route, and pitfall notes become operating constraints.

## Human Manual Outline

Usage rule: this is only a reading route and salience signal, not factual authority. Concrete claims must still return to repo evidence or Claim Graph.

Host AI hard rules:
- Do not treat page titles, section order, summaries, or importance values as factual project evidence.
- When explaining the Human Manual outline, state that it is only a reading route or salience signal.
- Capability, installation, compatibility, runtime state, and risk claims must cite repo evidence, source paths, or Claim Graph.

- **CKEditor 5 Overview and Core Architecture**: importance `high`
  - source_paths: README.md, package.json, docs/framework/architecture/core-editor-architecture.md, docs/framework/architecture/editing-engine.md, docs/framework/architecture/intro.md
- **Core Editing Features and Data Flow**: importance `high`
  - source_paths: packages/ckeditor5-engine/src/controller/datacontroller.ts, packages/ckeditor5-engine/src/dataprocessor/htmldataprocessor.ts, packages/ckeditor5-engine/src/dataprocessor/xmldataprocessor.ts, packages/ckeditor5-image/src/image.ts, packages/ckeditor5-image/src/imageresize/imageresizeediting.ts
- **Framework, Plugins, and Extensibility**: importance `high`
  - source_paths: packages/ckeditor5-core/src/plugin.ts, packages/ckeditor5-core/src/command.ts, packages/ckeditor5-core/src/commandcollection.ts, packages/ckeditor5-core/src/plugincollection.ts, packages/ckeditor5-core/src/context.ts
- **Installation, Configuration, and Framework Integration**: importance `high`
  - source_paths: docs/getting-started/index.md, docs/getting-started/setup/configuration.md, docs/getting-started/setup/editor-types.md, docs/getting-started/setup/editor-lifecycle.md, docs/getting-started/setup/root-types.md

## Repo Inspection Evidence

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `12b4b99cf220a410864c3ee2ca43af902baf0876`
- inspected_files: `README.md`, `package.json`, `pnpm-lock.yaml`, `docs/_snippets/build-balloon-block.js`, `docs/_snippets/build-balloon.js`, `docs/_snippets/build-classic.js`, `docs/_snippets/build-decoupled-document.js`, `docs/_snippets/build-inline.js`, `docs/_snippets/build-multi-root.js`, `docs/_snippets/examples/balloon-block-editor.js`, `docs/_snippets/examples/balloon-editor.js`, `docs/_snippets/examples/bottom-toolbar-editor.js`, `docs/_snippets/examples/classic-editor-short.js`, `docs/_snippets/examples/classic-editor.js`, `docs/_snippets/examples/document-editor.js`, `docs/_snippets/examples/inline-editor.js`, `docs/_snippets/examples/multi-root-editor.js`, `docs/_snippets/features/build-image-upload-source.js`, `docs/_snippets/features/build-ui-language-source.js`, `docs/_snippets/features/image-upload.js`

Host AI hard rules:
- Without repo_clone_verified=true, do not claim that the source code has been read.
- Without repo_inspection_verified=true, do not write README, docs, or package-file conclusions as facts.
- Without quick_start_verified=true, do not claim that the Quick Start path has run successfully.

## Doramagic Pitfall Constraints

These rules come from Doramagic discovery, validation, or compilation findings. The host AI must treat them as operating constraints, not background notes.

### Constraint 1: Maintenance risk requires verification

- Trigger: Project evidence flags a maintenance risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/ckeditor/ckeditor5/issues/20107
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 2: Maintenance risk requires verification

- Trigger: Project evidence flags a maintenance risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/ckeditor/ckeditor5/issues/18352
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 3: Maintenance risk requires verification

- Trigger: Project evidence flags a maintenance risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/ckeditor/ckeditor5/issues/20196
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 4: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/ckeditor/ckeditor5/issues/18524
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 5: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/ckeditor/ckeditor5/issues/19609
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 6: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/ckeditor/ckeditor5/issues/18547
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 7: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/ckeditor/ckeditor5/issues/18525
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 8: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/ckeditor/ckeditor5/issues/18545
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 9: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/ckeditor/ckeditor5/issues/18522
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 10: Installation risk requires verification

- Trigger: Project evidence flags a installation risk. Review the linked source before relying on this workflow.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: community_evidence:github | https://github.com/ckeditor/ckeditor5/issues/19846
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.
