Skip to content

Aimount App Stack CLI v0.1.0-beta.3

Pre-release
Pre-release

Choose a tag to compare

@akhmanov akhmanov released this 30 Oct 09:31
· 24 commits to main since this release
cb2b881

Aimount App Stack CLI v0.1.0-beta.3

App API v0 control-plane CLI, not the legacy Cloud or Agent API CLI.

Changes since beta.2

  • Normal workflow now works inside one directory: mkdir aimount-stack; cd aimount-stack; aimount link; aimount pull, then edit, plan and apply. Explicit outside-root --root remains supported; .aimount/ holds metadata, not resource files.
  • Pull preserves the root directory inode. Complete staging validation precedes per-file atomic publication, rollback on ordinary failures and durable before-state recovery after interruption.
  • Offline aimount pull --recover restores unfinished updates or finalizes committed cleanup. Ordinary pull/plan/apply refuse a pending journal, and native resource locks prevent overlapping CLI publication/read operations.
  • pull --force still replaces existing managed files, removes obsolete managed files, preserves unrelated files and matching from_env locators. Change detection covers managed contents/permissions/discovery only; unrelated edits do not abort pull.
  • Recovery refuses unknown content/permission changes instead of overwriting them. Preparation observes cancellation between file operations. One validated staging/journal tree avoids recopying files.

Compatibility and safety

  • Guarantee change: individual file replacements are atomic, but external readers may see an intermediate whole-Stack tree. Arbitrary editors do not participate in CLI locks. Keep .aimount/pull backups after conflicts; never delete the journal to bypass recovery.
  • Case-only aliases on case-insensitive filesystems and hard-linked managed path aliases are refused before publication. Rename local files unambiguously before pulling.
  • Existing auth/config/binding formats and locations remain unchanged; no automatic migration. Root defaults to cwd without parent-directory search. link downloads nothing; upload is apply, not push.
  • API compatibility remains beta.2's Stack planner with inferred retain/remove credential intentions (API MR36 or newer compatible source). This CLI release deploys no API. --prune still explicitly permits irreversible omission deletion; --auto-approve does not enable prune.

Downloads and source

Four CGO-disabled Linux/macOS × arm64/amd64 binaries plus SHA256SUMS. Verify before installation; no Go/Node.js/Bun runtime is needed. Windows is unsupported.

Exact merged source: cb2b881a7bd48a34d64d32622af4d026abdc4449.
Implementation: #5
Verification/review: https://gitlab.com/aimount/wspace/-/blob/main/openspec/changes/archive/2026-10-30-support-cli-pull-from-stack-root/evidence.md

Qualification boundary and rollback

Prerelease, not stable Latest. Local tests/race/vet, four-target compilation, tagged-artifact native macOS arm64 process suite and Linux arm64 container process checks pass. Matching implementation passed API-owned PostgreSQL integration and independent source review; merged API verify/conformance/image/security jobs passed. No native amd64 execution, independent CLI security scan, signing/notarization, hardware power-loss simulation, new live Device acceptance or API deployment is claimed.

Rollback: first use beta.3 to recover any unfinished local pull, then reinstall checksum-verified beta.2. Reinstallation does not undo remote configuration or modify local auth/config.