fix(cli): lote 1 adopter bugs — drift range, i18n ledger, amend scaffold, telemetry round, merge-reports signal - #403
Merged
Conversation
…old, telemetry round, merge-reports signal - #397: pre-pr hook and charter templates use three-dot (merge-base) drift range so base-branch advancement is no longer reported as branch drift - #389: batch-complete/drift gate locate the Batch Ledger via the ASCII "(Batch Ledger)" marker, so es/zh-CN translated headings parse - #390: charter amend scaffold emits the four META-001-required fields (status/created/agent/confidence) so it passes the CLI's own validate - #401: telemetry schema accepts optional `round` on external_audit items; new regression test validates the rendered merge-reports YAML against the shipped schema - #402: merge-reports warns (naming file and auditor) when a report lacks audit_quality instead of silently omitting it from telemetry
This was referenced Aug 5, 2026
montfort
added a commit
that referenced
this pull request
Aug 5, 2026
Releases the three adopter-triage batches (PRs #403, #404, #405): nine issues remediated. Framework touched in all three (telemetry schema + charter templates, .qoder/skills + manifest, backlog pattern doc) → minor fw bump; CLI gains followups merge-driver (#391), the FOLLOWUP-UNTRACKED-ID validate warning (#392) and Qoder skills (#399) → minor CLI bump (docs already cite cli-3.41.0 for these features). Version tables updated in README + CLI-REFERENCE (en/es/zh-CN); CHANGELOG entry summarizes all nine fixes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lote 1 del triage de issues de adopter (sesión 2026-08-04) — cinco fixes localizados para la clase de defecto "el CLI se contradice a sí mismo":
pre-pr.shy las plantillas de Charter (en/es/zh-CN) pasan a rango tres-dot (origin/main...HEAD): el drift reporta solo lo que cambió la rama, no lo que avanzó la base mientras la rama vivía.parse_batch_ledgerlocaliza el ledger por el marcador ASCII(Batch Ledger); los encabezados traducidos de las plantillas es (## Bitácora por Lote (Batch Ledger)) y zh-CN (## 批次台账 (Batch Ledger)) ahora parsean en batch-complete, el gate de drift y audit.new -t ailogemits #390 — el scaffold decharter amendemite los 4 campos META-001 que faltaban (status,created,agent,confidence) con valores enum-válidos; el AILOG generado pasa el propiostraymark validate.roundque el esquema de telemetría rechaza #401 —charter-telemetry.schema.v0.jsonaceptaroundopcional enexternal_audit(aditivo, documentado en$commentcomo v0.3 addendum); nuevo test de round-trip valida el YAML de--merge-reports [--round]contra el esquema distribuido.--merge-reportsavisa en stderr (nombrando archivo y auditor) cuando un informe no llevaaudit_quality, en vez de omitir el campo en silencio. Decisión: warning, no rechazo — el campo es opcional por diseño enaudit-output.schema.v0.json.#398 (duplicado de #401) se cerró en la misma sesión tras verificación en código.
Trazabilidad:
AILOG-2026-08-04-001-lote1-adopter-bug-fixes.md.Test plan
cargo testencli/: todas las suites verdes salvoaudit_template_test::unified_template_has_seven_universal_sections, fallo preexistente en main (verificado en árbol limpio: espera un ancla "Step 5" que el audit-prompt distribuido ya no lleva — documentado como R1/follow-up en el AILOG).audit_quality.--round, batch-complete en proyectolanguage: es.Closes #397, #389, #390, #401, #402