一键导入
atm-task-intent-resolver
Resolve the current user prompt into an atm.taskIntent.v1 proposal before next-action routing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Resolve the current user prompt into an atm.taskIntent.v1 proposal before next-action routing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
ATM Captain dispatch routing for task cards, sidecars, subagents, condition review, mailbox work, and closeout coordination.
Create registered planning families, plan documents, and task cards through the tool-first plan CLI.
Author ATM task cards with machine-readable scope, deliverables, validators, evidence, rollback, and atomization impact.
Author ATM task cards with machine-readable scope, deliverables, validators, evidence, rollback, and atomization impact.
Author ATM task cards with machine-readable scope, deliverables, validators, evidence, rollback, and atomization impact.
Resolve ATM_* error codes from CLI JSON, logs, or user reports into canonical meaning, remediation, retryability, and approval guidance.
| name | atm-task-intent-resolver |
| description | Resolve the current user prompt into an atm.taskIntent.v1 proposal before next-action routing. |
| argument-hint | <ATM context> |
| charter-invariants-injected | true |
Use this skill when the user prompt mentions a task id, task card, plan document, or a scoped batch of tasks.
If the user gives one exact task id and no extra plan or batch ambiguity, prefer the session-local CLI selector instead of writing the shared runtime intent file:
node atm.mjs next --task TASK-ABC-0001 --json
node atm.mjs next --claim --actor "$ATM_ACTOR_ID" --task TASK-ABC-0001 --json
Use this semantic resolver for fuzzy task titles, shorthand ranges, plan documents, target-repo hints, or multiple tasks.
Read the current user prompt semantically before routing. Do not rely on keyword matching alone. Infer, with explicit uncertainty when needed:
When semantic resolution is needed, write exactly one atm.taskIntent.v1 JSON
file before calling ATM:
{
"schemaId": "atm.taskIntent.v1",
"userPrompt": "$ARGUMENTS",
"mentionedTaskIds": [],
"mentionedPlanPaths": [],
"taskRootHints": [],
"targetRepoHints": [],
"requestedAction": "implement",
"confidence": 0.75,
"source": "atm-skill"
}
Use .atm/runtime/task-intent.json unless the editor integration provides a
different runtime path. This is a shared runtime fallback; do not use it for a
single exact --task route. The skill may propose intent; ATM CLI remains the
only authority that can accept, reject, narrow, claim, or route it.
node atm.mjs next --intent .atm/runtime/task-intent.json --json
If the skill cannot resolve a confident target, still write the intent file with
lower confidence and the safest candidate hints. ATM should then return
ATM_NEXT_TASK_SELECTION_REQUIRED or ATM_NEXT_TASK_SCOPE_NOT_FOUND; do not
pick a global task manually.
Call:
node atm.mjs next --intent <intent-json-path> --json
ATM will validate the skill's hints against repo-local task cards, imported ledger files, task source metadata, target repo constraints, and closure authority before routing.
node atm.mjs next --prompt "$ARGUMENTS" --json is only the deterministic
fallback for environments that cannot run this semantic skill. It is not the
primary route when this skill is available.
source: "atm-skill" intent when the prompt contains human task or
plan language.ATM_NEXT_TASK_SELECTION_REQUIRED, ask for a task id or narrower
plan scope before editing.requiredCommand, run that command exactly before mutating.INV-ATM-001 ??No second registry (enforcement: gate, breaking change: yes)
Rule: A host project must not create a second AtomicRegistry implementation outside of packages/core or introduce a parallel ID allocation, version tracking, or registry promotion path.INV-ATM-002 ??Lock before edit (enforcement: doctor, breaking change: no)
Rule: No governed file mutation may occur without a valid ScopeLock recorded in .atm/locks/ for the current WorkItem. Agents must call atm lock before editing files.INV-ATM-003 ??Schema-validated promotion only (enforcement: gate, breaking change: yes)
Rule: An UpgradeProposal must pass all automatedGates (including JSON Schema validation) before promotion. Direct registry mutation that bypasses the UpgradeProposal path is forbidden.INV-ATM-004 ??No competing highest authority (enforcement: doctor, breaking change: yes)
Rule: No host project rule, profile, or configuration may declare itself to have authority equal to or higher than the AtomicCharter. Any rule that contradicts an invariant must go through a charter waiver proposal.INV-ATM-005 ??Host rule amendments require waiver flow (enforcement: waiver-required, breaking change: no)
Rule: When a host project rule conflicts with a charter invariant, the host must submit a behavior.evolve UpgradeProposal with a charterWaiver field and a linked HumanReviewDecision. Silent override is not permitted.INV-ATM-006 ??Framework work tracking stays target-local (enforcement: doctor, breaking change: yes)
Rule: The framework repository must not host downstream adopter planning queues or project-specific work tracking artifacts. ATM framework-development tasks may live in the framework repository only as ATM-managed .atm/history/tasks ledger records with CLI transition evidence.INV-ATM-007 ??Public framework docs remain English-only (enforcement: doctor, breaking change: yes)
Rule: Public contributor-facing documentation in the framework repository must remain English-only and repository-neutral. Non-English planning notes, local experiments, or downstream operating guidance must live in the coordinating host workspace unless they are translated into neutral English framework documentation.INV-ATM-008 ??Broker tickets, not refusals (enforcement: doctor, breaking change: no)
Rule: Every governed shared-write gate (runner-sync, build windows, release mirrors, git commit, projection regeneration) must respond with a broker ticket - execute now, enqueue with position, or batch into a shared write window - never a bare refusal. Reads and private writes (own ledger, evidence, task events, lane sessions) never queue. The only standing exceptions are the four owner-ruled cases in docs/governance/parallel-governance-charter.md; any new serialization point requires an explicit project-owner ruling before it ships.INV-ATM-009 ??Generalized repair and data-driven policy (enforcement: doctor, breaking change: no)
Rule: Any code logic change, bug fix, or governance rule change must first be designed as the most general rule that correctly explains the observed failure class. Hard-coded special cases are allowed only with recorded evidence that the general rule is not currently safe, feasible, or economical, and that the exception is bounded and reversible. Data-shaped behavior, including thresholds, mappings, allowlists, routing choices, telemetry classifications, prompts, message text, fixtures, and domain content, must first be modeled outside control flow through schemas, registries, configuration, observed counters, or compact digest evidence instead of embedded changeable numbers or strings. The generalized solution must remain observable, testable, and no broader than the evidence supports.INV-ATM-010 ??Single canonical worktree and compose-first shared writes (enforcement: doctor, breaking change: no)
Rule: Normal governed parallel development uses one canonical worktree, base, and HEAD. A shared physical file is compose-eligible rather than a file lock: workers declare bounded atom/CID/content-anchor/source-range intents and submit proposals, while the broker, format adapter, and transactional composer decide compose, revalidation, escalation, or queue. A neutral steward is the only shared-file writer and shared delivery records member attribution. Queueing or revalidation is a fallback for a true logical conflict, stale base/CAS failure, unsupported adapter, or fairness bound. AI workers must not use Git branches, detached worktrees, alternate indexes, merges, or rebases as normal concurrency/isolation mechanisms. The closed exceptions are emergency/anomaly recovery, historical read-only discrimination, and non-development sealed packaging; each requires a named receipt and cannot perform normal governed contribution writes.