Skip to content

fix: date the agent journey's memory card now so aging keeps it in the hooks - #1852

Merged
yansfil merged 1 commit into
mainfrom
fix/journey-memory-card-age
Oct 30, 2026
Merged

yansfil merged 1 commit into
mainfrom
fix/journey-memory-card-age

Conversation

@yansfil

@yansfil yansfil commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Summary

The agent journey's guidance_memory cell failed for Codex CLI and OpenCode in the v1.0.4 release run while Claude Code passed, and the same build had passed it an attempt earlier.
The journey seeds its one Memory card with created_at_unix_ms: 1, a card dated 1970.
Since #1816, Memory ages cards: one quiet past the archive age is archived and leaves the hooks.
So the first aging run during the journey (cards.aged archived:[1] in the run's hided.log) took the card away, and every agent that started after it was given no card; which agents that hit depended on when the run happened.
The seed now dates the card at the moment it is made, as a real card is.
This is test tooling only (hide-memory/examples/journey_memory.rs); no product code changes.

스크린샷 없음: 화면을 바꾸지 않는 journey 도구 수정입니다.

Review

  • hide-memory/examples/journey_memory.rs: the batch's created_at_unix_ms is the current time; a clock before 1970 is refused with clock_before_epoch rather than defaulted.

Evidence

  • Confirmed: release run attempt 2 at 4f9f8d9 failed guidance_memory for codex and opencode with "no assistant message carries" the card's token; Codex answered "I don't have the Project Memory card's title", and the run's hided.log shows {"component":"memory","kind":"cards.aged",...,"archived":[1]}. hide-memory/src/store/upkeep.rs age_cards reads a card's clock from created_at_ms when no aging clock or given time is newer.
  • Confirmed: the example builds (scripts/verify-cargo.sh build -p hide-memory --example journey_memory).
  • In progress: the release journey rerun with this seed; its result goes on the release record, not here.

@yansfil
yansfil merged commit 505591b into main Oct 30, 2026
30 checks passed
@yansfil
yansfil deleted the fix/journey-memory-card-age branch October 30, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant