Add a one-shot map command with bounded defaults and a one-screen summary
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start by reading the existing analyze command and the Linguist-compatible dircue --json path, then review the map document and golden-corpus work referenced by #74 and #75. The change is done when dircue map produces deterministic schema-valid JSON, a bounded one-screen summary, and visible partial-coverage reasons with documented budget and exit-status behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Why
The product is "one-shot profiling": a pipeline receiving many heterogeneous repositories runs one command and gets the whole map with predictable cost. Today that takes knowing roughly ten flags (analyze all --discovery --declarations --environments --projects --metrics --formats --availability --registries …). The results come back in separate sections with separate populations, and the human output is a dump:
analyze declarationson astral-sh/uv prints 6,210 lines.analyze allon Jellyfin prints ~100 lines, most of themnuget\t<dir>.analyze environmentsrepeats "applicability follows its recorded state and condition" on every line.
Proposal
dircue map [PATH]. The name is a proposal. It should:
- Run every cheap native observer by default: languages, discovery, components and edges, environments, deployables, declared interfaces, capabilities, formats/non-source identification, availability. Use a documented work budget (files, bytes, wall time). When the budget is hit, return
partialwith reasons rather than silently truncating. Expensive observers stay opt-in: the structural worker, and full-content metrics until #73 lands. - Accept deeper-tool results with
--attach syft=sbom.json --attach noir=endpoints.json --attach sarif=analyzer.sarif …(#77), producing one map with the coverage ledger (#78). - Write the map document (#74) to stdout as JSON.
--summary(the default on a TTY) prints a one-screen summary:- what it is: the content mix, with roles;
- components by ecosystem, and the graph shape;
- deployables and what they build/run;
- interfaces;
- capabilities;
- suggested deeper analyzers and their prerequisites (#79);
- coverage and unknowns, with the top reasons.
- Keep the Linguist-compatible
dircue --jsonpath untouched.
Acceptance
- On every golden-corpus entry (#75), the summary fits in about 40 lines and names the top unknowns.
- JSON validates against the map schema, and is deterministic and portable.
- Published time/RSS budgets per corpus entry. The kernel from Git has a stated target.
-
--budget-style overrides are explicit, and a hit budget is visible in the output and the exit status contract. Exit remains 0 for partial coverage; document how to detect it. -
capabilities --guideleads with this command.
Related: #40 (CLI ergonomics). Epic: #81.
- Lenguaje dominante
- Go
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 5 h 8 min
- PR fusionados (30 d)
- 54
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la 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 war-and-code/dircue
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
war-and-code/dircue#200 ·
Los mantenedores suelen responder en 1 día
-
follow-up
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
war-and-code/dircue#179 ·
Los mantenedores suelen responder en 1 día
-
follow-up
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
war-and-code/dircue#178 ·
Los mantenedores suelen responder en 1 día
-
enhancement follow-up
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
war-and-code/dircue#172 ·
Los mantenedores suelen responder en 1 día
-
enhancement follow-up
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
war-and-code/dircue#171 ·
Los mantenedores suelen responder en 1 día
Todos los issues de war-and-code/dircue
Issues similares
-
Idle compaction monitors LIST the replica every tick when the newest destination file spans more than one TXIDPosiblemente ocupada @pishuv la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
benbjohnson/litestream#1563 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
agent-research agent-review-finding chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
jordansmall/spindrift#4922 ·
Los mantenedores suelen responder en 1 día
-
gcsartifact: deleting a missing version returns an errorPosiblemente ocupada @ktsoator la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
govulncheck
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día