ARMARA Course 02

Course 02 / Module 10

Change config without wrecking it, and meet the destructive inventory

Back up the exact config, read a real key, recognize the broken scalar setter, and carry a compact map of destructive commands.

Level
Beginner
Time
14 minutes
Commands
5 core
Finish
A verified recovery copy

Video / coming soon

The written lesson is complete now.

Back up the exact printed path

Run armaraos config show, confirm its first-line path, then make and verify a separate copy before any edit.

PowerShell
Copy-Item "$env:USERPROFILE\.armaraos\config.toml" ".\config.toml.backup"
01

Read a key that exists

Run in your terminal
armaraos config get efficient_mode
Real config get output returning off for efficient mode
Fresh live read / disposable exact copy / 24 August 2026

Help examples demonstrate dotted syntax; they do not promise those keys exist. Choose a path you have seen in config show.

02

Keep the broken scalar setter off the live file

Run in your terminal
armaraos config set efficient_mode balanced --config <DISPOSABLE_COPY>
Real config setter failure calling an existing scalar a section, followed by the unchanged off value
Fresh disposable test / live config never targeted

The 0.8.3 command rejected an existing scalar as a section. The copy stayed unchanged. Do not build a workflow around this setter or troubleshoot it against the only live file.

03

Respect the comment-loss warning

Real set and unset help warnings that TOML comments are stripped
Fresh live help / documented destructive side effect

Even when a future build fixes the scalar error, both mutation commands document that they strip TOML comments. That is why the backup comes first.

04

Prefer a visible editor for real changes

Run in your terminal
armaraos config edit

A visible editor lets you review surrounding TOML and comments. It does not remove the need for a backup.

05

Keep the destructive inventory

CommandWhat it can destroyTaught
config set / config unsetConfig comments, once mutation succeeds2.10
agent killIn-flight runtime work2.2
cron deleteA scheduled job3.1
webhooks deleteA webhook registration3.5
trigger deleteA trigger3.6
mission cancelA mission, one-way4.4
workflow deleteA workflow definition4.8
memory deleteOne stored key-value pair5.1
memory graph-forgetStored agent knowledge5.3
trajectory pruneTrajectory detail rows5.6
skill removeAn installed skill6.1
vault remove / config delete-keyA stored credential2.4 / 1.5
devices removeA device's access7.4
reset / uninstallThe installation7.6 / Appendix B

Ending an agent is not the same as deleting its stored directory. Each row has its own recovery boundary.

06

Memorize the two rehearsals

Run in your terminal
armaraos trajectory prune --dry-run
Run in your terminal
armaraos migrate --dry-run

These are the two dry-run flags in the verified surface. Everywhere else, resolve the exact target and make a backup.

Check it / prove recovery first

Read the value and verify the copy.

Run in your terminal
armaraos config get efficient_mode

Confirm the value, then confirm your separate backup exists. Do not run set or unset against the live file merely to finish the lesson.

Safety note

Never experiment on the only live configuration. Resolve the exact path, make a separate backup, and verify the backup before mutation.

Troubleshooting for this sitting
What you seeLikely causeWhat to do
Key not foundA help example was mistaken for a real key.Run config show and choose an existing path.
A scalar is called a sectionVerified 0.8.3 setter defect.Keep the live file unchanged and review a manual copy.
Comments disappear laterDocumented mutation behavior.Restore from the verified backup.
Editor does not openNo editor association is available.Open the printed path in your normal editor.

Back to Module 2.9

Next / Course 2 Capstone

Safety Rails Field Check

Lesson ready