feat(agents): darkwing host-dev launcher + entry-point consolidation
scripts/agent.sh --host-dev delegates to scripts/agent-host-dev.sh; agents/darkwing/launch.sh provides the native development TUI (context, skills, coding tools, /goal). Root SOUL.md is the M14-era default-collaborator persona captured by the ACT-1 context work. Launcher regression checks pass (test-darkwing-launch.mjs).
This commit is contained in:
+10
-2
@@ -1,9 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# Launch an interactive (TUI) Mosaic agent in its container.
|
||||
# Launch an interactive Mosaic agent (container by default).
|
||||
#
|
||||
# Usage:
|
||||
# scripts/agent.sh <name> [--mission <file>] [--workspace <ws>]
|
||||
# [--session <name>] [--tools <comma,list>] [--auth <account>]
|
||||
# scripts/agent.sh --host-dev <name> [--fresh] [--check]
|
||||
# [--soul <file>] [--constitution <file>] [--user <file>]
|
||||
#
|
||||
# The agent receives the four immutable contracts (constitution, standards,
|
||||
# SOUL, USER) plus its own identity and optional mission directives as its
|
||||
@@ -14,6 +16,12 @@
|
||||
# governed context.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
# Host development is an explicit leading mode, never a fallback from a
|
||||
# container/config/policy refusal. Its helper owns its distinct native setup.
|
||||
if [ "${1:-}" = "--host-dev" ]; then
|
||||
shift
|
||||
exec "$PWD/scripts/agent-host-dev.sh" "$@"
|
||||
fi
|
||||
# shellcheck source=common.sh
|
||||
source scripts/common.sh
|
||||
|
||||
@@ -33,7 +41,7 @@ while [ $# -gt 0 ]; do
|
||||
--tools) TOOLS="${2:?}"; shift 2 ;;
|
||||
--auth) AUTH_ACCOUNT="${2:?}"; shift 2 ;;
|
||||
--skills) SKILLS="${2:?}"; shift 2 ;;
|
||||
--help|-h) sed -n '2,12p' "$0"; exit 0 ;;
|
||||
--help|-h) sed -n '2,15p' "$0"; exit 0 ;;
|
||||
*) NAME="$1"; shift ;;
|
||||
esac
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user