Make the do-harness.toml sensor map executable: add ./scripts/harness.sh <sensor>
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- bash, git
- Área
- tooling
Línea de trabajo
Start by reading do-harness.toml and agents-docs/HARNESS.md, then inspect the existing BATS tests under tests/ for harness conventions. Implement the entry point at scripts/harness.sh, using git diff --name-only to resolve changed paths to the canonical sensor command and supporting --all; update agents-docs/HARNESS.md and AGENTS.md if needed. Done means representative paths resolve to the expected sensors, command output and exit status are preserved, and the expanded BATS suite passes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
do-harness.toml is a well-designed sensor map (path → canonical verification command), but agents-docs/HARNESS.md:35 states it is "a convention, not a tool: no script, hook, or CI job parses it". In practice an agent must re-derive which sensor matches its changed paths and copy the right command by hand — the exact mechanical step that drifts or gets skipped under pressure.
Evidence
do-harness.toml— 5 sensors (feedback,verification,offline,schema/data,release).agents-docs/HARNESS.md— documents the "convention, not a tool" decision and says the BATS suite keeps the map honest; but the selection step (which sensor for my diff?) is still manual and error-prone.
Impact
- Workflow: turns a 3-step manual lookup into
./scripts/harness.sh feedback; agents run the canonical command more often and run the wrong heavy suite less often. - Consistency: one executor enforces
set -euo pipefail, output truncation, and exit-code propagation uniformly; the BATS suite can then test the runner instead of just the map. - Aligned with harness philosophy: this is not speculative config — it automates an existing documented decision procedure.
Proposed approach
- Add
scripts/harness.sh <sensor>that readsdo-harness.toml(a tiny TOML read or a generated mirror inscripts/lib/, mirroringagent_surface_generated.py), matches changed paths viagit diff --name-only, and prints/runs the matching sensor command. - Default
git diffagainst the merge-base; accept--allfor full verification. - Extend the existing BATS suite (
tests/) to cover sensor resolution for representative paths. - Update
agents-docs/HARNESS.mdand the AGENTS.md pointer if the entry command changes.
References
- Repo's own harness engineering doc (
agents-docs/HARNESS.md) — "iterate on failure" principle. - Harness engineering as a 2026 practice (progressive loading, verification loops): https://www.nxcode.io/resources/news/harness-engineering-complete-guide-ai-agent-codex-2026
- Lenguaje dominante
- TypeScript
- Estrellas
- 3
- Forks
- 2
- Merge medio
- 11 h 49 min
- PR fusionados (30 d)
- 102
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- 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 d-oit/do-knowledge-studio
-
Migrate do-harness.toml to the current [[sensors]] schema (do-harness CLI 0.6.0 cannot parse it)Abiertochore config priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
d-oit/do-knowledge-studio#1219 ·
Los mantenedores suelen responder en 1 día
-
Dependabot only scans the root manifest — add workspace packages/* directories, cooldown, and grouped updatesPosiblemente ocupada @d-oit la tomó hoy. Abiertoci config deps priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
d-oit/do-knowledge-studio#1212 ·
Los mantenedores suelen responder en 1 día
-
documentation priority: low
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
d-oit/do-knowledge-studio#1218 ·
Los mantenedores suelen responder en 1 día
-
discussion enhancement performance priority: low search
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
d-oit/do-knowledge-studio#1216 ·
Los mantenedores suelen responder en 1 día
-
ai-agent enhancement feature priority: low
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
d-oit/do-knowledge-studio#1215 ·
Los mantenedores suelen responder en 1 día
Todos los issues de d-oit/do-knowledge-studio
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
danielmiessler/LifeOS#3028 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
iOS: last line of a long UITextView text is sometimes not drawn (frame a fraction of a point short)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Koenkk/zigbee2mqtt#33855 ·
Los mantenedores suelen responder en 1 día