Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ memories. One keep, remember, revise, or forget request shares the existing
inference and is validated independently; memories are untrusted recollections
and grant no world authority.

World Lab derives a bounded read-only Behavior Trace from retained turn records.
It places observation changes, communication and board evidence, legal choices,
chosen actions, action-pattern changes, and goal/memory continuity together while
labeling model summaries as self-reported rather than proof of causation.

## Workspace

| Path | Responsibility |
Expand Down
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ restart persistence, simulated players, threats, and Player Mode remain deferred

## PR 5 — Goals and memory

Slice A delivers bounded per-agent strategic goals with deterministic revision semantics, safe attribution, and World Lab inspection. Slice B adds an eight-entry compact self-authored memory ledger in the same inference. Semantic/vector memory, embeddings, retrieval/ranking, relationship scores, shared alliance memory, restart persistence, and extra inference calls remain deferred.
Slice A delivers bounded per-agent strategic goals with deterministic revision semantics, safe attribution, and World Lab inspection. Slice B adds an eight-entry compact self-authored memory ledger in the same inference. Slice C adds a browser-derived bounded Behavior Trace that places observation deltas, retained evidence, legal choices, selected actions, action patterns, and continuity operations together without changing simulation behavior. Semantic/vector memory, embeddings, retrieval/ranking, relationship scores, shared alliance memory, restart persistence, causal claims, simulated players, and extra inference calls remain deferred.

Pre-PR-5 observability slice: add a local append-only SQLite experiment archive, transactional schema-v9 export import, bounded human/Codex queries, normalized comparisons, and FTS-searchable curated notes. The in-memory engine remains authoritative. Crash recovery, restartable simulation state, MCP, embeddings, vector search, and a database browser remain deferred.

Expand Down
127 changes: 126 additions & 1 deletion apps/world-lab/src/app/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,129 @@ dd {
letter-spacing: 0.06em;
text-transform: uppercase;
}
.agent-inspector-nav {
position: sticky;
top: -1px;
z-index: 2;
display: flex;
flex-wrap: wrap;
gap: 5px;
margin: 0 -2px 10px;
padding: 7px 2px;
border-bottom: 1px solid #33413d;
background: color-mix(in srgb, #161e1c 94%, transparent);
backdrop-filter: blur(6px);
}
.agent-inspector-nav a {
padding: 3px 6px;
border: 1px solid #3b4a46;
border-radius: 999px;
color: #a9bbb5;
font-size: 0.67rem;
text-decoration: none;
}
.agent-inspector-nav a:hover,
.agent-inspector-nav a:focus-visible {
border-color: #79bda6;
color: #d7e7e1;
}
.behavior-trace-panel,
.agent-inspector [id$='-goals'],
.agent-inspector [id$='-memories'],
.agent-inspector [id$='-history'],
.agent-inspector [id$='-configuration'],
.agent-inspector [id$='-latest'] {
scroll-margin-top: 46px;
}
.behavior-trace-panel {
margin-top: 14px;
padding-top: 2px;
}
.behavior-trace-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
}
.behavior-trace-heading h3 {
margin-top: 0;
}
.behavior-trace-heading p {
margin: 2px 0 0;
color: #82938e;
font-size: 0.69rem;
line-height: 1.4;
}
.behavior-trace-heading > span {
flex: 0 0 auto;
color: #7f928b;
font-size: 0.66rem;
}
.behavior-trace {
display: grid;
gap: 6px;
margin: 8px 0 0;
padding: 0;
list-style: none;
}
.behavior-trace > li {
min-width: 0;
border: 1px solid #34433f;
border-radius: 5px;
background: #121917;
}
.behavior-trace summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 7px 8px;
color: #c9d6d1;
cursor: pointer;
font-size: 0.71rem;
font-weight: 650;
}
.behavior-trace-body {
display: grid;
gap: 7px;
padding: 0 8px 8px;
border-top: 1px solid #2b3834;
}
.behavior-trace-block,
.behavior-trace-decision {
min-width: 0;
padding-top: 7px;
color: #aebdb8;
font-size: 0.71rem;
line-height: 1.45;
}
.behavior-trace-block > strong,
.behavior-trace-decision strong {
color: #d5e0dc;
}
.behavior-trace-block ul {
margin: 4px 0 0;
padding-left: 17px;
}
.behavior-trace-block p,
.behavior-trace-decision p {
margin: 4px 0 0;
overflow-wrap: anywhere;
}
.trace-cell-button {
padding: 1px 4px;
border: 1px solid #45645a;
border-radius: 3px;
background: transparent;
color: #9fd5c2;
cursor: pointer;
font-size: 0.64rem;
}
.trace-cell-button:hover,
.trace-cell-button:focus-visible {
border-color: #80c9b0;
color: #d9f2e9;
}
.personality-heading {
display: flex;
align-items: center;
Expand Down Expand Up @@ -1409,7 +1532,9 @@ dd {
color: #8ff1ba;
}
.outcome.rejected,
.outcome.provider-error {
.outcome.provider-error,
.outcome.lost-tick,
.outcome.operator-skipped {
background: #512b27;
color: #ffafa3;
}
Expand Down
Loading
Loading