Mainline: Git-native intent memory for Codex agents #21358
atlas-comstock
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve been exploring a workflow problem that shows up more as Codex agents start making non-trivial repo changes:
Codex can read the code, but it does not automatically know the repo’s historical intent.
Example failure mode:
redis.go, TODOs, and Redis is still indocker-compose.yml.The code points in one direction; the repo history points in another.
I open-sourced Mainline as one experiment around this:
https://github.com/mainline-org/mainline
Mainline stores engineering intent in Git refs/notes so Codex and other coding agents can retrieve context before editing:
The goal is to capture small durable intent records:
This is not meant to replace docs, AGENTS.md, or review. I see it as complementary:
AGENTS.md/ project instructions: stable behavior and conventionsI’d love feedback from Codex users:
Beta Was this translation helpful? Give feedback.
All reactions