You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev_docs/ARK_Cli_v1.2.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# **ARK CLI Specification v1.1**
1
+
# **ARK CLI Specification v1.2**
2
2
3
3
This document defines the final, streamlined specification for the ARK Command Line Interface.
4
4
@@ -11,7 +11,7 @@ The CLI is designed to be simple, predictable, and headless-friendly.
11
11
-**Unified Binary**: Use `ark` (or `python pycompiler_ark.py`).
12
12
-**Explicit Commands**: No hidden magic; every action requires an explicit command.
13
13
-**CLI-First**: All features accessible via GUI are also available via CLI.
14
-
-**Predictable**: No dangerous auto-detection; reproducibility through locking.
14
+
-**Reproducibility**: Guaranteed via functional locking comparison.
15
15
16
16
---
17
17
@@ -149,6 +149,7 @@ Initializes the current directory as a workspace.
149
149
- **Engine Override**: `--engine <id>` uses a temporary engine without modifying `ark.yml`.
150
150
- **Reproducible Rebuild**: `--lock [file]` rebuilds strictly from a lock file (default: `.ark/lock/latest.lock.yml`).
151
151
- **Git State**: Automatically verifies if the current branch and commit match the lock. Offers automatic checkout on Linux.
152
+
- **Integrity Check**: ARK generates a shadow lock from the rebuild environment and performs a **Functional Equivalence** comparison. Detailed diffs are displayed in case of mismatch.
152
153
- **Constraint**: `--engine` and `--lock` cannot be used together.
153
154
154
155
---
@@ -161,4 +162,4 @@ Initializes the current directory as a workspace.
161
162
- **CLI4**: Engines and plugins follow a clear `dev > user > core` priority.
0 commit comments