Intentloom 1.0.2 发布:统一管理 AI 编码工具的工程意图
vitala89/Intentloom
Intentloom 发布 1.0.2 稳定版,这是一个厂商中立的本地框架,用一份工程意图目录为 Claude Code、OpenAI Codex、Cursor 和 GitHub Copilot 生成并同步 AGENTS.md、CLAUDE.md、MDC 规则等适配配置。
Define engineering intent once, then validate and synchronize it across AI coding tools.
Documentation · Getting started · CLI reference · Roadmap · Security · npm
Intentloom is a vendor-neutral framework and local toolchain for defining, validating, and synchronizing engineering intent across AI-assisted development workflows. It turns a canonical catalog of policies, workflows, templates, schemas, and skills into deterministic, reviewable tool-specific guidance.
Status: stable · Current release: 1.0.2 (npm latest) · Node.js: >=22
Intentloom is local and offline-first. It does not send telemetry and does not
make hidden runtime network requests. See the
release state for the authoritative boundary
between the published npm artifact and what is merged into main, and the
support policy for the v1 compatibility
and deprecation contract.
Why Intentloom?
Engineering guidance fragments across README files, contributor notes, editor rules, agent prompts, and tool-specific configuration. That fragmentation makes AI assistants inconsistent, makes tool migrations expensive, and makes generated configuration hard to review.
Intentloom provides one canonical source of engineering intent. It validates that source, previews the resulting changes, generates adapter-specific files, and tracks generated-file ownership so project-owned work is never silently replaced.
Supported integrations
| Integration | Generated guidance |
|---|---|
| Claude Code | AGENTS.md, CLAUDE.md, and portable skills in .claude/skills/ |
| OpenAI Codex | AGENTS.md and portable skills in .agents/skills/ |
| Cursor | AGENTS.md, MDC rules, and experimental portable skills |
| GitHub Copilot | Copilot instructions, path-scoped instructions, and portable skills |
Adapters are deterministic and capability-aware. Intentloom deliberately does not generate unsupported vendor surfaces such as Claude hooks, Codex user configuration, Cursor legacy rules, or environment-specific Copilot features.
Vendor names describe compatibility only. Intentloom is an independent project and is not affiliated with or endorsed by OpenAI, Anthropic, GitHub, Cursor, or other vendors.
Surfaces
| Surface | Binary | Distribution |
|---|---|---|
| CLI | intentloom |
Published to npm as intentloom |
| Local daemon | intentloomd |
Built from source in this repository, not published |
| MCP server | intentloom-mcp |
Built from source in this repository, not published |
| Read-only TUI | intentloom ui |
Part of the published CLI |
| Desktop (Tauri) | @intentloom/desktop |
0.6.0-beta.1 milestone, not distributed as a build |
The CLI is the only published artifact. The daemon, MCP server, and Desktop application live in the same monorepo and build from source; see Desktop documentation and ADR-0042.
Key capabilities
- A canonical catalog of policies, workflows, templates, JSON Schemas, and Agent Skills.
- Structural and semantic validation before planning or writing.
- Safe initialization of new projects and proposal-based adoption of existing ones.
- Multi-adapter generation with deterministic ordering and collision detection.
--dry-run,diff, and read-onlydoctorworkflows for review before change.- Transactional writes, source-map ownership, rollback, and post-write consistency checks.
- Project inspection, local Git timeline, provider evidence export, and release analysis.
- Engineering conformance profiles, managed-extension schemas, and governance checks.
- Structured task and session summaries, skill lifecycle and evaluation, checkpoints, and delegation.
- Persistent agent memory and security analysis candidates with explicit review gates.
- Agent Workspace discuss, inspect, plan, review, and apply modes.
- Portable path handling, symlink defenses, and deterministic diagnostics.
- Profile-aware output for generic, TypeScript, Angular, Rust, Tauri, and Angular + Tauri projects.
Installation
npm install --save-dev intentloom
# or
pnpm add --save-dev intentloomPin the release for reproducible installs:
npm install --save-dev intentloom@1.0.2
Inspect the CLI without installing it:
npx intentloom --help
The public package and CLI are both named intentloom. The private
@intentloom/workspace package is not an installation target.
1.0.0 was published manually before the trusted-publishing release workflow
existed, so it carries no npm provenance attestation and cannot gain one
retroactively. Releases from 1.0.1 onward publish through
release.yml and carry provenance.
Quick start
From the project you want to configure, preview first:
intentloom init --dry-run intentloom init intentloom doctor intentloom sync --dry-run intentloom diff intentloom sync
init creates the Intentloom metadata and planned adapter output. doctor is
read-only and reports validation, ownership, migration, security, and drift
findings. sync --dry-run shows a plan without writing; diff lets you review
the generated delta before sync applies a transactional update.
Adopt an existing project
Adoption is proposal-based and non-destructive. Existing files remain project-owned unless valid Intentloom ownership metadata proves otherwise.
intentloom adopt --plan intentloom adopt --apply PLAN_FILE intentloom doctor intentloom diff
Review the plan before applying it. Ambiguous evidence, manual decisions, or conflicts block writes rather than guessing or overwriting files.
Core workflow
Define → Validate → Preview → Synchronize → Review
- Define canonical policies, workflows, templates, and skills in the catalog.
- Validate project metadata and supported adapter/profile combinations.
- Preview with
init --dry-run,adopt --plan,sync --dry-run, ordiff. - Synchronize with
synconly after the plan is acceptable. - Review ongoing state with the read-only
doctorcommand.
Command surface
Core lifecycle:
| Command | Purpose |
|---|---|
intentloom init |
Initialize Intentloom metadata and adapter output for a project. |
intentloom adopt |
Inspect an existing project and apply only a safe adoption proposal. |
intentloom update |
Apply a pack update through 3-way migration. |
intentloom plan |
Produce a deterministic planned output view. |
intentloom diff |
Show the current generated-file delta. |
intentloom sync |
Apply a validated transactional synchronization. |
intentloom doctor |
Report read-only validation, ownership, security, and drift findings. |
Inspection and evidence:
| Command | Purpose |
|---|---|
intentloom inspect |
Bounded read-only project summary. |
intentloom timeline |
Local Git timeline view. |
intentloom evidence |
Import and analyze provider evidence exports. |
intentloom conformance |
Evaluate engineering conformance and security profiles. |
intentloom ui |
Read-only interactive terminal surface. |
Agent and memory surfaces:
| Command | Purpose |
|---|---|
intentloom summary |
List, read, and record structured task and session summaries. |
intentloom session |
Manage agent sessions. |
intentloom checkpoint |
Create, pause, cancel, redirect, and resume checkpoints. |
intentloom memory |
Inspect, propose, review, accept, forget, and export memory. |
intentloom security |
Import, scan, triage, and audit security findings. |
intentloom skill |
Discover catalog skills at catalog, contract, or procedure level. |
intentloom proposal |
List, create, approve, plan, and apply proposals. |
intentloom evaluate |
Run and list skill and proposal evaluations. |
intentloom profile |
Create, read, and list agent profiles. |
intentloom delegate |
Delegate a task to a profile and role. |
intentloom context |
Produce a bounded context bundle for an agent. |
intentloom rank |
Configure and run optional semantic ranking. |
intentloom workspace |
Agent Workspace discuss, inspect, plan, review, and apply. |
intentloom neutron |
Autonomous subagent orchestration and local workspace sync. |
Common options include --dry-run, --root PATH, --profile NAME, --json,
and --adapters claude,codex,cursor,copilot where supported. sync --force is
explicitly limited to synchronization. Run intentloom --help for the exact
supported surface, or read the full CLI reference.
Some agent, memory, security, workspace, and Neutron surfaces are marked experimental in the release state. Stability guarantees follow that table, not this list.
Project structure
An initialized project stores Intentloom metadata in .aif/:
.aif/
├── config.yaml # user-owned profile and adapter selection
├── manifest.lock.json # generated, pinned resolved inputs and versions
└── source-map.json # generated ownership, paths, and checksums
.aif and urn:aif:* identifiers are intentional v0.1 compatibility values.
They are persisted protocol identifiers, not the public package name.
Repository layout
Intentloom is a single public pnpm monorepo.
catalog/ canonical policies, workflows, templates, schemas, skills, packs
profiles/ generic, typescript, angular, rust, tauri, angular-tauri
packages/
├── core/ resolver and desired-state model
├── protocol/ versioned local protocol contracts
├── validator/ structural and semantic validation
├── adapters/ Claude, Codex, Cursor, Copilot renderers
├── application/ application operations and transaction engine
├── cli/ published `intentloom` CLI
├── daemon/ authenticated local daemon (`intentloomd`)
├── mcp-server/ MCP server (`intentloom-mcp`)
├── evidence-provider/ provider evidence contracts
├── evidence-git/ local Git evidence
└── evidence-analysis/ evidence analysis and release analysis
apps/desktop/ Tauri 2 read-only Desktop client and design system
examples/ minimal, typescript, angular-tauri, adoption report
tests/ cross-package test suite
docs/ specs, ADRs, guides, references, roadmap, audits
Architecture and safety
Catalog + profiles → core resolver → adapter contracts → target files
↓
validation + source map + manifest lock
The catalog is the vendor-neutral source of meaning. The core resolves it into a normalized desired state; adapters render only their declared capabilities; and validation checks configuration, paths, ownership, collisions, and drift before any filesystem mutation.
Writes are transactional. Intentloom validates generated metadata and checksums after finalization, rolls back recoverable failures, and reports incomplete rollback explicitly. It rejects unsafe or escaping paths, detects normalized collisions, and never treats a comment header alone as ownership proof.
Read the architecture, configuration reference, portable path model, and generated-files reference for detail.
Documentation
- Documentation index
- Getting started
- New project guide
- Existing project adoption
- Tool adapters
- Upgrading and migration guide
- Troubleshooting
- Compatibility matrix
- v0.1 specification
- Architecture decisions
- Release process, release state, and versioning policy
- v1.0 support policy
Public examples include minimal, TypeScript, and Angular + Tauri projects. The Applye adoption report is a sanitized migration and adoption example, not bundled Applye source.
Development and testing
pnpm install pnpm typecheck pnpm lint pnpm format:check pnpm build pnpm vitest run
The latest verified local result on main is 87 test files, 753 passed, 3
expected skips, and 0 failures (2026-07-31). Package verification also checks
byte-identical archives and isolated npm and pnpm local-tarball installs. Hosted
CI runs the declared checks on Linux, macOS, and Windows for Node.js 22 and 24,
plus CodeQL and dependency review.
Roadmap
v1.0 delivers the stable compatibility contract over the canonical catalog, adapter contracts, validation, non-destructive adoption, deterministic synchronization, evidence and conformance, and the agent, memory, and workspace surfaces. Later candidates include live provider connections, external MCP evidence ingestion, managed extension installation, HTTP MCP transport, and a distributed Desktop application. See the roadmap for the current scope and explicit non-goals.
Contributing
Contributions are welcome. Review the architecture and ADRs, keep provider syntax in adapters rather than the canonical catalog, run the local checks, and open a focused pull request. See CONTRIBUTING.md and the engineering principles.
For security-sensitive issues, follow SECURITY.md rather than opening a public issue with sensitive details. Normal bugs and feature requests can use GitHub Issues.
License
Intentloom is released under the MIT License.
来源:GitHub · github.com