Skip to content

Slice: deliver external Memory changes through Inbox #352

Closed

Description

@DoodleBears

Parent

#350

What to build

As a Human editing a PersonaBot's Memory Repository with VS Code, Git, or another external tool, I want the Bot to receive an actionable Memory change Source Event through its Bot Inbox on the next ordinary turn. Saving a file alone must not wake the Bot.

#351 already moved Inbox rendering after prepareTurn. Replace the memory-local take-once annotation path with a real Source Event and Inbox Admission from the Memory Service's observed worktree delta. This slice verifies the running-Host path; the follow-on checkpoint slice closes the Host-restart gap.

Acceptance criteria

  • External additions, edits, removals, commits, and branch movement produce a bounded, paths-only memory-change Source Event and Inbox Admission on the next ordinary turn.
  • The Event appears in the Bot Inbox projection and is selected into the turn as actionable Inbox context with its identity and change categories; it never wakes an idle Bot by itself.
  • A second edit to a path already dirty at the prior observation is detected, including staged and untracked content where applicable.
  • A Bot-owned change stays silent; a quiet turn adds no bytes; a PERSONA.md change states that the current Session keeps its frozen persona.
  • An Admission is observed only when its actionable summary actually enters the Orchestrator turn, handled on successful completion, and left for existing repair behavior on failure.
  • Remove the take-once staging path and rewrite its tests as Source Event, Admission, and rendered-turn assertions.
  • Preserve DM, group, report, digest, and resume turn behavior; verify live with an isolated Host and real model.
  • Do not add UI save-time admission. Do not claim this slice alone closes the pre-observation Host-restart gap.

Blocked by

Activity

  1. added
    ready-for-agentFully specified, ready for an AFK agent
    area:backendHost-side implementation
    feature:memoryPersonaBot Memory Repository and Memory Service
    feature:messagingMessaging module and external providers
    scope:tracerHuman-testable implementation slice
    on Sep 27, 2026
  2. added this to the v1.0 milestone on Sep 27, 2026
  3. changed the title [-]Slice: memory-change admission replaces take-once[/-] [+]Slice: deliver external Memory changes through Inbox[/+] on Sep 29, 2026
  4. DoodleBears commented on Sep 29, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    • Agent: Codex
    • Task: codex/local/01a0e86b-16ab-7a01-baf9-e555eec3ea62 (not a DSH Session)
    • Issue scope: Slice: deliver external Memory changes through Inbox #352 — durable Memory Source Event and Inbox Admission for in-process external changes
    • Branch: codex/352-464-memory-inbox
    • Started: 2026-09-29 06:29 UTC
    • State: active
  5. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Sep 29, 2026
  6. DoodleBears commented on Sep 29, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Task: codex/local/01a0e86b-16ab-7a01-baf9-e555eec3ea62
    • State: handed-off for Human QA and PR review
    • PR: #473 · Commit: 88c91e8
    • Delivered: observed in-process Git working/index and commit changes create a durable Memory Source Event and Bot Inbox Admission, which joins the next ordinary Orchestrator turn; repeated edits to one dirty path are detected.
    • Verification: focused integration tests cover same-turn delivery and Inbox handling; the PR contains the live DSH screenshot. Remaining: Human QA and merge. The isolated QA Profile has no model credential, so a real model reply was not verified there.
  7. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:backendHost-side implementationfeature:memoryPersonaBot Memory Repository and Memory Servicefeature:messagingMessaging module and external providersready-for-agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation slice

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions