🤖 task_remove: protect child commits that no ref holds

Aperta
#7,882 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
git, typescript
Ambito
devtools

Direzione di ricerca

Start by finding task_remove and the code that records a child's reported commits, then check how refs are created and listed. Choose between warning, refusing, or pinning unreachable commits under refs/xum/tasks/<id>; the issue leaves that open, so confirm the direction with a maintainer first. Done when removing a child keeps commits no branch points to, covered by a test that builds such a commit with git commit-tree.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

task_remove can drop commits that no ref holds.

Sub-agents built optional tests-only commits with git commit-tree, so no branch pointed at them. The parent had to pin them with temporary branches before task_remove, or lose them.

Suggested fix: task_remove warns about, or refuses, a child whose reported commits are not reachable from any ref in the parent, or pins them under refs/xum/tasks/<id>.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Lingua principale
TypeScript
Stelle
2.1k
Fork
139
Merge medio
4h 38m
PR unite (30g)
926

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/xum

Tutte le issue di coder/xum

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.