Add pre-compact hook to auto-trigger /compound workflow
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
- #250 di @mvanhorn — chiusa senza merge
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
- Ambito
- developer-experience, tooling
Direzione di ricerca
Start by reading plugins/compound-engineering/commands/workflows/compound.md, especially the existing auto-invoke triggers noted in the issue. Then investigate how the plugin registers hooks that run before context compaction or session end. Done means compoundable sessions are detected, user preferences control prompting or auto-run, trivial sessions are skipped, and the existing command is invoked correctly.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Feature Request
Add a hook that triggers before context compaction (or session end) to check if there's anything worth compounding, and if so, automatically run the /workflows:compound command.
Motivation
The /workflows:compound command captures valuable knowledge - solved problems, learnings, patterns discovered - but requires manual invocation. By the time you think to run it, the context may have already been compacted or the session ended, losing that valuable context.
A pre-compact hook would ensure knowledge gets captured at the optimal moment - when the full context is still available and fresh.
Proposed Behavior
- Trigger: Before context compaction or session end
- Check: Analyze the session for compoundable content:
- Problems that were solved
- Significant debugging sessions
- Pattern discoveries or learnings
- Non-trivial fixes with root cause analysis
- Action: If compoundable content is detected, prompt to run
/workflows:compound(or auto-run based on user preference)
Acceptance Criteria
- Hook triggers before context compaction
- Intelligently detects if session contains compoundable material
- Respects user preference (prompt vs auto-run)
- Doesn't trigger for trivial sessions (simple Q&A, quick fixes)
- Works with the existing
/workflows:compoundcommand
Context
Discussed in the Every Discord. This aligns with the core plugin philosophy: "Each unit of engineering work should make subsequent units of work easier—not harder."
Currently, the /workflows:compound command has auto-invoke trigger phrases like "that worked" and "it's fixed", but a pre-compact hook would provide a safety net for capturing knowledge before context is lost.
Related
/workflows:compoundcommand:plugins/compound-engineering/commands/workflows/compound.md- Existing auto-invoke triggers (lines 166-169 in compound.md)
- Lingua principale
- TypeScript
- Stelle
- 25.6k
- Fork
- 2.1k
- Merge medio
- 3h 57m
- PR unite (30g)
- 170
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 EveryInc/compound-engineering-plugin
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
EveryInc/compound-engineering-plugin#2085 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
EveryInc/compound-engineering-plugin#795 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 80/100
EveryInc/compound-engineering-plugin#2084 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
EveryInc/compound-engineering-plugin#2083 ·
I maintainer di solito rispondono entro 1 giorno
-
Host support: DeepSeek Harness (dsh)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
EveryInc/compound-engineering-plugin#2072 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di EveryInc/compound-engineering-plugin
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
hurttlocker/o8#6535 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
area: backend bug priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
snapotter-hq/SnapOtter#4856 ·
I maintainer di solito rispondono entro 1 giorno
-
bug follow-up
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
spellshift/realm#2509 ·
I maintainer di solito rispondono entro 1 giorno