productivity: suggest version control for TASKS.md / memory/ before bulk rewrites

Aperta
#1,422 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à
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
git, github

Direzione di ricerca

Read the /productivity:start and /productivity:update instructions and the README; locate the steps that rewrite TASKS.md, CLAUDE.md, and memory/, plus the gh issue list --assignee=@me check. Trace how repository and remote checks are handled, then define done as version control guidance and recovery prompts covering the listed start and update cases, with the GitHub issue check gated on a GitHub remote.

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

Descrizione

/productivity:start and /productivity:update rewrite TASKS.md, CLAUDE.md and memory/ in bulk (add, move between sections, mark done, enrich memory). The plugin doesn't mention version control, so on a plain folder there is no undo or history for those rewrites.

What I hit: after one /productivity:update run (22 tasks added, 12 moved, 5 marked done) the only rollback was a manual /tmp copy. I also deleted the source handoff doc, which couldn't be recovered.

Suggestions:

  1. start: if the folder isn't a git repo, offer to git init and make an initial commit (local only, no remote).
  2. update: if it's a repo, show git diff --stat at the end and offer to commit; if it isn't, take a timestamped backup of TASKS.md first.
  3. README: one line recommending version control (or a synced folder with history) for the workspace.

Related: update step 2 runs gh issue list --assignee=@me "if in a repo". A local-only repo (no GitHub remote) makes that check fail. Suggest gating it on the repo having a GitHub remote, not on being a git repo.

Lingua principale
Python
Stelle
36.8k
Fork
4.1k
Merge medio
1g 23h
PR unite (30g)
17

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

  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 anthropics/knowledge-work-plugins

Tutte le issue di anthropics/knowledge-work-plugins

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.