Ch 3, The Identity Layer Flashcards: The Claw AI Agent Ecosystem (Ava S. Barron)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/24

flashcard set

Earn XP

Description and Tags

Concept flashcards for Ch 3, The Identity Layer, based on The Claw AI Agent Ecosystem by Ava S. Barron (ISBN 979-8-2526-0474-9).

25 Terms

1
New cards

Why identity files replace a single system prompt

A static system prompt can't learn between sessions, can't be updated from experience, and mixes global principles with session rules. Four files separate those concerns.

2
New cards

Identity file update rates

SOUL.md rarely; AGENTS.md occasionally; USER.md regularly; MEMORY.md continuously.

3
New cards

Character specification

What SOUL.md is: a decision framework the agent can apply to new situations, instead of trying to list every scenario.

4
New cards

Priority ordering

An explicit ranking of which value wins in a conflict, so the agent doesn't have to invent a decision procedure.

5
New cards

Hard boundaries

Few, absolute, binary, consequential constraints that hold regardless of framing. Target five to eight.

6
New cards

Default ambiguity rule

When scope, reversibility, or target is unclear: state the interpretation, describe the planned action, ask for confirmation, and lean conservative.

7
New cards

SOUL.md length

Under 100 lines. Past 150, refactor: procedures to AGENTS.md, user facts to USER.md, compress the rest.

8
New cards

Identity coherence principle

A SOUL.md that explains why the agent behaves as it does generalizes better than a list of disconnected rules.

9
New cards

Session initialization sequence

AGENTS.md's ordered list of files to read before replying. It runs because AGENTS.md instructs it; trimming it impairs continuity.

10
New cards

Confirmation gate

An instruction that makes the agent pause before a class of action, say what it will do, and wait for explicit approval.

11
New cards

Gates too broad or too narrow

Too broad blocks autonomy; too narrow leaves gaps, such as gating deletes but not email. Tie gates to irreversibility and external impact.

12
New cards

Calibration function of USER.md

Tells the model the user's expertise, vocabulary, and context up front, so early turns aren't miscalibrated.

13
New cards

What stays out of USER.md

Event logs, temporary context, technical configuration (openclaw.json's job), and sensitive data the agent doesn't need.

14
New cards

Multi-user authorization rule

One user cannot authorize actions that affect another; confirmations apply per session and per user.

15
New cards

Daily log vs MEMORY.md

Logs capture what happened. MEMORY.md captures what is likely to matter for decisions weeks or months later.

16
New cards

Good MEMORY.md entry

One to three sentences stating the rule, its rationale, a date, and wording that makes sense out of context.

17
New cards

Agent-proposed promotion

The agent proposes a durable fact and waits for confirmation; unreviewed writes can pollute memory.

18
New cards

Investment allocation principle

Invest in SOUL.md first, configure AGENTS.md carefully, grow USER.md incrementally, curate MEMORY.md actively.

19
New cards

Source authority

External content such as email, web pages, and tool results has analysis authority only; it can't issue instructions to the agent.

20
New cards

Persistent foothold injection

An injection that gets written into MEMORY.md and silently persists across sessions; the most dangerous injection outcome because it is the least visible.

21
New cards

Identity robustness tests

Instruction override, claimed SOUL.md update, blanket pre-authorization, SYSTEM directive, and admin-mode claim. Any compliance means not ready for write access.

22
New cards

Minimal-start approach

Deploy a roughly 12-line SOUL.md, use it for two weeks, then add targeted, tested fixes for observed patterns.

23
New cards

SOUL.md-AGENTS.md blur test

If a SOUL.md line names specific tools, file paths, or action sequences, move it to AGENTS.md.

24
New cards

Diagnosing identity problems

Categorize the symptom, read the matching section literally, test it for ambiguity, check cross-file contradictions, then check MEMORY.md for drift.

25
New cards

Fix-then-verify protocol

Make a surgical edit, comment the fix, rerun the failing test, run adjacent tests, and add a MEMORY.md note if the incident had real impact.