start DIN daemon
Mantenedores costumam responder em até 1 dia
Avaliação
Esta issue ainda não foi avaliada.
Descrição
Branch: feat/din-daemon (branch off feat/din-sdk until the SDK merges into develop, then rebase onto develop)
Assignee: @Santiagocetran
Roadmap ref: P4-1.1 (dind Daemon Framework) and the P4 daemon work-package series · P3-DOC7 (architecture spec)
Long-running issue (expected to stay open 1–2 months). A detailed task file under
Developer/tasks/will follow — this issue tracks the overall effort, not a weekly task.
Goal
Build dind, the DIN daemon: an always-on host process that automates network participation (task discovery, job execution, coordination) across client/auditor/aggregator roles, per the P4 phase of Developer/ROADMAP.md.
Relationship to the DIN-SDK
dind does not reimplement CLI logic. All protocol logic lives in dincli/sdk/ (see the "start DIN-SDK" issue). SDK functions return JSON outputs; dind consumes that JSON to update its configuration and drive its job queue, while the CLI consumes the same JSON for terminal UI/UX. The SDK's JSON interface is therefore a prerequisite for daemon job execution — daemon scaffolding (event loop, state store, process lifecycle) can start in parallel, but role automation depends on the SDK.
Scope (initial framework — P4-1.1)
- Daemon process architecture: event loop, job scheduler/queue, persistent state store (SQLite or JSON-backed — document the tradeoff)
- Graceful SIGTERM handling from day one (carry forward the P3-T0.2a pattern)
- Structured JSON logging from day one (carry forward the P3-T0.2d pattern)
- Basic CLI:
dind start,dind stop,dind status - HTTP
/healthendpoint (carry forward the P3-T0.2c pattern; extend with a resource summary) -
systemd/launchdunit examples - Configuration/job-queue updates driven by SDK JSON outputs
Later P4 work packages (preferences, capability detection, task discovery/recommendation, role automation, event listening — P4-2.x through P4-7.x) will be tracked as follow-up task files against this issue.
References
Developer/ROADMAP.md— P4 phase overview and work packages P4-1.1 → P4-9.2Developer/issues/validator-operations.md— Phase 2 "Daemon Operations" (/health, structured stdout logging)Developer/issues/containerization.md— Phase 5 "Daemon Integration" (same container runner used fromdind; hostdincli/dindowns wallet, network, contracts, task selection, submissions)- P3-DOC7 (dind Architecture Document, authored by Umer) precedes implementation of the automation layers
Branching note
Two branches, not one: feat/din-sdk is a refactor of existing code that should merge into develop early; feat/din-daemon is new code consuming the SDK. Keeping them separate keeps PRs reviewable and lets the SDK land without waiting on the daemon.
- Linguagem predominante
- Python
- Estrelas
- 4
- Forks
- 7
- Merge médio
- 3d 5h
- PRs com merge (30d)
- 34
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de InfiniteZeroFoundation/DevNet
-
ROADMAP.md: refresh "What is still open for P3" (several items were fixed in October)Talvez já em andamento @umermjd11 assumiu há 4 dias. Abertadocumentation good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
InfiniteZeroFoundation/DevNet#285 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Update the 25 translated organisation READMEs to match the English versionTalvez já em andamento @mrCabez assumiu há 1 dia. Abertagood first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
InfiniteZeroFoundation/DevNet#277 · 2 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Update the client-service guide to explain training and uploading separatelyTalvez já em andamento @Santiagocetran assumiu há 1 dia. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
InfiniteZeroFoundation/DevNet#266 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Few questions related to GI2 aggregatorTalvez já em andamento @Abidoyesimze assumiu há 1 dia. Aberta
InfiniteZeroFoundation/DevNet#307 · 1 reação · 4 responsáveis ·
Mantenedores costumam responder em até 1 dia
-
bug python
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 52/100
InfiniteZeroFoundation/DevNet#306 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de InfiniteZeroFoundation/DevNet
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
BCDA-APS/polar-bits#93 ·
-
infer_audio_type only recognises one MPEG Layer III frame header, so most MP3 files are rejectedTalvez já em andamento @Steve-20-ai assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
[BUG] - ssh_config `Match tagged` statement always appliesTalvez já em andamento @AtharvRG assumiu hoje. AbertaBug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
paramiko/paramiko#2715 · 1 comentário ·
Mantenedores costumam responder em até 9 dias
-
auto-rejected intake mcp-intake needs-salvage priority:high type:feature
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Ikalus1988/MisakaNet#4221 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia