Auditor packets and run summaries remain unscoped on a scoped deployment profile (#501 follow-up)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Start with profileSubjectMatcher in backend-ts/src/config/deployment-profile.ts, then trace the listed run and case packet paths, export-csv.ts, routes/runs.ts, routes/auditor.ts, and mcp/tools.ts. Verify that scoped profiles filter rows and per-status totals while the default profile retains unresolvable QRDA-imported subjects. Add the Maui RED tests and default companion tests described in the issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found by review of #506. Three surfaces still ignore the deployment profile:
- Run packet —
backend-ts/src/audit/audit-packet.ts(~102–113) loads every outcome, computes unfiltered totals, and maps rows with the unfilteredtoRunOutcomeRowand the static directory, so on the Maui profile a foreign subject id can reach the downloadable, hash-stamped JSON/HTML. - Case packet —
audit-packet.ts(~137, ~217) andbackend-ts/src/routes/auditor.ts(~56) accept a foreign case id and emit its external id and fallback name. - Run summaries — the runs CSV (
export-csv.ts~51),/api/runs(routes/runs.ts~441, ~1191) and MCP run summaries (mcp/tools.ts~230) use rawcountOutcomesByStatus, so totals can include foreign subjects while the outcome grid excludes them.
Fix shape: profileSubjectMatcher (backend-ts/src/config/deployment-profile.ts) with the request-local directory, applied before rows/totals are assembled and hashed, a no-op on the default profile; for the counts, a per-status histogram that respects the predicate on scoped profiles. Each gets a Maui RED test plus a default companion asserting an unresolvable (QRDA-imported) subject is retained.
Not reachable on a freshly provisioned Maui database (no foreign rows), same premise as #501.
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 3 h 6 min
- PR fusionados (30 d)
- 113
Preparar el entorno
- Sin Dockerfile ni 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 Taleef7/workwell
-
documentation owner-ops waiting
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
owner-ops waiting
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
infra maui-pilot
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
backend bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
cql-engine pilot-trust
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
Todos los issues de Taleef7/workwell
Issues similares
-
[bug] diagnostics.dumpBody:Buffer 形态请求(透传 lane)跳过 dumps/ 落盘,仅留 raw/-unknown-Posiblemente ocupada @ranxianglei la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ranxianglei/billion-context#2421 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
pending triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
nuxt/test-utils#1842 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
MoonshotAI/kimi-code#4146 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
farbenmeer/tapi#531 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día