v2: Task-source port with local markdown as the first alternative
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Tranquilla
- Stack tecnologico
- github, markdown, sqlite, typescript
- Ambito
- backend-api-design, databases
Direzione di ricerca
The issue is explicitly parked for v2 and calls for an ADR before implementation. Start by reading ADRs 0007 and 0008, then inspect the current item source, item key, and repository label projection in the engine. Done means an ADR defines the tracker and code-host separation and a local markdown source is scoped as the first implementation slice.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Status: parked for v2
Future exploration. Revisit when a concrete non-GitHub source is needed, starting with an ADR that separates tracker and code-host concerns. This is not required for the current GitHub factory. The Board Task projection in #80 groups related work; it does not introduce this source port.
Original proposal
The run state (Run, Attempt, RunState in SQLite) is already usine's own. What is GitHub-shaped today:
- The Event payload is GitHub's slice by design (ADR 0007), and loop
if:expressions range overitem.labels.nodesand friends. StepResultfacts name pull requests and GitHub comments.RepositoryNameis a GitHubowner/name; the tracker and the code host are the same axis.- The repository label projection lives inside
@usine/engine. - Board lanes are labels (ADR 0008), and the item key encodes
github.
The workflow-in-labels pattern (ready-for-agent, agent-in-progress, ready-for-review, review-passed) is the label-protocol authoring style ADR 0007 names. The engine does not depend on it; the loops do. ItemProjectionSource and the item key prefix identify the current source; they are not yet a source-independent service port.
What a task-source port needs:
- A
TaskSourceservice: list changed items since a watermark, fetch one item's payload, write state back (labels, comments). GitHub, local markdown files, Linear, and Jira each implement it. - An owned
Taskshape: id, origin, title, body, state, labels, links to branch and PR. Keep the source-native payload beside it soif:expressions keep fields likereviews.nodesandheadRefOid. - Separating the tracker axis from the code-host axis.
- Moving the repository label projection out of the engine into the GitHub layer.
Fully local: the runtime store, the local worker, and the instance folder are already local. Triggers and repository identity are not. A local stream reading tasks/*.md with frontmatter state from the instance repo, plus a local repository path, would make usine runnable with no GitHub at all, and it is the best test seam the engine could have.
Proposal: write the ADR first, then take the local markdown source as the first slice.
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 0
- Merge medio
- 4h 26m
- PR unite (30g)
- 280
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 basaltbytes/usine
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
basaltbytes/usine#802 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
basaltbytes/usine#801 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
basaltbytes/usine#800 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
basaltbytes/usine#799 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
basaltbytes/usine#798 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di basaltbytes/usine
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
Doist/todoist-sdk-typescript#740 ·
I maintainer di solito rispondono entro 1 giorno
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
steipete/oracle#614 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
MoonshotAI/kimi-code#4591 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Koenkk/zigbee-herdsman-converters#13656 ·
I maintainer di solito rispondono entro 2 giorni
-
Report: Mooz Dance SDApertacheck:passed streams:remove
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno