Make the do-harness.toml sensor map executable: add ./scripts/harness.sh <sensor>
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 72/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- bash, git
- Bereich
- tooling
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3
- Forks
- 2
- Ø Merge
- 11 Std. 49 Min.
- Gemergte PRs (30 T.)
- 102
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus d-oit/do-knowledge-studio
-
Migrate do-harness.toml to the current [[sensors]] schema (do-harness CLI 0.6.0 cannot parse it)Offenchore config priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
d-oit/do-knowledge-studio#1219 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Dependabot only scans the root manifest — add workspace packages/* directories, cooldown, and grouped updatesEvtl. vergeben @d-oit hat das heute übernommen. Offenci config deps priority: medium
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
d-oit/do-knowledge-studio#1212 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation priority: low
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
d-oit/do-knowledge-studio#1218 ·
Maintainer antworten meist innerhalb von 1 Tag
-
discussion enhancement performance priority: low search
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
d-oit/do-knowledge-studio#1216 ·
Maintainer antworten meist innerhalb von 1 Tag
-
ai-agent enhancement feature priority: low
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 68/100
d-oit/do-knowledge-studio#1215 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in d-oit/do-knowledge-studio
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
danielmiessler/LifeOS#3028 ·
Maintainer antworten meist innerhalb von 5 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
iOS: last line of a long UITextView text is sometimes not drawn (frame a fraction of a point short)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
Koenkk/zigbee2mqtt#33855 ·
Maintainer antworten meist innerhalb von 1 Tag