repo-assist: expose memory entry schema and detect unsuccessful intended updates
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python
- Bereich
- ai-infra-agents
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Python
- Sterne
- 1.1k
- Forks
- 163
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus githubnext/agentics
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
githubnext/agentics#420 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
githubnext/agentics#402 ·
-
agentic-workflows automated documentation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 1/100
githubnext/agentics#419 ·
-
FrontendOffen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 1/100
githubnext/agentics#418 ·
-
[aw] Detection RunsOffenagentic-workflows
Schwierigkeit 2/5 Unter einer Stunde Anfängerfreundlichkeit 8/100
githubnext/agentics#415 · 1 Kommentar ·
Alle Issues in githubnext/agentics
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
bad-antics/lateralus-lang#1489 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 69/100
anderspitman/awesome-tunneling#330 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
scikit-hep/coffea#1668 ·