Skip to content

docs: split interface contracts by source file - #158

Merged
ejj merged 1 commit into
NetSys:mainfrom
ejj:pr-mv
Jun 11, 2026
Merged

ejj merged 1 commit into
NetSys:mainfrom
ejj:pr-mv

Conversation

@ejj

@ejj ejj commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

docs/interfaces.md had grown into one large file covering every module's public surface. Agents either had to load the full file to answer narrow context questoins, or waste tokens grepping for the answers they wanted.

This commit instead places each module's interface contract in its own file under context/interfaces/, mirroring the src/ tree, with context/interfaces/README.md as the entry point. Agents load the index, follow the link to the relevant per-source contract, and skip the rest.

@justinpettit justinpettit left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

("questions" is misspelled as "questoins" in the commit message.)

`docs/interfaces.md` had grown into one large file covering every
module's public surface. Agents either had to load the full file to
answer narrow context questions, or waste tokens grepping for the
answers they wanted.

This commit instead places each module's interface contract in its own
file under `context/interfaces/`, mirroring the `src/` tree, with
`context/interfaces/README.md` as the entry point. Agents load the
index, follow the link to the relevant per-source contract, and skip the
rest.
@ejj
ejj merged commit a53f574 into NetSys:main Jun 11, 2026
1 check passed
@ejj
ejj deleted the pr-mv branch June 11, 2026 03:40
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.

2 participants