Skip to content

Add opt-in post-session memory ingestion hooks #7

Description

@janitor-manager

Parent: #1

Add opt-in post-session ingestion adapters for supported agent orchestrators.

Acceptance:

  • Define the supported Claude and Codex hook/event contracts separately.
  • Require explicit opt-in and an explicit target agent_id; never scan or ingest ambient session directories as a hook side effect.
  • Read only the exact session artifact supplied by the orchestrator, with regular-file, symlink, size, and format validation.
  • Filter tool payloads, credentials, and non-conversation records before submission.
  • Make retries safe so one session is not duplicated after an ambiguous transport failure.
  • Submit through the public memory-server ingest API with bounded timeouts and redacted diagnostics.
  • Add synthetic deterministic tests; do not use live sessions, private memory data, the model, GPU, or a running service.
  • Document installation, disablement, and failure behavior for each orchestrator.

The existing scripts/ingest_sessions.py is a bulk maintenance importer and is not this hook.

Activity

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

    backlogPlanned work not yet scheduledenhancementNew feature or requestmemory.serverWork for memory.server

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions