Skip to content

Intentloom v0.1 Specification

Purpose

Intentloom makes repeatable engineering guidance portable across AI coding tools without making the tools interchangeable. It owns canonical engineering content and deterministic transformation rules; each tool retains its own runtime, authorization, and execution model.

Scope

v0.1 delivers canonical policies, portable Agent Skills, workflows, project scaffold templates, schemas, adapters, validation, and a local CLI with init, adopt, plan, diff, sync, and doctor. Applye is the first dogfooding example, not a source of generic policy.

Out of scope: MCP, CodeGraph/Graphify, hosted services, telemetry, marketplace, LLM API integration, automatic agent execution, cloud synchronization, GUI, plugin runtime, and autonomous merging.

Normative requirements

  1. Every reusable artifact has one canonical source below catalog/.
  2. Canonical artifacts must not contain vendor syntax or behavior.
  3. An adapter may emit only documented, supported target formats; unsupported targets remain ungenerated.
  4. Every generated file identifies Intentloom framework version, adapter version, canonical source path, generation warning, and content checksum when the target format permits it.
  5. Installed projects use .aif/config.yaml, .aif/manifest.lock.json, and .aif/source-map.json.
  6. Any write-capable command supports dry-run and diff preview, detects conflicts, and creates a backup or asks for explicit confirmation before replacement.
  7. Intentloom performs no network request, telemetry, dependency installation, or hook installation unless a future user-visible command explicitly adds and documents that capability.

Artifact model

ArtifactCanonical locationPurpose
Policycatalog/policies/Durable engineering constraints
Workflowcatalog/workflows/Ordered, human-verifiable procedure
Skillcatalog/skills/Portable, progressively disclosed task capability
Templatecatalog/templates/Parameterized scaffold or document
Schemacatalog/schemas/Validated machine-readable contract
Profileprofiles/Selected artifact set and parameters

Canonical skills follow the open Agent Skills specification: a skill directory containing SKILL.md with required name and description frontmatter. Intentloom may add its own schema around, but does not redefine, the standard skill payload.

Versioning

VersionMeaningCompatibility rule
Framework versionIntentloom releaseSemVer
Schema versionCanonical manifest/schema contractExplicit compatibility range
Adapter versionTransformation behavior for one targetSemVer, recorded in output
Lock versionInstalled-project lock formatExplicit parser support

manifest.lock.json pins framework, schemas, adapters, profile, source hashes, and generated-output hashes. A schema or lock migration is never implicit.

Command contract (future CLI)

CommandIntentWrites?
initCreate a new Intentloom layoutWith preview and confirmation
adoptMap Intentloom into an existing projectWith conflict detection
planExplain resolved profile and target filesNo
diffCompare desired and installed stateNo
syncApply an approved planOnly after safety gates
doctorValidate files, versions, and driftNo

Acceptance criteria

v0.1 is complete when a fixture project can use a pinned profile to produce deterministic adapter plans; validate source maps and checksums; surface modified generated files; and refuse unsafe overwrite without an explicit user choice.