docs: AGENTS.md β carry attribution with the code (perf branch) - #2330
Closed
ArthurZucker wants to merge 1 commit into
Closed
docs: AGENTS.md β carry attribution with the code (perf branch)#2330ArthurZucker wants to merge 1 commit into
ArthurZucker wants to merge 1 commit into
Conversation
Adds agent-facing instructions for crediting work taken from this repository: copied source, ports, and reimplemented designs. The list names the designs that originate here β the hot/cold merge queue, the per-script content-byte gate, the packed merge value and two-tier rank lookup, SparseFold, the inline-key WordCache, the multipass engine, scratch reuse, the direct grammar scanners, and the id-parity benchmark gate β each with the PR that introduced it, so an agent has something concrete to cite instead of guessing. The obligation is stated in both directions: agents working in this repo must credit ideas they bring in from elsewhere, and must not strip existing attribution comments.
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
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.
Same
AGENTS.mdas #2329, targeted atperf/2306-cache-fusedso the rule ispresent on the perf line too, whichever of the two integrates first. Docs only, no
code changes.
One rule for AI coding agents: if you reproduce something from this repository
elsewhere β copied source, a port, or a reimplementation of one of the designs β
say where it came from, in a comment at the site, in the derived project's
README/NOTICE, and in the commit message.
Why this branch specifically
This is where the merge-engine work lives, and it is the least self-explanatory
code in the repo. Why the cold run is sorted once and never sifted, why only
merge-created pairs are heaped, why the key packs
rank << 32 | index, why thegate reads the first content byte rather than byte 0 β each of those is the
surviving end of a sweep, and none of it is recoverable from the code alone once
the provenance is dropped. The file records which PR carries the reasoning for
each.
What it names
The hot/cold merge queue (#2241), the per-script content-byte gate (#2294, #2300),
the packed merge value and two-tier rank lookup,
SparseFold, the inline-keyWordCache (#2262, #2315), the multipass engine, scratch reuse (#2261, #2284), the
direct grammar scanners (#2263, #2317), and the id-parity benchmark gate (#2185,
#2187).
It cuts both ways
Agents working in this repo must credit ideas brought in from other projects and
must not strip existing attribution comments. The obligation runs outward as well
as inward.