Restore profile-first interactive launches

This commit is contained in:
ms2k 2026-07-19 13:59:43 +09:00
commit b9dbd78087

View file

@ -207,6 +207,15 @@ and retains the descriptor. The v1 Domain ID is SHA-256 over the
`lazaret-domain-id-v1` context followed by the selected profile name and
canonical workspace bytes, each framed by an unsigned 32-bit big-endian length.
The primary developer launch form is `lazaret <profile>`. It selects the current
working directory as the Agent Workspace and starts `/bin/bash` as a new
interactive Client Session. `lazaret <profile> -- <command> [arguments...]`
replaces that default with the exact supplied argument vector. Host options may
select another workspace or configuration source. The explicit
`lazaret run --profile <profile>` form has the same default and remains an
equivalent compatibility interface. `state` is reserved as the maintenance
command name; a profile with that name is launched through the explicit form.
The explicit configuration path follows this refinement's strict host-path grammar.
The loader resolves any declared symlink once to a canonical target and builds
a no-symlink confined plan to that target. The source is limited to 1,048,576
@ -1067,7 +1076,7 @@ not duplicated here.
| ID | Requirement |
| :--- | :--- |
| **DX-1** | A developer shall be able to launch an Agent Profile in the current workspace with one command. |
| **DX-1** | `lazaret <profile>` shall launch the explicitly named Agent Profile in the current workspace and start `/bin/bash` as a new interactive Client Session. A trailing `-- <command> [arguments...]` shall replace that default with the exact supplied argument vector. |
| **DX-2** | Tools installed in configured persistent sandbox paths and dependencies stored in Ignored Workspace State shall remain available on later launches of the same Domain. |
| **DX-3** | Normal source editing, `git status`, staging, committing, and reference updates shall work from inside the Agent Sandbox. |
| **DX-4** | Escalation prompts shall identify the requesting profile, session, command, and justification without mixing terminal input or output between sessions. |