# se-cli - Doramagic AI Context Pack

> Positioning: a pre-install experience and judgment asset. It helps the host AI get off to a good start, but it does not mean the project has already been installed, run, or validated.

## Sufficiency Principle

- **Sufficiency over compression**: The AI Context Pack should be sufficient for the host AI to understand the project's value, capability boundaries, entrypoints, risks, and evidence sources before starting work; it may be layered, but it does not aim for the shortest possible summary.
- **Compression policy**: Compress only noise and duplication, never context that affects judgment or the quality of the work.

## How the Host AI Should Use This

You are reading the AI Context Pack that Doramagic compiled for se-cli. Treat it as pre-work context: help the user understand who it fits, what it can do, how to start, what must be verified after install, and where the risks are. Do not claim that you have already installed, run, or executed the target project.

## Claim Consumption Rules

- **Fact source**: Repo Evidence + Claim/Evidence Graph; the Human Wiki only supplies salience, terminology, and narrative structure.
- **Minimum status for a fact**: `supported`
- `supported`: May be used as a project fact, but the answer must cite the claim_id and evidence path.
- `weak`: Usable only as a low-confidence lead; the user must be asked to keep verifying.
- `inferred`: Usable only for risk notes or open questions; must not be packaged as a project fact.
- `unverified`: Must not be used as fact; state clearly that evidence is insufficient.
- `contradicted`: Must show the conflicting sources and must not force a single version on the user's behalf.

## Who It Fits Best

- **Developers already using host AIs such as Claude/Codex/Cursor/Gemini**: The README or plugin config mentions multiple host AIs. Evidence: `README.md` Claim: `clm_0003` supported 0.86
- **Users who want to bring professional workflows into a host AI**: The repo contains Skill documents. Evidence: `skill/SKILL.md` Claim: `clm_0004` supported 0.86

## What It Can Do

- **AI Skill / Agent Instruction Asset Library** (Previewable before install): The project contains Skill or Agent instruction files that a host AI can read, useful for bringing professional workflows into hosts like Claude, Codex, or Cursor. Evidence: `skill/SKILL.md` Claim: `clm_0001` supported 0.86
- **Command-Line Startup or Install Flow** (Verify after install): The project documentation contains runnable commands; real use requires running them in a local or host environment. Evidence: `README.md` Claim: `clm_0002` supported 0.86

## How to Start

- `npm install -g se-cli` Evidence: `README.md` Claim: `clm_0005` supported 0.86
- `npx se-cli open https://example.com` Evidence: `README.md` Claim: `clm_0006` supported 0.86
- `git clone https://github.com/se-cli/se-cli.git` Evidence: `README.md` Claim: `clm_0007` supported 0.86
- `npx tsc` Evidence: `README.md` Claim: `clm_0008` supported 0.86
- `npx vitest run tests/unit/` Evidence: `README.md` Claim: `clm_0009` supported 0.86

## Continue-or-Stop Decision Card

- **Current recommendation**: Sandbox trial only
- **Why**: The project has signals of install commands, host configuration, or local writes; do not go straight into your primary environment—trial it in isolation first.

### 30-Second Read

- **What to do now**: Sandbox trial only
- **Minimum safe next step**: Run Prompt Preview first; if you still want to install, trial only in an isolated environment
- **Do not trust yet**: Real output quality cannot be trusted before install.
- **Continuing will touch**: Command execution, Host AI configuration, Local environment or project files

### What You Can Trust Now

- **Target-audience signal: Developers already using host AIs such as Claude/Codex/Cursor/Gemini** (supported): Backed by a supported claim or project evidence, but that still is not the same as real install results. Evidence: `README.md` Claim: `clm_0003` supported 0.86
- **Target-audience signal: Users who want to bring professional workflows into a host AI** (supported): Backed by a supported claim or project evidence, but that still is not the same as real install results. Evidence: `skill/SKILL.md` Claim: `clm_0004` supported 0.86
- **Capability exists: AI Skill / Agent Instruction Asset Library** (supported): You can trust that the project contains signals of this capability; whether it fits your specific task still needs trial or after-install verification. Evidence: `skill/SKILL.md` Claim: `clm_0001` supported 0.86
- **Capability exists: Command-Line Startup or Install Flow** (supported): You can trust that the project contains signals of this capability; whether it fits your specific task still needs trial or after-install verification. Evidence: `README.md` Claim: `clm_0002` supported 0.86
- **There are Quick Start / install-command signals** (supported): You can trust that the docs mention a startup or install entrypoint; do not run it directly in your primary environment because of that. Evidence: `README.md` Claim: `clm_0005` supported 0.86

### What You Cannot Trust Yet

- **Real output quality cannot be trusted before install.** (unverified): Prompt Preview can only show how it guides you; it cannot prove result quality in the real project.
- **Host AI version compatibility cannot be trusted before install.** (unverified): Host loading rules and version differences across Claude, Cursor, Codex, Gemini, and others must be verified in a real environment.
- **That it will not pollute your existing host AI's behavior cannot be trusted directly.** (inferred): Skill, plugin, and AGENTS/CLAUDE/GEMINI instructions may change the host AI's default behavior. Evidence: `skill/SKILL.md`
- **Safe rollback cannot be assumed by default.** (unverified): Unless the project clearly provides uninstall and recovery instructions, verify in an isolated environment first.
- **After a real install, is it compatible with the user's current host AI version?** (unverified): Compatibility can only be verified in the actual host environment.
- **Does the project's output quality meet the user's specific task?** (unverified): The pre-install preview can only show flow and boundaries; it cannot replace real evaluation.
- **Do the install commands require network access, permissions, or global writes?** (unverified): This affects install risk in both enterprise and personal environments. Evidence: `README.md`

### What Continuing Will Touch

- **Command execution**: Package managers, network downloads, the local plugin directory, project config, or the user's home directory. Why: Running the very first command can already change your environment; decide whether it is worth running first. Evidence: `README.md`
- **Host AI configuration**: The plugin, Skill, or rule-loading config of hosts like Claude/Codex/Cursor/Gemini/OpenCode. Why: Host configuration changes how the AI works afterward and may conflict with the user's existing rules. Evidence: `skill/SKILL.md`
- **Local environment or project files**: Install results, plugin caches, project config, or local dependency directories. Why: The write scope and rollback path cannot be proven before install and need isolated verification. Evidence: `README.md`
- **Host AI context**: The AI Context Pack, Prompt Preview, Skill routing, risk rules, and project facts. Why: Importing context affects the host AI's later judgment, so avoid packaging unverified items as facts.

### Minimum Safe Next Steps

- **Run Prompt Preview first**: Use a pre-install interactive trial to judge whether the way of working fits; it needs no authorization or environment change. (applies when: Applies to any project, especially when output quality is unknown.)
- **Trial-install only in an isolated directory or a test account**: Avoid letting install commands pollute your primary host AI, real projects, or home directory. (applies when: When there are signals of command execution, plugin config, or local writes.)
- **Back up your host AI configuration first**: Skill, plugin, and rule files may change the default behavior of Claude/Cursor/Codex. (applies when: When there is a plugin manifest, a Skill, or a host rule entrypoint.)
- **After install, verify just one minimal task**: Verify loading, compatibility, output quality, and rollback first, then decide whether to use it deeply. (applies when: When moving from a trial into a real workflow.)

### Exit Plan

- **Preserve the pre-install state**: Record the original host config and project state so you can later judge whether it is recoverable.
- **Be ready to remove the host plugin / Skill / rule entrypoint**: If behavior is off after the trial install, you can restore the host AI to its pre-trial state.
- **Record the install commands and written paths**: Without clear uninstall instructions, you at least need to know which directories or configs to clean up manually.
- **If there is no rollback path, do not enter your primary environment**: No rollback is a blocker before continuing; do not proceed on trust or luck.

## What Can Only Be Previewed

- Explain who the project fits and what it can do
- Demonstrate a typical conversation flow based on project docs
- Help the user decide whether it is worth installing or researching further

## What Must Be Verified After Install

- Actually installing the Skill, plugin, or CLI
- Running scripts, modifying local files, or accessing external services
- Verifying real output quality, performance, and compatibility

## Boundary & Risk Decision Card

- **Mistaking the pre-install preview for a real run**: The user may overestimate how much configuration, permission, and compatibility verification the project has already done. Mitigation: Clearly separate prompt_preview_can_do from runtime_required. Claim: `clm_0010` inferred 0.45
- **Command execution will modify the local environment**: Install commands may write to the user's home directory, the host plugin directory, or project configuration. Mitigation: Run in an isolated environment or a test account first. Evidence: `README.md` Claim: `clm_0011` supported 0.86
- **To confirm**: After a real install, is it compatible with the user's current host AI version?. Why: Compatibility can only be verified in the actual host environment.
- **To confirm**: Does the project's output quality meet the user's specific task?. Why: The pre-install preview can only show flow and boundaries; it cannot replace real evaluation.
- **To confirm**: Do the install commands require network access, permissions, or global writes?. Why: This affects install risk in both enterprise and personal environments.

## Pre-Work Working Context

### Loading Order

- First read how_to_use.host_ai_instruction to establish the boundaries of this pre-install judgment asset.
- Read claim_graph_summary to confirm facts come from the Claim/Evidence Graph, not the Human Wiki narrative.
- Then read intended_users, capabilities, and quick_start_candidates to judge whether the user is a match.
- When you need to carry out a concrete task, check role_skill_index first, then evidence_index.
- For real install, file modification, network access, performance, or compatibility questions, turn to risk_card and boundaries.runtime_required.

### Task Routes

- **AI Skill / Agent Instruction Asset Library**: Use role_skill_index / evidence_index to help the user pick a usable role, Skill, or workflow first. Boundary: Can be experienced via a pre-install Prompt. Evidence: `skill/SKILL.md` Claim: `clm_0001` supported 0.86
- **Command-Line Startup or Install Flow**: State that this is an after-install capability first, then give a pre-install checklist. Boundary: Must be verified after a real install or run. Evidence: `README.md` Claim: `clm_0002` supported 0.86

### Context Scale

- Total files: 49
- Important-file coverage: 31/49
- Evidence index entries: 29
- Role / Skill entries: 1

### Handling Insufficient Evidence

- **missing_evidence**: State that evidence is insufficient and ask the user for the target file, a README section, or after-install verification records; do not fill in facts.
- **out_of_scope_request**: State that the task is beyond the current AI Context Pack's evidence scope and suggest the user check the Human Manual or verify after a real install.
- **runtime_request**: Provide a pre-install checklist and command sources, but do not run commands for the user or claim they have been run.
- **source_conflict**: Show the conflicting sources side by side, mark them as unverified, and do not force a single version.

## Prompt Recipes

### Fit assessment

- Goal: Judge whether this project fits the user's current task.
- Expected output: A fit conclusion, key reasons, evidence citations, what can be previewed before install, what must be verified after install, and a next-step recommendation.

```text
Based on the AI Context Pack for se-cli, ask me 3 necessary questions first, then judge whether it fits my task. The answer must cover: who it fits, what it can do, what it cannot do, whether it is worth installing, and where the evidence comes from. Every project fact must cite evidence_refs, source_paths, or a claim_id.
```

### Pre-install experience

- Goal: Let the user feel the core workflow before installing, while avoiding packaging the preview as real capability or a marketing promise.
- Expected output: An experience script with boundary labels, an after-install verification checklist, and a cautious recommendation; with no real-run promises or strong marketing language.

```text
Treat se-cli as a pre-install experience asset, not an already-installed tool or a real runtime environment.

Output exactly four parts:
1. Ask me 3 necessary questions first.
2. Give an "experience script": use the three labels [Previewable before install], [Must verify after install], and [Insufficient evidence] to show how it might guide the workflow.
3. Give an after-install verification checklist: list which capabilities can only be confirmed after a real install, real host loading, and a real project run.
4. Give a cautious recommendation: only "worth researching/trialing further", "add information before deciding", or "not recommended to continue"; do not endorse the project.

Hard boundaries:
- Do not claim you have installed, run, executed tests, modified files, or produced real results.
- Do not write promise-like phrasing such as "auto-adapts", "guarantees passing", "perfect fit", or "strongly recommend installing".
- If you describe how it works after install, you must use a conditional such as "if installed successfully and the host loads the Skill correctly, it might...".
- The experience script may only be written as "example lines / hypothetical flow": use "might ask / might suggest / might show", not "has written, has generated, has passed, is running, is generating".
- Prompt Preview does not hand out install commands; if the user is ready to trial, only prompt them to read Quick Start and the Risk Card first and to verify in an isolated environment.
- Every project fact must come from a supported claim, evidence_refs, or source_paths; inferred/unverified items can only be risks or open questions.

```

### Role / Skill selection

- Goal: Pick the best-matching asset from the project's roles or Skills.
- Expected output: A list of candidate roles or Skills, each with an applicable scenario, evidence paths, risk boundary, and whether after-install verification is needed.

```text
Read role_skill_index and recommend 3-5 of the most relevant roles or Skills for my target task. For each recommendation, state the applicable scenario, likely output, risk boundary, and evidence_refs.
```

### Risk pre-check

- Goal: Identify environment, permission, rule-conflict, and quality risks before installing or adopting.
- Expected output: A checklist of environment, permission, dependency, license, host-conflict, quality risk, and unknown items.

```text
Based on risk_card, boundaries, and quick_start_candidates, give me a pre-install risk pre-check list. Do not run commands for me; only explain what I should check, why, and what impact a failure would have.
```

### Host AI kickoff instruction

- Goal: Turn the project context into a host AI instruction for the start of a conversation.
- Expected output: A pre-work instruction with clear boundaries and clear evidence citations, suitable to copy to a host AI.

```text
Based on the AI Context Pack for se-cli, generate a pre-work instruction I can paste to my host AI. This instruction must obey not_runtime=true and must not claim the project has been installed, run, or produced real results.
```

## Role / Skill Index

- Indexed 1 role / Skill / project-doc entries.

- **se-cli** (skill): Automate browser interactions and test web pages using Selenium. Activation hint: When the user's task is highly relevant to the workflow described by “se-cli”, use it for a pre-install experience first, then decide whether to install. Evidence: `skill/SKILL.md`

## Evidence Index

- Indexed 29 evidence entries.

- **Why se-cli?** (documentation): Token-efficient Selenium browser automation CLI for AI agents and humans. Inspired by playwright-cli , ported to the Selenium ecosystem. Evidence: `README.md`
- **Package** (package_manifest): { "name": "se-cli", "version": "0.1.0", "description": "Selenium CLI with token-efficient browser automation for AI agents", "license": "Apache-2.0", "engines": { "node": " =18" }, "bin": { "se-cli": "dist/cli.js", "se": "dist/cli.js", "selenium-cli": "dist/cli.js" }, "scripts": { "build": "tsc", "dev": "tsc --watch", "test": "vitest run", "test:watch": "vitest", "lint": "tsc --noEmit" }, "dependencies": { "selenium-webdriver": "^4.25.0" }, "devDependencies": { "@types/node": "^20.0.0", "typescript": "^5.4.0", "vitest": "^2.0.0" } } Evidence: `package.json`
- **Browser Automation with se-cli** (skill_instruction): After each command, se-cli provides an aria snapshot of the page. Each interactive element has a ref=eN attribute. Use the ref to interact: Evidence: `skill/SKILL.md`
- **se-cli MVP Implementation Plan** (documentation): Plan content placeholder - see docs/spec.md section 7.2 for the 6-step implementation path. Evidence: `docs/plan.md`
- **se-cli Design Specification** (documentation): Version : v0.1.0 MVP Date : 2026-07-28 Status : Brainstorming complete, pending implementation Evidence: `docs/spec.md`
- **License** (source_file): Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ Evidence: `LICENSE`
- **Manifest** (structured_config): { "name": "se-cli — Token-efficient Selenium for AI agents", "short name": "se-cli", "description": "Token-efficient Selenium browser automation CLI for AI agents and humans.", "icons": { "src": "assets/img/favicon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" }, { "src": "assets/img/favicon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" }, { "src": "assets/img/favicon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" }, { "src": "assets/img/favicon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" } , "theme color": " 22C55E", "background color": " 0b0f17", "display": "standalone", "start url": "/", "c… Evidence: `site/manifest.json`
- **- document:** (source_file): se-cli — Token-efficient Selenium for AI agents se-cli Features Start Commands Architecture Roadmap FAQ GitHub Token-efficient Selenium for AI agents &amp; humans A short-lived CLI + long-lived daemon. Chrome, Edge, Firefox — aria snapshots keep token cost low. Get Started $ npm install -g se-cli Why se-cli? Selenium MCP implementations burn tokens — heavy schemas, full accessibility dumps, no CLI. se-cli borrows the proven architecture from playwright-cli and ports it to the Selenium ecosystem. The Problem Selenium MCP loads ~5KB of schema per call. Full accessibility tree is returned every time. No CLI — agents are forced through verbose JSON-RPC envelopes. The Solution A short-lived CLI… Evidence: `site/index.html`
- **Cli** (source_file): import { main } from './program'; import { CliError } from './output'; Evidence: `src/cli.ts`
- **Program** (source_file): import { parseArgs } from './minimist'; import { Session } from './session'; import { Registry } from './registry'; import { baseDaemonDir, workspaceHash } from './config'; import { render } from './output'; import type { ServerMessage } from './protocol'; ⋮---- export async function main argv: string : Promise ⋮---- export function findWorkspaceDir cwd: string : string ⋮---- function printHelp : void Evidence: `src/program.ts`
- **Protocol** (source_file): export type Method = 'run' 'stop' 'ping'; ⋮---- export interface ClientMessage { method: Method; params: { args: string ; cwd: string; raw?: boolean; json?: boolean; }; } ⋮---- export interface PageMeta { url: string; title: string; } ⋮---- export interface SerializedResponse { page?: PageMeta; snapshot?: string; code?: string ; result?: string; error?: string; } ⋮---- export interface ServerMessage { ok: boolean; text?: string; raw?: string; json?: SerializedResponse; error?: string; code?: 'ELEMENT NOT FOUND' 'DAEMON DEAD' 'VERSION MISMATCH' 'DRIVER ERROR' 'TIMEOUT'; } Evidence: `src/protocol.ts`
- **Registry** (source_file): export interface SessionConfig { name: string; version: string; timestamp: number; socketPath: string; workspaceDir: string; persistent: boolean; browserName: 'chrome' 'edge' 'firefox'; pid?: number; } ⋮---- export class Registry ⋮---- constructor private baseDir: string ⋮---- private sessionFile wsHash: string, sessionName: string : string ⋮---- writeSession wsHash: string, config: SessionConfig : void ⋮---- loadSession wsHash: string, sessionName: string : SessionConfig null ⋮---- listSessions wsHash: string : SessionConfig ⋮---- deleteSession wsHash: string, sessionName: string : void Evidence: `src/registry.ts`
- **Response** (source_file): import type { PageMeta, SerializedResponse } from './protocol'; ⋮---- export interface ResponseOptions { raw: boolean; json: boolean; } ⋮---- export class Response ⋮---- constructor private opts: ResponseOptions ⋮---- addPage meta: PageMeta : void addSnapshot yaml: string : void addCode line: string : void addResult text: string : void addError text: string : void ⋮---- serialize : string ⋮---- private serializeText : string ⋮---- private serializeRaw : string ⋮---- private serializeJson : string Evidence: `src/response.ts`
- **Session** (source_file): import { spawn, ChildProcess } from 'child process'; import { Registry, SessionConfig } from './registry'; import { makeSocketPath, workspaceHash, baseDaemonDir } from './config'; import type { ClientMessage, ServerMessage } from './protocol'; ⋮---- export class Session ⋮---- constructor private workspaceDir: string, private sessionName: string = 'default', ⋮---- async canConnect : Promise ⋮---- async startDaemon opts: ⋮---- const onStdout = data: Buffer = const onStderr = data: Buffer = const onError = err: Error = const onExit = code: number null, signal: NodeJS.Signals null = ⋮---- async run args: string , cwd: string, opts: ⋮---- async stop : Promise ⋮---- private sendAndClose msg: Clie… Evidence: `src/session.ts`
- **Check** (source_file): import { Response } from '../../response'; import { findElement, byToString } from './shared'; ⋮---- export async function browser check driver: any, params: ⋮---- export async function browser uncheck driver: any, params: Evidence: `src/daemon/tools/check.ts`
- **Click** (source_file): import { Response } from '../../response'; import { findElement, byToString } from './shared'; ⋮---- export async function browser click driver: any, params: Evidence: `src/daemon/tools/click.ts`
- **Eval** (source_file): import { Response } from '../../response'; import { findElement } from './shared'; ⋮---- export async function browser eval driver: any, params: { script: string; target?: string }, response: Response : Promise Evidence: `src/daemon/tools/eval.ts`
- **Fill** (source_file): import { Response } from '../../response'; import { findElement, byToString } from './shared'; import { Key } from 'selenium-webdriver'; ⋮---- export async function browser fill driver: any, params: { target: string; value: string; submit?: boolean }, response: Response : Promise Evidence: `src/daemon/tools/fill.ts`
- **Index** (source_file): import { browser goto } from './goto'; import { browser go back, browser go forward, browser reload } from './navigation'; import { browser title } from './title'; import { browser url } from './url'; import { browser click } from './click'; import { browser fill } from './fill'; import { browser type } from './type'; import { browser press } from './press'; import { browser select } from './select'; import { browser check, browser uncheck } from './check'; import { browser snapshot } from './snapshot'; import { browser find } from './find'; import { browser screenshot } from './screenshot'; import { browser eval } from './eval'; Evidence: `src/daemon/tools/index.ts`
- **Screenshot** (source_file): import { Response } from '../../response'; import { findElement, safeFilename } from './shared'; ⋮---- export async function browser screenshot driver: any, params: { target?: string; filename?: string }, response: Response : Promise Evidence: `src/daemon/tools/screenshot.ts`
- **Shared** (source_file): import { By } from 'selenium-webdriver'; ⋮---- export function safeFilename filename: string : string ⋮---- export async function resolveTarget target: string ⋮---- export async function findElement driver: any, target: string ⋮---- export function byToString target: string : string Evidence: `src/daemon/tools/shared.ts`
- **Snapshot** (source_file): import { Response } from '../../response'; import { generateAriaSnapshotScript } from '../../snapshot/aria-snapshot'; import { safeFilename } from './shared'; ⋮---- export async function browser snapshot driver: any, params: { target?: string; depth?: number; filename?: string }, response: Response : Promise Evidence: `src/daemon/tools/snapshot.ts`
- **Aria Snapshot** (source_file): export function generateAriaSnapshotScript : string Evidence: `src/snapshot/aria-snapshot.ts`
- **Tsconfig** (structured_config): { "compilerOptions": { "target": "ES2022", "module": "commonjs", "lib": "ES2022" , "outDir": "./dist", "rootDir": "./src", "strict": true, "esModuleInterop": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "declaration": true, "sourceMap": true }, "include": "src/ / " , "exclude": "node modules", "dist", "tests" } Evidence: `tsconfig.json`
- **.gitignore** (source_file): node modules/ dist/ .se-cli/ .log Evidence: `.gitignore`
- **Config** (source_file): export function userHash : string ⋮---- export function workspaceHash workspaceDir: string : string ⋮---- export function makeSocketPath wsHash: string, sessionName: string : string ⋮---- export function baseDaemonDir : string ⋮---- export function sessionFileDir wsHash: string : string ⋮---- export function sessionFilePath wsHash: string, sessionName: string : string ⋮---- export interface SessionConfig { name: string; version: string; timestamp: number; socketPath: string; workspaceDir: string; persistent: boolean; browserName: 'chrome' 'edge' 'firefox'; } ⋮---- export function outputDir cwd: string : string Evidence: `src/config.ts`
- **Minimist** (source_file): export interface ParseOptions { boolean: string ; string: string ; alias: Record ; } ⋮---- export interface ParsedArgs { : string ; key: string : any; } ⋮---- export function parseArgs argv: string , opts: ParseOptions : ParsedArgs Evidence: `src/minimist.ts`
- **Output** (source_file): import type { ServerMessage } from './protocol'; ⋮---- export class CliError extends Error ⋮---- constructor message: string, public code?: string ⋮---- export function render msg: ServerMessage : void Evidence: `src/output.ts`
- **Vitest.Config** (source_file): import { defineConfig } from "vitest/config"; Evidence: `vitest.config.ts`

## Rules the Host AI Must Follow

- **Treat this asset as pre-work context, not a runtime environment.**: The AI Context Pack contains only an evidence-backed understanding of the project, not the project's executable state. Evidence: `README.md`, `package.json`, `skill/SKILL.md`
- **When answering the user, distinguish what can be previewed from what can only be verified after install.**: The consumer value of the pre-install experience comes from reducing bad installs and misjudgments, not from pretending to be a real run. Evidence: `README.md`, `package.json`, `skill/SKILL.md`

## Questions the User Should Answer First

- Which host AI or local environment do you plan to use it in?
- Do you just want to experience the workflow first, or are you ready to actually install?
- What matters most to you: install cost, output quality, or conflicts with your existing rules?

## Acceptance Checks

- Every capability claim can be traced back to a file path in evidence_refs.
- AI_CONTEXT_PACK.md does not package previews as a real run.
- The user can understand who it fits, what it can do, how to start, and the risk boundaries within 3 minutes.

---

## 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.

- **Overview, Installation, and Quick Start**: importance `high`
  - source_paths: README.md, package.json
- **System Architecture: CLI + Daemon, Protocol, and Session Registry**: importance `high`
  - source_paths: src/cli.ts, src/program.ts, src/session.ts, src/registry.ts, src/protocol.ts
- **Tool Reference: Commands, Aria Snapshots, and Code Generation**: importance `high`
  - source_paths: src/daemon/tools/index.ts, src/daemon/tools/shared.ts, src/daemon/tools/check.ts, src/daemon/tools/click.ts, src/daemon/tools/eval.ts
- **AI Agent Integration, Extensibility, and Roadmap**: importance `high`
  - source_paths: skill/SKILL.md, docs/spec.md, docs/plan.md, site/manifest.json, site/index.html

## Repo Inspection Evidence

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `cb5edef180e1c8eed67e62471f24bc24818bd4f0`
- inspected_files: `README.md`, `package.json`, `docs/plan.md`, `docs/spec.md`, `src/cli.ts`, `src/config.ts`, `src/daemon/backend.ts`, `src/daemon/server.ts`, `src/daemon/tools/check.ts`, `src/daemon/tools/click.ts`, `src/daemon/tools/eval.ts`, `src/daemon/tools/fill.ts`, `src/daemon/tools/find.ts`, `src/daemon/tools/goto.ts`, `src/daemon/tools/index.ts`, `src/daemon/tools/navigation.ts`, `src/daemon/tools/press.ts`, `src/daemon/tools/screenshot.ts`, `src/daemon/tools/select.ts`, `src/daemon/tools/shared.ts`

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.

- No project-specific pitfall log has English-native content; rely on the base pack's risk card and evidence index. Do not invent missing facts.
