chore(cli): commands import infrastructure directly, contradicting the documented architecture
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
- Área
- cli, developer-experience
Línea de trabajo
Start with PR #795, which contains the replacement architecture documentation and the related context-graph, restricted-import, and orchestrator dependency guards. Verify that the documented model matches the presentation-to-runtime composition path, that bounded contexts do not import either outer boundary, and that the architecture gates remain green before closing this issue after the PR merges.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
The old CLI documentation described a strict three-layer model and made command imports from infrastructure/deps appear contradictory.
PR #795 replaces that model with bounded contexts plus two outer boundaries:
presentationparses and renders the CLI;runtimeis the composition root that wires concrete ports and use cases;kerneland bounded contexts never reach back into either outer boundary.
Decision
A presentation command may call the runtime wiring factory. This is intentional composition, not an application/domain dependency leak.
The factory is invoked per action because project root, output and verbosity are command-specific. Building one global dependency graph in cli.ts would either create it with incomplete command context or move command concerns into the entry point.
The relevant architectural rule is therefore: contexts depend only on permitted inward context edges; presentation and runtime may depend on them. #795 enforces this through the context graph, restricted-import and orchestrator dependency guards.
Acceptance criteria
- #795 documentation states bounded contexts, not the obsolete three-layer rule.
- Presentation-to-runtime wiring remains the only outer composition path.
- No bounded context imports presentation or runtime.
- #795 architecture gates remain green.
- #795 links this issue; close it after merge.
Boundary
Do not move the wiring into every command, and do not introduce a global pre-built dependency graph merely to satisfy the former layer diagram.
- Lenguaje dominante
- TypeScript
- Estrellas
- 481
- Forks
- 45
- Merge medio
- 14 h 36 min
- PR fusionados (30 d)
- 110
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ai-driven-dev/framework
-
refactor(aidd-orchestrator): the check zone says when to stop, and reviews its axes in one round Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ai-driven-dev/framework#887 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
ai-driven-dev/framework#873 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
ai-driven-dev/framework#872 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
ai-driven-dev/framework#625 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ai-driven-dev/framework#467 · 1 comentario ·
Todos los issues de ai-driven-dev/framework
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
copse-dev/agent-pane#2953 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Bug]: Matrix progress drafts fail with "Matrix runtime not initialized" during tool activity Abiertobug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Client support matrix inclusion Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
calcite-components needs triage refactor
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Esri/calcite-design-system#15203 ·