Repository navigation
fix: date the agent journey's memory card now so aging keeps it in the hooks - #1852
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The agent journey's
guidance_memorycell 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'shided.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'screated_at_unix_msis the current time; a clock before 1970 is refused withclock_before_epochrather than defaulted.Evidence
guidance_memoryfor 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'shided.logshows{"component":"memory","kind":"cards.aged",...,"archived":[1]}.hide-memory/src/store/upkeep.rsage_cardsreads a card's clock fromcreated_at_mswhen no aging clock or given time is newer.scripts/verify-cargo.sh build -p hide-memory --example journey_memory).