Repository navigation
feat(views): commit a reproducible front-door agent view (DEC-007) - #139
Merged
Merged
Conversation
memory/learn/agent/mqobsidian.md is tracked, but it was built partly from gitignored memory/learn/repos lessons and dated by the rebuild day, so no clean clone could reproduce it. index.md declares agent_view: versioned. The view is rebuilt from hot/index only and dated 2026-09-17 from its sources. Public Safe Check reruns mq-agent agent-views check on the clean checkout; tests/test_versioned_agent_view.py guards the rule locally without mq-agent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
memory/learn/agent/mqobsidian.mdis tracked and required bycheck-context-links.py, but no clean clone could reproduce it. It was built partly from gitignoredmemory/learn/repos/mqobsidian.mdlessons and dated by the rebuild day. In the operator checkout it kept showing up as modified.DEC-007 decides that a committed, generated agent view is built from committed sources only:
memory/learn/repos/*.mdmemory/learn/agent/mqobsidian.mdsystems/mqobsidian/{hot,index}.mdonlyChanges:
systems/mqobsidian/index.mddeclaresagent_view: versioned. I put it inindex.mdrather thanhot.mdbecausehot.mdsits exactly at its 80-line budget.memory/learn/repossource, andgenerated:becomes2026-09-17, the newest sourceupdated:.mq-agent agent-views check --system mqobsidianwith mq-agent installed frommain. The step is declaredCiOnlyincheck-gate-parity.pywith its reason.tests/test_versioned_agent_view.pyis the local guard and needs no mq-agent. Every tracked view must belong to a marked system and cite onlysystems/<system>/sources.Depends on mq-agent #395
The new CI step stays red until mq-agent #395 is merged. The generator on mq-agent
mainstill includes the lessons and dates the view by the clock, so it reports this viewstale. That is the expected red, not a defect.Verification
cmp).agent-views checkwith #395 reportsfresh.python3 -m unittest discover -s tests: 230 tests OK (1 skipped). The new test also flags both problems in themainstate.Not covered here: "an export must never overwrite unrelated authored notes" is already guarded for the learn export by
scripts/check-learn-namespace.py. The agent-view generator only writes insidememory/learn/agent/(mq-agent contract rule 5).🤖 Generated with Claude Code