#4796 "A record the operator names by number reaches auto-inject only if its wording happens to match"
record_refs.named_record_ids reads the record ids named in the operator's raw prompt:
#N, unless the word before it marks another numbering;
a bare number of 3 or more digits when it opens the message, follows a reference word or continues a list;
quantities, dates, versions, paths and fenced code are rejected.
Each id is resolved through the ACL check. The auto-inject menu now leads with a "Named in your message" block, even when the semantic search finds nothing.
A new usage source, named_ref, is registered as an unbidden lookup that is allowed to be quiet.
One commit, f95ffae: CI 7986 green on dev.
**#4796 "A record the operator names by number reaches auto-inject only if its wording happens to match"**
- `record_refs.named_record_ids` reads the record ids named in the operator's raw prompt:
- `#N`, unless the word before it marks another numbering;
- a bare number of 3 or more digits when it opens the message, follows a reference word or continues a list;
- quantities, dates, versions, paths and fenced code are rejected.
- Each id is resolved through the ACL check. The auto-inject menu now leads with a "Named in your message" block, even when the semantic search finds nothing.
- A new usage source, `named_ref`, is registered as an unbidden lookup that is allowed to be quiet.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
#4796 "A record the operator names by number reaches auto-inject only if
its wording happens to match". "yes go ahead with 4448" says which record
is meant, but a number means nothing to an embedding, so the prompt menu
filled with records resembling the words around it.
- record_refs.named_record_ids reads the operator's raw prompt, never the
reply-enriched query:
- `#N`, unless the word before it marks another numbering (PR, CI, rule,
milestone, system, log...);
- a bare number of 3 or more digits that opens the message, follows a
reference word or continues a list one started;
- never a quantity ("300 seconds"), a date, version, path or fenced code.
- Each id is resolved through the ACL check; trashed or inaccessible ids
are dropped.
- A "Named in your message" block leads the menu: the kind, the System,
the name and the opening of the body, or the seen pointer if the record
is already on the ledger. It takes no share of top_k, and the semantic
lines leave those ids out.
- The block is booked under the new `named_ref` source, registered as an
unbidden lookup that is allowed to be quiet. A named id that also ranked
counts as suppressed in the auto_inject row, so #3668's identity holds.
- Named records now arrive even when the search finds nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
One commit,
f95ffae: CI 7986 green on dev.#4796 "A record the operator names by number reaches auto-inject only if its wording happens to match"
record_refs.named_record_idsreads the record ids named in the operator's raw prompt:#N, unless the word before it marks another numbering;named_ref, is registered as an unbidden lookup that is allowed to be quiet.🤖 Generated with Claude Code