Skip to content

feat(source): honour requested sources first, capped (0.2.0, ADR-DE-008) - #6

Merged
jjohare merged 2 commits into
mainfrom
feat/requested-sources
Oct 17, 2026
Merged

jjohare merged 2 commits into
mainfrom
feat/requested-sources

Conversation

@jjohare

@jjohare jjohare commented Oct 17, 2026

Copy link
Copy Markdown
Member

Closes the loop that sent 'please bundle file X' to the governance panel three nights running across four repos. Requested paths (from the previous night's report or the operator) are read first, at most half the slots and half the bytes, validated like planner picks; the planner is told what is already supplied; the section and source.json record honoured/refused requests. GatherInput is now non_exhaustive with a constructor; the added field is breaking for struct-literal callers, so this is 0.2.0.

🤖 Generated by Claude Code

claude and others added 2 commits October 17, 2026 09:41
…pped at half the read (0.2.0)

GatherInput gains requested paths (non_exhaustive, with a constructor).
select reads them ahead of the planner, at most half the file slots; the
renderer gives them at most half the byte budget. The planner is told what
is already being read; the section and SourceRecord name which requests
were honoured or refused and why, and tell the model to list further
needs under 'Sources wanted next night' instead of asking the operator.
ADR-DE-008. Breaking for struct-literal callers, hence 0.2.0.

Co-Authored-By: jjohare <github@thedreamlab.uk>
…first

Co-Authored-By: jjohare <github@thedreamlab.uk>
@jjohare
jjohare merged commit 8b59c04 into main Oct 17, 2026
5 checks passed
@jjohare
jjohare deleted the feat/requested-sources branch October 17, 2026 09:50
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