@aragon-agent/cli 0.6.54 → 0.6.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/README.md +4111 -4042
- package/dist/agent/controller.d.ts +72 -0
- package/dist/agent/controller.js +212 -0
- package/dist/agent/redteam-prompt.d.ts +47 -0
- package/dist/agent/redteam-prompt.js +161 -0
- package/dist/agent/redteam-wiring.d.ts +159 -0
- package/dist/agent/redteam-wiring.js +349 -0
- package/dist/agent/system-prompt.d.ts +13 -0
- package/dist/agent/system-prompt.js +7 -0
- package/dist/app/App.d.ts +10 -1
- package/dist/app/App.js +133 -22
- package/dist/app/use-redteam-mode.d.ts +56 -0
- package/dist/app/use-redteam-mode.js +121 -0
- package/dist/cli.js +53 -3
- package/dist/commands/builtins.js +39 -1
- package/dist/commands/catalog.js +4 -0
- package/dist/commands/index-build.js +2 -1
- package/dist/commands/redteam-command.d.ts +22 -0
- package/dist/commands/redteam-command.js +141 -0
- package/dist/config/env.d.ts +2 -1
- package/dist/config/env.js +12 -1
- package/dist/config/load.d.ts +12 -0
- package/dist/config/load.js +10 -1
- package/dist/config/redteam-launch.d.ts +77 -0
- package/dist/config/redteam-launch.js +58 -0
- package/dist/config/store.js +11 -1
- package/dist/config/ui-state.d.ts +44 -0
- package/dist/config/ui-state.js +38 -0
- package/dist/host/controller-factory.d.ts +8 -0
- package/dist/host/controller-factory.js +7 -0
- package/dist/session/checkpoint.d.ts +15 -0
- package/dist/session/checkpoint.js +18 -0
- package/dist/session/persist.d.ts +21 -0
- package/dist/session/persist.js +10 -0
- package/dist/session/startup-session.d.ts +11 -2
- package/dist/session/startup-session.js +12 -2
- package/dist/session/validate-session.js +31 -0
- package/dist/team/runtime.d.ts +11 -0
- package/dist/team/runtime.js +6 -0
- package/dist/team/subagent.d.ts +21 -0
- package/dist/team/subagent.js +7 -0
- package/dist/tools/index.d.ts +24 -0
- package/dist/tools/index.js +20 -3
- package/package.json +3 -3
- package/skills/project-indexer/SKILL.md +275 -147
- package/skills/project-indexer/templates/artifact-hygiene-template.md +14 -0
- package/skills/project-indexer/templates/config-template.md +12 -0
- package/skills/project-indexer/templates/index-template.md +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,32 @@ were written.
|
|
|
8
8
|
## Unreleased
|
|
9
9
|
|
|
10
10
|
### Added
|
|
11
|
+
- **Red team and security mode - `Ctrl+R`, `/redteam`, `aragon --redteam`.** A session posture for
|
|
12
|
+
authorized offensive-security work. Arming requires a versioned six-clause liability waiver (the
|
|
13
|
+
first `Ctrl+R` opens it; the cursor starts on *Decline*, and `Accept`/`y` are disabled on a terminal
|
|
14
|
+
too short to show the whole text). While armed the system prompt carries an English `<redteam_mode>`
|
|
15
|
+
block (authorization, what the mode really changes, rules of engagement, method, deliverable), the
|
|
16
|
+
status row shows `RT armed`, the composer border turns the red team colour, and a three-row banner
|
|
17
|
+
states the scope and how to leave. **The only permission effect is that the `--confirm` gate is
|
|
18
|
+
skipped** - and with the default `confirmTools: false` there is no gate to skip, so for most sessions
|
|
19
|
+
this mode changes no permissions at all (`/redteam status` says which of the three situations you are
|
|
20
|
+
in). Plan-mode refusals, governance's gate, the workspace boundary and the skill ceiling are
|
|
21
|
+
untouched. `/redteam scope <one line>` declares the engagement boundary (session-only, never written
|
|
22
|
+
to config, a session file or a log; refused above 200 characters or across lines) and the prompt is
|
|
23
|
+
explicit that it is a promise rather than a control. Under PLAN or GOVERN the mode is *paused*.
|
|
24
|
+
Subagents inherit the posture through an explicitly passed predicate. `--no-redteam` and
|
|
25
|
+
`ARAGON_REDTEAM=0` remove the chain entirely; `redteam.enabled` / `bypassConfirm` / `banner` /
|
|
26
|
+
`askEveryArm` are the four new config keys.
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
- **`Ctrl+R` is the red team switch now, and the frame repaint moved to `Alt+R`.** Same reason
|
|
30
|
+
`Ctrl+T` moved to `Alt+T`: legacy encodings deliver one byte for `Ctrl+R` and `Ctrl+Shift+R`, so a
|
|
31
|
+
Shift binding would exist only on the terminals least likely to need a recovery key. **The rebinding
|
|
32
|
+
is unconditional** - `Alt+R` repaints in every configuration, including `--no-redteam` and
|
|
33
|
+
`ARAGON_REDTEAM=0`, where `Ctrl+R` is a single explanatory toast. Both keys are listed in the
|
|
34
|
+
keyboard drawer, `/help` and the README, because this is the third meaning `Ctrl+R` has carried and a
|
|
35
|
+
user pressing it because their terminal is garbled has to be able to find out where that went.
|
|
36
|
+
|
|
11
37
|
- **Memory: notes you keep, search, edit and mount - `Ctrl+M` / `Alt+M` / `/memory`.** A new kind of
|
|
12
38
|
persistent context: notes **you** save (one Markdown file each under `~/.aragon-agent/memory/`, global or
|
|
13
39
|
per project), that you can search and edit by hand, and that the agent can use. Nothing is saved
|