doc/wg/core/notes/core-notes-2026-02-04.md
AGENTS.mdAmit: in September, Hudson suggested adding an AGENTS.md that LLMs can work
with. There was some concerns with this; we wanted a subgroup to discuss it
more deeply. Any status updates? How do we continue with this? Move on with
the PR? Should we formalize this more?
Hudson: Small group was me and Alex. We were unsuccesful in scheduling a time to meet. Just chat here, in this capacity?
Amit: Scheduling is hard, unlikely that we'll loop everybody in. Do we remember what discussion was about?
Hudson: Concerns:
AGENTS.md is an endorsement of people using Gen-AI tools to write code
for Tock. Is this something we want to do this, is this something we want
to discourage? Do we want to add guardrails?Copyright implications.
Johnathan: remember the same concerns. Recall that concern about copyright was secondary. We've had slop once, and needed to justify closing this PR. Want to update the review policy to allow us to close PRs that are large and the contributor is not responsive to our feedback.
Amit: last comment is on my plate for updating the code review doc. Trivial things:
add checkbox to the PR template, either: "I wrote all of this code myself" or "It was LLM generated and I reviewed all of it" Re: code review policy -- we can implement that independent of the LLM policy
Leon: in favor of asking people to check a box saying "I used LLM to generate this code". Have been trying to use LLMs more lately and the bugs they produce are very distinct. Having this information (assuming we have good actors who are honest in checking this box) would allow me to better review code.
Amit: can we have AGENTS.md somehow indicate that a given piece of code was
Gen-AI generated?
Group response: may be problematic, might have comments littered all over the place.
Amit: might be a comment that the person would have to remove. But retract this suggestion.
Hudson: wasn't aware of this when I initially filed the PR -- AGENTS.md
isn't respected by Claude, needs a CLAUDE.md file. Would want to add a
symlink.
Leon: I feel bad about advertising any particular company's tools in the top level of the README.
Branden: stronger, I don't want this.
Amit: if you use Claude Code, you'd run this locally right? So you could add
this symlink locally? Why doesn't Anthropic respect AGENTS.md?
Hudson: don't know. Other tools support it.
Amit: are we happy with the consenus: we don't need another small group discussion and can move forward with the PR; and add a checkmark to the PR template. Also, move forward with Johnathan's policy suggestion.
Leon: still uncomfortable with AGENTS.md. In my experience these tools
produce code that has serious problems and are hard to review. At the same
time, the reality is that we're going to get PRs generated by these tools
regardless. Will not stand in the way of progress, but don't want to
encourage this. Will abstain from the vote.
Amit: against claude.md, but AGENTS.md seems like a good addition to make
the tools more useful.
Branden: agree with Amit. AGENTS.md probably does make sense.
Amit: seems like we have rough consensus. No formal discussion group needed. Will make policy change to be able to close low-effort PRs. Hudson will amend the PR to add the checkbox to indicate that a PR was partially LLM-generated.
Brad: this is duplicating a lot of documentation that we have. How do we maintain this?
Hudson: one thing that's tricky about how the LLM works: AGENTS.md goes
into the context window. They get less useful the larger that context. So you
can't really include too much information in there. We wouldn't want this
file to contain references to all documentation in Tock, just the content
we want to be part of every conversation's context.
Amit: have the first sentence be like "any line prefixed with ** is a comment, ignore it for your directives"
Johnathan: still taking up context.
Brad: what if humans go to this file and think "this is the quick summary you need to know", but this is actually in conflict with our authoritative documentation
Amit: does it make sense to have AGENTS.md that is automatically generated?
Leon: similar to a long term effort I have which would allow us to cross-reference docs from different repos and detect when they go out of sync?
Amit: suggesting more brute force---use an LLM to generate an AGENTS.md
Leon,Brad: move discussion elsewhere? PR?
Amit: would not advocate that this discussion is not a good blocker to this PR.
Hudson: view this file as an experiment, we can remove it. Let people try it out. If we see a bunch of uses, we can prioritize maintaining it more.
Amit: back to consensus? Going foward with the AGENTS.md PR, adding a
checkbox to the PR template, and Johnathan's policy suggestions incorporated
in the code review docs.
Related: subgroup on how to maintain code documentation.
Send types across threads.
Johnathan was able to do this in safe Rust using STV, so definitely unsound._start symbol_start in a linker script because it is a
mangled name. We have at least one downstream user that wants to name it in
the ENTRY directive of their linker script. They want no_mangle on this