Two always-loaded agent-instruction surfaces (AGENTS.md and .github/copilot-instructions.md) with no precedence rule
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- github-actions
- Ambito
- documentation
Direzione di ricerca
Leggi AGENTS.md, in particolare la relativa sezione «Maintaining this file», quindi confrontalo con .github/copilot-instructions.md e con i riferimenti CI documentati in .github/workflows/node-checks.yml e README.md. Decidi e documenta la relazione prevista tra i file di istruzioni, assicurandoti che la policy scelta e gli eventuali puntatori o limiti di ambito necessari siano scritti in AGENTS.md e riflessi nei file interessati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
This repo carries two always-loaded agent-instruction surfaces covering the same ground: AGENTS.md (with CLAUDE.md as a symlink to it) and .github/copilot-instructions.md. Both describe build commands, architecture, and conventions. Nothing states which one wins, so they drift independently - and they already have.
The drift is not hypothetical
The CI Node matrix is currently stated in three places, and two of the three are wrong:
| Source | Says |
|---|---|
.github/workflows/node-checks.yml (the owner) |
[22, 24] |
.github/copilot-instructions.md |
"Node 20 and 22" |
README.md:19 |
"node@16, node@18 and node@20" |
An agent or contributor reading either prose copy gets a wrong answer about what CI actually runs, and the README copy is wrong by two major versions.
layer5io/sistent#1780 fixes those two prose copies by reducing them to a pointer at the workflow, which is the pattern AGENTS.md already prescribes for itself ("Do not repeat what the codebase already shows; point to the authoritative file or command instead"). That closes the immediate factual error but not the structural one.
The structural question
AGENTS.md has a ## Maintaining this file section setting a deliberate bar: keep it to knowledge useful to almost every session, point at authoritative sources rather than restating them, prefer rewriting over appending. .github/copilot-instructions.md has no equivalent governance and no stated relationship to AGENTS.md, so:
- a maintainer updating one has no signal that the other exists;
- an agent loading both gets the same territory twice, with no precedence rule for conflicts;
- every fact restated in both is a future drift like the one above.
What to decide
One of:
- Retire
copilot-instructions.md, or reduce it to a short pointer atAGENTS.md. Copilot reads whatever is at that path; a stub that redirects costs nothing and removes the second copy. - Keep it, and give it a scope that does not overlap - Copilot-specific mechanics only, with everything shared living in
AGENTS.md. - Keep both as-is and accept the duplication, in which case say so explicitly in both files so the next maintainer knows the redundancy is intentional and updates both.
Whichever is chosen, the outcome should be written down in AGENTS.md's ## Maintaining this file section, since that is the file that currently claims to govern agent knowledge in this repo.
Raised from the schema-consumer audit in layer5io/sistent#1780, which found the Node-matrix discrepancy while checking whether the change had invalidated any documented fact. Deliberately not resolved there - fixing the wrong facts is in scope for that PR; deciding whether the second instruction surface should exist is not.
- Lingua principale
- TypeScript
- Stelle
- 137
- Fork
- 239
- Merge medio
- 4g 14h
- PR unite (30g)
- 5
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di layer5io/sistent
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
component/ui help wanted kind/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
layer5io/sistent#1772 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
layer5io/sistent#1749 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
ESM build is not loadable by Node: extensionless 'lodash/debounce' specifier in dist/index.mjsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
layer5io/sistent#1739 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Catalog design card titles truncate to single line with no way to see full nameForse già presa @Maanvi212006 l’ha presa 4 giorni fa. Apertakind/bug
layer5io/sistent#1849 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di layer5io/sistent
Issue simili
-
docs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
remix-run/react-router#15558 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
solana-foundation/pay-kit#341 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
supabase/agent-skills#607 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno