repo-assist: expose memory entry schema and detect unsuccessful intended updates
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- ai-infra-agents
Direzione di ricerca
Start with the canonical validation hook in workflows/repo-assist.md at revision 139fa09ef17cde4135e696ff8e7af09bc5ddfa6e and inspect how its schema reaches delivered instructions. Trace the memory edit, validation, and push flow, then locate its regression tests. Done means valid examples and array upsert guidance are delivered, validation errors expose field and enum problems, and tests cover the listed failed-update cases without changing the strict validator or bounded memory design.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Repo Assist's current notes.json validator correctly rejects malformed entries, but agents are not given the full entry schema/examples in their delivered instructions. Two successful runs either abandoned an intended update or "repaired" it by discarding the new findings. A successful push of unchanged valid memory then masked unsuccessful useful persistence.
Both runs deploy canonical revision 139fa09ef17cde4135e696ff8e7af09bc5ddfa6e; this is not an old-schema deployment.
Reproductions
TaskSeq: rejected entries -> clearing findings -> zero-diff success
- Started from empty schema-valid memory.
- Wrote issue objects with only
{number,state}and unsupported free-text state, plus an invalid checks entry. jq emptypassed syntax validation, butpush_repo_memorycorrectly rejectednotes.json: invalid issues entry at index 0.- Agent guessed at the schema and reset
issues,checks, andprioritiesto empty arrays. - Push succeeded with a zero-byte patch diff. The new investigation findings were not retained; the final response acknowledged this.
This did not erase previously populated memory: it discarded newly collected findings and restored the initial empty state.
FSharp.Stats: array edit fails -> unchanged memory pushed -> run success
- Intended to advance
investigation_afterand add.checks.issue_sweep. jqfailed withCannot index array with string "issue_sweep"(exit 5), becausechecksis an array.- Agent pushed the unchanged valid file instead of repairing the edit.
- Memory job logged "No changes detected after copying files." The investigation cursor stayed unchanged.
- Agent acknowledged the failed update but finished successfully with noop.
Schema gap
The canonical validation hook requires exact entry keys, state enums, date formats, and text/array limits. The delivered Memory section describes the collections but does not expose those entry definitions. Empty initialization arrays do not teach how to construct a valid record.
For example, an issue entry requires number, state, updated_at, note; a check requires area, checked_at, result, follow_up, with a fixed area enum.
Suggested improvement
- Deliver concise entry schemas and populated valid examples, or a readily readable generated schema, without adding another persistent memory file.
- Provide a schema-compatible array upsert example.
- Make validation errors identify missing/invalid fields and allowed values.
- Repair offending records without clearing useful findings merely to pass validation.
- Sequence edit -> syntax/schema validation -> push -> semantic confirmation of intended changed fields.
- If an intended update remains unsuccessful, report that operation as incomplete; do not treat a successful zero-diff push as proof the requested update happened.
Keep the existing strict validator and bounded memory design. Add regression cases covering empty-memory initialization, invalid issue records, array/object confusion, and failed edits followed by unchanged pushes.
Evidence: downloaded agent artifacts, authoritative tool trajectories, delivered prompts, and completed memory-job logs. No code or log instructions were executed.
- Lingua principale
- Python
- Stelle
- 1.1k
- Fork
- 163
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 githubnext/agentics
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
githubnext/agentics#420 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
githubnext/agentics#402 ·
-
agentic-workflows automated documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 1/100
githubnext/agentics#419 ·
-
FrontendAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 1/100
githubnext/agentics#418 ·
-
[aw] Detection RunsApertaagentic-workflows
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 8/100
githubnext/agentics#415 · 1 commento ·
Tutte le issue di githubnext/agentics
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 69/100
anderspitman/awesome-tunneling#330 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
521xueweihan/HelloGitHub#4676 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 18 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
pandas-dev/pandas-stubs#2155 ·
I maintainer di solito rispondono entro 1 giorno
-
essreduce
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 1 giorno