session-start-packet.md

ACTUAL RELOAD BOOTSTRAP INPUT: compact durable continuity packet injected once into fresh ACPX sessions

/home/matrix-lite/state/persistent-chat/session-start-packet.md

Persistent Chat Session Packet

Generated: 2026-11-09T10:01:43.628317+00:00

Pinned state view

Persistent Chat Pinned State

Generated: 2026-11-09T10:01:43.604458+00:00

Runtime truth

Operating contract

Current conversation thread

Current thread / pending next action:

Active decisions

Structured decision state:

Structured file facts:

Open actions

Open actions summary:

Fresh notices

Notices (actionable):

Recent durable topics

Recent topics:

Persona / high-signal facts

Persona / high-signal durable facts (compact; search memory for specifics):

Memory/source pointers

Curator outputs:

Operational synthesis outputs:

Recent source freshness:

Use these pointers for full context; packet excerpts are intentionally capped.

Extended tools manifest

Extended tools (lazy proxy; not injected in normal turns):

Continuity summary

Structured decision state:

Tail policy

Raw Markdown
# Persistent Chat Session Packet

Generated: 2026-11-09T10:01:43.628317+00:00

## Pinned state view
# Persistent Chat Pinned State

Generated: 2026-11-09T10:01:43.604458+00:00

## Runtime truth
- backend: `direct_acp`
- session_label: `persistent-chat-20260805T100658Z`
- direct_acp_session_id: `ses_02e982155ffef3wgrZC7EBEqhb`
- configured_model: `openai/gpt-5.6-terra`
- primary_transport: `telegram`
- runtime_owner: `agent-runtime`
- direct_acp_session_updated_at: 2026-08-05T10:11:20.559958Z

## Operating contract
- OpenCode compaction is disabled for persistent-chat; loadSession provides ordinary transcript/tool continuity.
- Matrix-lite packets are pinned control/recovery state, not a duplicate transcript.
- Telegram native approvals apply once to the shown tool; root actions use agent_runtime sudo_run and a separate exact-command one-shot owner button.
- Do not edit generated packet/status artifacts directly; edit source artifacts and let heartbeat regenerate packets.

## Current conversation thread
Current thread / pending next action:
- Latest user request: How do we do the deployment gracefully?
- Latest assistant status: You were rightβ€”I needed to issue the edit request, not wait. The one-time recording handoff is now implemented and tested: it moves a recording explicitly from its source topic into a managed target topic, preserving the original audio, attempts, and notes while removing source-topic access. The migration code is staged and tests pass. It needs the Telegram worker/MCP schema to reload before the new move tool is exposed; I will use the deferred deployment path for that rather than restarting …
- Recent actionable/status notes:

## Active decisions
Structured decision state:
- Observability timeline feature requests [active]: Implement a compact event timeline as a derived/indexed view of canonical persistent logs plus helper-only append support for agent/infrastructure events. Include user and assistant messages as compact/pointer-backed events, keep it rebuildable/idempotent with deterministic source ids, and aggregate existing recent-failures/context/reload/page/timer artifacts rather than creating a competing source of truth. Per-failure notices should be injected before the next model turn and consumed only after a successful final reply. Helper-first is the default for persistent-chat structured metadata. Defer ACPX session event_log exploration until after timeline/failure/context helpers. (files=/home/matrix-lite/app/matrix_lite/daemon.py, /home/matrix
- architecture-doc-created [active]: Created /home/matrix-lite/workspace/persistent-chat/architecture.md as human-readable architecture doc. Agents should update this file when architecture changes. Keep it human-readable for Gleb.
- Curation workflow directive [active]: User endorsed agent-proposed curation workflow: inventory candidates, process small batches, promote only durable preferences/corrections/operational directives, mark stale/noisy candidates via deterministic helper, update only source artifacts (curated-memory.md, curator-journal.md, semantic-candidates.jsonl, operational synthesis), never edit generated packets/status files or perpetual-log.jsonl.
- User compaction paranoia [active]: User is explicitly paranoid about compaction because they have seen agents lose the point when given a to-do after compaction. User is not sure current system captures everything; compaction can handle current topics but may lose nuanced instructions or the broader point.
Structured file facts:
- /home/matrix-lite/app/scripts/persistent-chat-memory
- /home/matrix-lite/app/scripts/persistent-chat-model-heartbeat
- /home/matrix-lite/xdg/persistent-chat/opencode/opencode.json

## Open actions
Open actions summary:
- [open] Repair scheduled-worker model/config selection so operational synthesis does not invoke obsolete kimi-for-coding/k2p6; verify two consecutive successful worker runs afterward. (source: /home/matrix-lite/state/persistent-chat/operational-synthesis/reports/2026-08-17T16-11-08Z.md)
- [open] Design and stage an isolated durable polling control plane before the native backend: persistent arbitrary-timing watchers, event queue, dedupe/debounce, retries/backoff, deadlines (source: /home/matrix-lite/state/persistent-chat/operational-synthesis/reports/2026-09-02T22-11-04Z.md)
- [open] Review 13 open memory candidates and 1 needs_more_evidence semantic candidate before any promotion; latest curator heartbeat used deterministic no-sentinel fallback. (source: /home/matrix-lite/state/persistent-chat/operational-synthesis/reports/2026-09-07T16-11-08Z.md)
- [open] Recover the missed 2026-09-11 ping and verify scheduled-worker model repair with two clean runs; do not infer backlog without control-plane status diagnostics. (source: /home/matrix-lite/state/persistent-chat/operational-synthesis/reports/2026-09-16T04-11-04Z.md)

## Fresh notices
Notices (actionable):
- 2026-11-03T05:13:33.437136Z [notice] Current restore, packet freshness, model-log ingestion, and Luna curation are healthy; the historical Audio handoff/defe: Current restore, packet freshness, model-log ingestion, and Luna curation are healthy; the historical Audio handoff/deferred deployment remains externally unverified, while independent task/timer/approval/observability/subagent settlement is unavailable. (source: /home/matrix-lite/state/persistent-chat/operational-synthesis/reports/2026-11-03T05-11-00Z.md)
- 2026-11-07T05:14:39.319469Z [notice] Restore, Luna curation, and packet freshness are healthy; the historical Audio handoff/deferred deployment remains exter: Restore, Luna curation, and packet freshness are healthy; the historical Audio handoff/deferred deployment remains externally unverified, direct ACP is in warn below handoff, and current task/timer/approval/observability/subagent/backlog settlement cannot be independently checked. (source: /home/matrix-lite/state/persistent-chat/operational-synthesis/reports/2026-11-07T05-11-00Z.md)
- 2026-11-08T17:14:19.194958Z [notice] Restore, packet freshness, and Luna curation are healthy; the historical Audio handoff/deferred deployment remains exter: Restore, packet freshness, and Luna curation are healthy; the historical Audio handoff/deferred deployment remains externally unverified, direct ACP is in warn below handoff, and current task/timer/approval/observability/subagent/backlog settlement cannot be independently checked. (source: /home/matrix-lite/state/persistent-chat/operational-synthesis/reports/2026-11-08T17-11-03Z.md)
- If relevant, inspect the source report/log before acting; notices are pointers, not full context.

## Recent durable topics
Recent topics:
- **🟒 Context guard normal**: `context-guard.json` 2026-07-14T16:08:04Z stage=normal, metric=143273/1048576 (13.7% context, 13.9% usable), model=`openai/gpt-5.4`.
- **🟒 Curator caught up**: `curator-journal.md` last entry 2026-07-12T14:38:05Z reports 0 open candidates.
- **πŸ”΄ directed/index.json duplicate-notice re-inflation recurred again**: Update at 2026-07-14T10:16:05Z re-injected 9 duplicate/obsolete entries into `notices.jsonl`. This cycle pruned back to 7 canonical open notices. Existing hardening action (2026-06-27T10:11:05Z) remains open and should be prioritized.

## Persona / high-signal facts
Persona / high-signal durable facts (compact; search memory for specifics):
- **55812**: Locker code for GPU storage (context clarified 2026-05-17: locker at hostel, GPU inside, Frau Kilic approved apartment). Used as memory propagation test β€” mechanism confirmed working. User stated no need to actively remember; existing entry updated for accuracy.
- **Location**: Garching, Germany. Works near TUM campus.
- **Nationality**: Russian.
- **Comfort ritual**: Uncle Luu's Chinese fried noodles with chicken (food truck on TUM campus). Former daily routine; colleagues teased him for the consistency.
- **Music taste**: Industrial, dark ambient, EBM, neofolk, power noise. Attending WGT festival (May 21–25, 2026). Wide travel radius for shows β€” uses cheap German slow trains.

## Memory/source pointers
Curator outputs:
- curated memory: /home/matrix-lite/state/persistent-chat/curated-memory.md
- curator journal: /home/matrix-lite/state/persistent-chat/curator-journal.md
- model heartbeat status: /home/matrix-lite/state/persistent-chat/model-heartbeat.json
- semantic candidates: /home/matrix-lite/state/persistent-chat/semantic-candidates.jsonl

Operational synthesis outputs:
- latest scheduled synthesis: /home/matrix-lite/state/persistent-chat/operational-synthesis/latest.md
- latest directed synthesis: /home/matrix-lite/state/persistent-chat/operational-synthesis/directed/latest.md
- directed synthesis index: /home/matrix-lite/state/persistent-chat/operational-synthesis/directed/index.json
- actionable notices: /home/matrix-lite/state/persistent-chat/operational-synthesis/notices.jsonl
- findings: /home/matrix-lite/state/persistent-chat/operational-synthesis/findings.jsonl
- hypotheses: /home/matrix-lite/state/persistent-chat/operational-synthesis/hypotheses.jsonl
- actions: /home/matrix-lite/state/persistent-chat/operational-synthesis/actions.jsonl

Recent source freshness:
- latest scheduled synthesis updated 2026-11-09T05:14:03.941014+00:00
- latest directed synthesis updated 2026-06-10T10:13:38.884235+00:00
- curator journal updated 2026-11-09T08:48:41.825613+00:00
Use these pointers for full context; packet excerpts are intentionally capped.

## Extended tools manifest
Extended tools (lazy proxy; not injected in normal turns):
- Search: duckduckgo, searxng, brave-search via matrix_lite_extended_tools extended_tool_describe/call.
- Browser: playwright via proxy for interactive web/page inspection.
- Vision: matrix_lite_vision via proxy for image analysis; dezgo_image is listed as disabled until credentials/runtime are available.
- Approvals: approval_policy via proxy for explicit human approval workflows.
- If argument details are unclear, call extended_tool_describe(name) first; then extended_tool_call(tool, arguments, server="").
- Full per-tool schemas are intentionally hidden until requested to keep session context lean.

## Continuity summary
Structured decision state:
- Matrix-lite persistent-chat memory runtime [active]: Canonical persistent-chat memory now lives under /home/matrix-lite/state/persistent-chat; prompts/pages/runtime use Matrix-lite app/workspace paths, not legacy OpenClaw paths. Fast heartbeat produces packets; slow model heartbeat curates durable memory/reflection. (files=/home/matrix-lite/state/persistent-chat/perpetual-log.jsonl, /home/matrix-lite/app/scripts/persistent-chat-memory, /home/matrix-lite/app/scripts/persistent-chat-model-heartbeat, /home/matrix-lite/app/matrix_lite/daemon.py; verified=Fast heartbeat and prompt/page deployment verified after Matrix-lite migration cleanup.)

## Tail policy
- Normal continuity comes from OpenCode loadSession; this packet intentionally omits chat transcript tail.
- For exact chronology, inspect model-friendly log: /home/matrix-lite/state/persistent-chat/model-conversation-log.jsonl
- Canonical fallback log: /home/matrix-lite/state/persistent-chat/perpetual-log.jsonl