basquetWi + New ticket
terra TERRA-211

Auth-view source is reconciled; historical human-CLI GO remains explicitly untagged

Done high ctcoder02-terra-ca

Resolved source/repository hygiene 2026-09-10. The already-live terra_210 auth-view source is retained at db/migrations/applied/terra_210_terra_auth_question_views.sql and REPLAY-ORDER places it between terra_209 and terra_57. Its header now states the historical truth: the original 2026-09-08 Elazar human-CLI GO ('go 1, 2, 3') has no hash-form hub tag, so it is a recorded provenance gap and no tag is invented or backfilled. The current audit tag is explicitly labeled source/provenance review only, not original authorization. Citation gate passes with the expected warning that appEvents/users are shared; migration replay tests pass 4/4 and the full pre-push gate passes 509/509 plus lint/typecheck/build. Boundary: this does not prove deployed executable-byte identity, original cross-app authorization, or a new deploy.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Activity

  • wi-cli-venus created · 5w ago
  • wi-cli-venus titleChanged · 5w ago
    One repo-hygiene decision remains: reconcile untracked applied auth-view source; terra_50/51 are live
  • wi-cli-venus descriptionChanged · 5w ago
    was: TRES DECISIONES DE ELAZAR, ninguna es trabajo de agente. Ningun carril puede desbloquearlas y las tres estan paradas hoy. Medido 2026-09-10 por db-terra-cc. 1) terra_51 - GO DE APPLY. Archivo db/migrations/draft/terra_51_practica_intra_complicacion_required.sql, confirmado en disco. Invariante de complicacion intraoperatoria (al menos una respuesta obligatoria, y sinComplicaciones no puede coexistir con una complicacion real). Pedido en eq 72, abierta desde 2026-09-01. Fila de trabajo asociada TERRA-136, blocked, hoy de db02-terra-ca. No falta evidencia ni auditoria: falta el GO. 2) terra_50 - GO DE APPLY. Archivo db/migrations/draft/terra_50_practica_zona_required.sql, confirmado en disco. Regla pieza-o-region, que hoy existe DOS veces en la aplicacion y CERO veces en la base, y las dos copias ya no coinciden. Pedido en eq 73. Transcript del dry-run: db/migrations/dryrun/2026-09-01-terra_50-arms1-6-selfchecking.result.md, nueve brazos, cuatro de ellos PROOF must-fail. NO esta en agents/db-terra/evidence/ - esa diferencia de directorio ya hizo que el bloqueo se leyera como incumplido una vez. Fila de trabajo asociada TERRA-131, blocked, hoy de db02-terra-ca. 3) terra_210 - DISPOSICION. Esta es la que hoy hace dano activo y no esta en ninguna fila. db/migrations/applied/terra_210_terra_auth_question_views.sql esta APLICADO EN VIVO (verificado: las 3 vistas vTerraSignedIn, vTerraSignInRefused, vTerraIdentityWorklist existen en pg_class) y NO ESTA TRACKEADO en git (git ls-files: 'Did you forget to git add?'). No se puede commitear porque su cuerpo nombra appEvents y users, que son objetos compartidos, y el GO de db-enamel-cc no se puede citar: el regex del gate exige un tag -cc-/-ca- y no hay ningun agente de enamel en el roster. CONSECUENCIA MEDIDA, y es repo-wide: .gitpush-pre.sh linea 11 arma su changed-set con el ARBOL DE TRABAJO ENTERO (git diff HEAD + diff --cached + ls-files --others), y la linea 30 grepea esa union por ^db/migrations/applied/.*\.sql$. gitpush.sh --only NO lo angosta: el hook nunca ve --only. Asi que este archivo unico congela el push de TODOS los agentes de terra, en cada invocacion, hasta que se commitee o salga de ese directorio. Ya freno un fix de friction-registry sobre la misma pagina donde una alumna estaba trabada. Y es POR DISENO: la linea 26 dice que scopear por pertenencia al diff en vez de por una lista de nombres es el punto de TERRA-63, porque src/lib/user-admin-core.test.ts:39-46 lee terra_16 y terra_19 POR NOMBRE. Angostar el hook a los paths pusheados reintroduce el defecto que TERRA-63 cerro. OPCIONES PARA (3), no excluyentes con nada: A) sacar el archivo del arbol del repo; B) DROP de las tres vistas y borrar el archivo; C) enmendar el gate o dar de alta un agente db-enamel; D) mover a db/migrations/drafts/ con cabecera APPLIED-BUT-UNCOMMITTED nombrando el GO faltante - limpia el regex de la linea 30, el SQL queda trackeado y revisable, las vistas siguen vivas, y no se inventa ningun tag. D la respaldan coder-terra-cc y db-terra-cc. NUNCA saltear el hook y NUNCA inventar un tag de citacion.
  • wi-cli-venus statusChanged · 5w ago
    Rewritten to the remaining source/provenance decision; no unperformed DB apply remains.
  • wi-cli-venus progress · 5w ago
    Implementation check 2026-09-10: moving already-live terra_210 source into draft/ is unsafe and was reverted. It fails TERRA-160 ('no draft migration declares itself applied') and makes the replay manifest diverge from the applied directory. Current honest boundary remains: source belongs in applied/, original human CLI GO has no hash-form hub tag, and the citation gate refuses it. Independent audit requested under tag coder02-terra-ca-mtvnv91rck0y before changing provenance policy.
  • wi-cli-venus descriptionChanged · 5w ago
    was: DB-side status corrected 2026-09-10. The live catalog contains terra_50 requireZona triggers and terra_51 requireIntraAnswer triggers; they do not await apply GO. TERRA-210's two profile/auth bindings are also complete, with post-bind user-path exercise still unverified.\n\nThe remaining DB-related decision is source/provenance hygiene for the untracked applied terra_210 auth-view artifact and any repository-gate handling it requires. This BWI must not claim that terra_50/terra_51 apply decisions are pending.\n\nBoundary: live catalog cannot establish tracked registration, repository acceptance, UI behavior, or client-policy decisions.
  • wi-cli-venus verified · 5w ago
    Implemented audit-terra-ca safe disposition from tag audit-terra-ca-mtvnxpii4rfo. Gate evidence: citations 0 refusals/1 explicit shared-relation warning; replay tests 4/4; full suite 509/509; lint 0 errors/3 preexisting warnings; typecheck/build PASS on local Node 22 (repo requires Node 24). Final audit confirmation requested under coder02-terra-ca-mtvnzo48nn25.
  • wi-cli-venus titleChanged · 5w ago
    Auth-view source is reconciled; historical human-CLI GO remains explicitly untagged
  • wi-cli-venus statusChanged · 5w ago
    Source reconciliation implemented; final independent audit pending.
  • wi-cli-venus completed · 5w ago
    PASS audit-terra-ca-mtvo0py5eaqo: applied source and replay order reconciled; truthful historical NO-TAG provenance gap retained; citation gate 0 refusals/1 expected shared-relation warning. Boundary: no claim of original authorization, deployed-byte identity, or cross-app GO.
decision
5w ago by wi-cli-venus
5w ago
2026-09-10 15:13