Skip to content

release: daily batch 2026-12-03 - #1476

Open
csbrasil-BOT wants to merge 247 commits into
mainfrom
staging
Open

csbrasil-BOT wants to merge 247 commits into
mainfrom
staging

Conversation

@csbrasil-BOT

@csbrasil-BOT csbrasil-BOT commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Daily release batch

  • Date: 2026-12-03
  • Base: main
  • Head: staging
  • New commits: 237

Included pull requests

Release policy

  • All required checks and review gates must pass before automatic merge.
  • The merge commit keeps staging intact and triggers release.yml.
  • Production is published only by the existing release train after its own green gate.

ratchet: +CHR3C because the floor-intersection debt documented in PR #1434 remains open in issue #1117: character meshes cross the floor in some poses and need corrected clips or rigs.

nunreasonable and others added 30 commits November 16, 2026 15:46
…cliente

Agent: Claude Code
Signed-off-by: nunreasonable <rafaelpasquarella@gmail.com>
Agent: Claude Code
Signed-off-by: nunreasonable <rafaelpasquarella@gmail.com>
…mpartilhado

Agent: Claude Code
Signed-off-by: nunreasonable <rafaelpasquarella@gmail.com>
…dívida da #1117

Agent: Claude Code
Signed-off-by: nunreasonable <rafaelpasquarella@gmail.com>
…caído no meio

Signed-off-by: nunreasonable <rafaelpasquarella@gmail.com>
Agent: Claude Code
Open the camera boom for the short body outside ADS. Test the actual camera and both shoulder sides.

Agent: Codex (OMP, RebornCamera48 and integrator)
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Cover the real death-camera call with the animated head anchor and wall mask.

Agent: Codex (OMP integrator)
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Serialize equipment writes. Keep confirmed slots and wait for a pending skin before choosing the base character.

Agent: Codex (OMP, ReviewMotionClient48 and ProducaoClient)
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Reapply the validated tool-only deltas from 06fa114431 and 27c898b552 without changing game code or the pre-push hook.

Agent: Codex (OMP)
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Reapply the validated tool-only delta from e67fbd33c3. Keep all eight mutants and the existing Playwright path for CI.

Agent: Codex (OMP)
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Reapply the validated tool-only deltas from 06fa114431 and 27c898b552 without changing game code or the pre-push hook.

Agent: Codex (OMP)
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Reapply the validated tool-only delta from e67fbd33c3. Keep all eight mutants and the existing Playwright path for CI.

Agent: Codex (OMP)
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Apply the verified boot gate from 2871fd8c06 without changing thresholds, assets or application code.

Agent: Codex (OMP)
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Apply the verified boot gate from 2871fd8c06 without changing thresholds, assets or application code.

Agent: Codex (OMP)
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
The official comment gate caught the English line. No executable code changes.

Agent: Codex (OMP)
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Mantém a lógica do Arcade fora dos três comentários cobrados pelo CM2.

Agent: Codex
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Mede janelas de movimento pelo relógio simulado; render lento pode descartar tempo de parede. Ameaças roteirizadas não são reintroduzidas pela IA, e o cenário de exposição confirma a contestação antes do abrigo. Nenhuma asserção de mapa, escolta ou cinemática foi retirada.

Agent: Codex
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Mede janelas de movimento pelo relógio simulado; render lento pode descartar tempo de parede. Ameaças roteirizadas não são reintroduzidas pela IA, e o cenário de exposição confirma a contestação antes do abrigo. Nenhuma asserção de mapa, escolta ou cinemática foi retirada.

Agent: Codex
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Verifica estado, HUD e movimento do avião na mesma amostra viva de táxi. A captura do compositor não participa desse relógio.

Agent: Codex
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Wait locally for CDP loading completion instead of issuing repeated browser calls. Capture orphan events as diagnostics without weakening the official network proof.

Agent: Codex
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
The extracted victory probe records boarding samples before either screenshot. Supply a fresh trace to every scenario so the ownership checks and timeline mutants reach their actual assertions.

Agent: Codex
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Keep the live boarding state in the taxi sample; the compositor can return the screenshot after the cinematic deadline. Exercise that delay in the timeline fixture without changing game code or the original assertions.

Agent: Codex
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Agent: ci
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Agent: codigo
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Agent: codigo
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Agent: csbrasil-deploy-bot (release)
Signed-off-by: csbrasil-deploy-bot <rubenmarcus.dev+csbrasil-bot@gmail.com>
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Agent: csbrasil-deploy-bot (release)
Signed-off-by: csbrasil-deploy-bot <rubenmarcus.dev+csbrasil-bot@gmail.com>
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Agent: Lane

The sweep --list-open call used github.token (default GITHUB_TOKEN) which
lacks read:org. The job env already has GH_TOKEN set to the PAT with the
required scopes (line 49). Removed the explicit override so it inherits
the correct token.

Fixes automerge failures: 'Your token has not been granted read:org'.

Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Agent: Lane
Preserve the third-person stride while firing
Demo de gráficos, desligada por padrão: materiais PBR projetados no mundo, céu de fim de tarde, sol baixo e cenografia sem colisão. Tudo é desfeito por desliga(). Estado da rodada 4 do gauntlet, interrompida no meio.

Commit-grande: kit novo em dois arquivos que só funcionam juntos
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Agent: Claude Code (Fable 5.2)
codex added 2 commits December 2, 2026 15:32
Signed-off-by: Codex <codex@openai.com>
Agent: Codex

# Conflicts:
#	tools/eval/passe-browser.mjs
…quia

Signed-off-by: Codex <codex@openai.com>
Agent: Codex

# Conflicts:
#	tools/eval/passe-browser.mjs

@rubenmarcus rubenmarcus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security review — Capitão Caveira

Release head: fefeb6141c80c55787cce0fa7f5c89a4c29bc04b.

No additional security finding in the delta introduced by #1526. This is a delta-only review, not a declaration that the entire release is free of known issues.

  • The release merge and the reviewed #1526 head 19de6acf5c91b0e45439318c85f1f003991ceaac have the identical tree 38c06503f561600027e5e1435ba2c0187819df61; git diff --quiet between them exited 0.
  • I therefore reuse the exact evidence in security review 6153803476: redacted scans and the pass baseline/mutation suite on that tree. I did not repeat those tests on the release.
  • The previously reported post-migration legacy privacy refusal remains linked to review 6143228378 and is not cleared by this delta-only comment. The earlier release coverage is review 6145115088.

This is a COMMENT review, not an approval or release acceptance. Current release CI remains blocked independently by ratchet and politica-merge failures.

rubenmarcus and others added 2 commits December 2, 2026 17:11
…quia

Signed-off-by: Codex <codex@openai.com>
Agent: Codex

# Conflicts:
#	tools/eval/passe-browser.mjs

@estraga-codigo estraga-codigo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Palhaço Mal

Palhaço Mal · code reviewer · 🤡

Change map

  • harness (114): ARCH.md, KNOWN-RED.json, README.md, ads-visibility-check.mjs …
  • other (54): borda.json, package-lock.json, package.json, passe.css …
  • game (21): account-entry.js, character-palm-fits.js, fp-maos.js, game.js …
  • docs (12): SKILL.md, AGENTS.md, CHANGELOG.md, README.md …
  • assets (11): clay_block_wall_cor.webp, clay_roof_tiles_02_cor.webp, clay_roof_tiles_02_normal.webp, dry_ground_01_cor.webp …
  • CI (5): ci.yml, csbrasil-bot-pr-classify.yml, portao-browser.yml, gatilho.mjs …
  • backend (5): modulos.d.ts, error-provenance.mjs, usage-script.mjs, usage-event.ts …
  • site (3): worker.ts, index.astro, privacidade.astro
  • maps (2): map_sertao_hd.js, map_upa.js

Note

Summary: This diff updates privacy consent handling, optional page-view telemetry, Javaporco wave scheduling, rendering assets, CI evidence checks, and related tests. It also introduces a server-side usage-event endpoint with origin, payload, and rate-limit validation.

1 major · 0 minor

Caution

Risk HIGH · score 7.8/10 ▓▓▓▓▓▓▓▓░░
1 major finding(s). Resolve before merging.

Unresolved review threads block merging under the branch policy. Fix the finding or refute it with evidence.

🔴 Major findings (1)

  • Moving gameplay shots lose the walk-fire animation — public/js/glbchars.js:1838 (action: frontend-publico)
    The new condition requires this.previewWalkfire before entering the walkfire clip, while shoot() only sets this.shooting and this._movingShot for moving shots. For normal gameplay, previewWalkfire is false, so the update path skips walkfire, skips the stationary-shot transition because _legsMoving is true, and proceeds to locomotion without playing the shoot action. Characters that move while firing therefore lose the visible firing animation and remain in the shooting state until the shot timeout.
    💡 Fix: Restore the gameplay transition to walkfire when this.shooting && this._legsMoving && this.actions.walkfire, or explicitly start and manage the shoot action for non-preview moving shots. Add a regression test that fires while moving in normal gameplay and verifies the expected shoot or walk-fire action is active.

--- a/public/js/glbchars.js
+++ b/public/js/glbchars.js
@@

  •  } else if (this.previewWalkfire && this.shooting && this._legsMoving && this.actions.walkfire) {
    
  •  } else if (this.shooting && this._legsMoving && this.actions.walkfire) {
    
  > Suggested mutation: `Remove the `this.previewWalkfire` condition from the walk-fire branch while keeping `shoot()`'s moving-shot early return, then trigger a shot during movement in normal gameplay.`

### Cross-module impact

```mermaid
graph RL
  main_js["main.js"] --> game_js["game.js"]
  fparms_js["fparms.js"] --> glbchars_js["glbchars.js"]
  game_js["game.js"] --> glbchars_js["glbchars.js"]
  loading3d_js["loading3d.js"] --> glbchars_js["glbchars.js"]
  game_js["game.js"] --> i18n_js["i18n.js"]
  main_js["main.js"] --> i18n_js["i18n.js"]
  maps_js["maps.js"] --> map_upa_js["map_upa.js"]
  • maps.js
  • maps.js
  • main.js
  • game.js
  • main.js
  • fparms.js

(Local public/js import graph, which may lag behind the PR head.)


Fix or refute each finding in its thread. Evidence settles the review.

— Every bug leaves a trace in the diff. I ask the questions. 🤡

Comment thread public/js/glbchars.js
} else if (this.shooting && moving > 0.05 && this.actions.walkfire) {
// Atirar EM MOVIMENTO: o clipe combinado (walk+fire) mantém as pernas andando —
// antes as pernas congelavam ~1s a cada disparo (usuário reprovou).
} else if (this.previewWalkfire && this.shooting && this._legsMoving && this.actions.walkfire) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] Moving gameplay shots lose the walk-fire animation

The new condition requires this.previewWalkfire before entering the walkfire clip, while shoot() only sets this.shooting and this._movingShot for moving shots. For normal gameplay, previewWalkfire is false, so the update path skips walkfire, skips the stationary-shot transition because _legsMoving is true, and proceeds to locomotion without playing the shoot action. Characters that move while firing therefore lose the visible firing animation and remain in the shooting state until the shot timeout.

Tip

Fix: Restore the gameplay transition to walkfire when this.shooting && this._legsMoving && this.actions.walkfire, or explicitly start and manage the shoot action for non-preview moving shots. Add a regression test that fires while moving in normal gameplay and verifies the expected shoot or walk-fire action is active.

--- a/public/js/glbchars.js
+++ b/public/js/glbchars.js
@@
-      } else if (this.previewWalkfire && this.shooting && this._legsMoving && this.actions.walkfire) {
+      } else if (this.shooting && this._legsMoving && this.actions.walkfire) {

Mutation: Remove the this.previewWalkfirecondition from the walk-fire branch while keepingshoot()'s moving-shot early return, then trigger a shot during movement in normal gameplay.

@rubenmarcus rubenmarcus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security review — Capitão Caveira (release coverage)

Head: 1744d402fe6458bcc419ed3605e75ef958c8d666.

No additional finding from this tree-identity check. The release tree 9d56864fed2c1a636a55b009cc61e7a92b8ca024 is identical to the tree of #1527 head 26bc3e72a13f2f18a8fc6ff4faa8fae8b95cfbde, which is covered by security COMMENT 6154550504. I verified both tree SHAs locally.

I did not rerun the security suites, browser checks, or attack proofs on this release head. This is coverage linkage, not an approval, and it does not override red CI or functional review requests.

The previously reported post-migration legacy privacy refusal, tracked in item 206, remains open and is not cleared by this comment. A new security review is required on the next head or staging delta.

@rubenmarcus

Copy link
Copy Markdown
Member

Doutora QA @ 1744d402fe6458bcc419ed3605e75ef958c8d666 — PASS in the tested scope

Daily QA of the hosted staging build currently served at 1744d402. The page itself reported this SHA through window.__CS_BUILD.sha.

  • GPU: Chrome 158, WebGL2 on AMD/RADV Vulkan (RAPHAEL_MENDOCINO), hardware acceleration verified; no software renderer.
  • Desktop match: 1920×1080, Lobisomem on upa_24h, live and alive; 44.05 FPS over 6.02 s (p95 frame time 33.4 ms).
  • Mobile match: real CSS viewport 390×844, DPR 3 and touch; live and alive; 60.00 FPS over 6.02 s (p95 frame time 16.8 ms).
  • Battle pass: desktop and 390 px both showed level 2, 200 / 1.300 XP, 15 levels, and no horizontal overflow. The pass API and authenticated session were deterministic fixtures; the match used the unmocked hosted assets and APIs.
  • Privacy: the legacy analytics refusal migrated to v2 and remained refused; zero /api/usage-event requests.
  • Runtime: 0 uncaught exceptions and 0 crashes. There were 20 resource-load console errors: four Twitter CSP blocks, eight 403s, two 401s and six 404s from the social/treta API paths. These are the same categories and total seen in the previous hosted-staging run; no new error category appeared.
  • Visual inspection: the pass is readable on both viewports and the match/HUD/weapon rendered without an obvious regression in this scope. The native portrait rotation prompt was captured first and hidden only for the gameplay screenshot.

Captures

Desktop match:

Desktop match

390 px match (rotation prompt hidden):

390 px match

Desktop pass:

Desktop pass

390 px pass:

390 px pass

Native 390 px rotation prompt · Full manifest with per-request errors and load averages

This is a scoped staging QA result, not a release approval; the existing release gates and requested changes remain unchanged.

Improve pass readability on narrow screens

@estraga-codigo estraga-codigo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Palhaço Mal

Palhaço Mal · code reviewer · 🤡

Change map

  • harness (114): ARCH.md, KNOWN-RED.json, README.md, ads-visibility-check.mjs …
  • other (54): borda.json, package-lock.json, package.json, passe.css …
  • game (21): account-entry.js, character-palm-fits.js, fp-maos.js, game.js …
  • docs (12): SKILL.md, AGENTS.md, CHANGELOG.md, README.md …
  • assets (11): clay_block_wall_cor.webp, clay_roof_tiles_02_cor.webp, clay_roof_tiles_02_normal.webp, dry_ground_01_cor.webp …
  • CI (5): ci.yml, csbrasil-bot-pr-classify.yml, portao-browser.yml, gatilho.mjs …
  • backend (5): modulos.d.ts, error-provenance.mjs, usage-script.mjs, usage-event.ts …
  • site (3): worker.ts, index.astro, privacidade.astro
  • maps (2): map_sertao_hd.js, map_upa.js

Note

Summary: The diff expands the UPA map materials and lighting, moves the Javaporcos wave schedule into a shared configuration, adds optional page-view telemetry, and introduces privacy, CI, preview, and test changes across the client and server paths.

Warning

Risk MEDIUM · score 7.9/10 ▓▓▓▓▓▓▓▓░░

No actionable findings supported by this review.

Unresolved review threads block merging under the branch policy. Fix the finding or refute it with evidence.

Cross-module impact

graph RL
  main_js["main.js"] --> game_js["game.js"]
  fparms_js["fparms.js"] --> glbchars_js["glbchars.js"]
  game_js["game.js"] --> glbchars_js["glbchars.js"]
  loading3d_js["loading3d.js"] --> glbchars_js["glbchars.js"]
  game_js["game.js"] --> i18n_js["i18n.js"]
  main_js["main.js"] --> i18n_js["i18n.js"]
  maps_js["maps.js"] --> map_upa_js["map_upa.js"]
Loading
  • maps.js imports map_upa.js, so the UPA map surface and lighting changes affect the map consumer
  • public/js/fparms.js
  • public/js/game.js
  • public/js/loading3d.js
  • public/js/main.js
  • game.js

(Local public/js import graph, which may lag behind the PR head.)

— A green check still needs evidence. 🤡

@rubenmarcus rubenmarcus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security review — Capitão Caveira

Head: 8a4f6d9c5777a2343c55a7003aaa90ea06886577.

No additional security finding in the delta from 1744d402fe6458bcc419ed3605e75ef958c8d666.

  • I reviewed both the net delta and the merge against its first parent. They are identical: two files, 16 additions and one deletion, limited to the 390 px battle-pass layout breakpoint and its synthetic browser regression. git diff --check passed. Redacted scans of all 16 added lines found zero private-key, provider-token, credential-assignment, URL-userinfo, dynamic-code or DOM-HTML-sink candidates.
  • npm run eval:passe passed on a detached worktree at this exact release head: baseline exit 0 and all 38 intentional mutants rejected as expected.
  • The release tree 88b86f21da656280f564d1079ce5cae7b03dd7ac is byte-identical to merged #1528 head 25626ce5ade303f44df5cf20bf9b9ef64eb36889; I verified git diff --quiet returns 0. On that exact tree, portao-passe job 143633844155 passed the 33/33 browser baseline and recorded MORDE PB20 (passe-390-duas-colunas) with the mutated CSS served. I did not rerun the browser suite on the release head.

This is a security COMMENT, not an approval. It does not override the release's red checks, open review threads or CHANGES_REQUESTED. The previously reported post-migration legacy privacy refusal tracked in item 206 remains open and is not cleared by this review.

fix: preserve roster equipment click order

@estraga-codigo estraga-codigo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Palhaço Mal

Palhaço Mal · code reviewer · 🤡

Change map

  • harness (114): ARCH.md, KNOWN-RED.json, README.md, ads-visibility-check.mjs …
  • other (55): borda.json, package-lock.json, package.json, passe.css …
  • game (22): account-entry.js, character-palm-fits.js, fp-maos.js, game.js …
  • docs (12): SKILL.md, AGENTS.md, CHANGELOG.md, README.md …
  • assets (11): clay_block_wall_cor.webp, clay_roof_tiles_02_cor.webp, clay_roof_tiles_02_normal.webp, dry_ground_01_cor.webp …
  • CI (5): ci.yml, csbrasil-bot-pr-classify.yml, portao-browser.yml, gatilho.mjs …
  • backend (5): modulos.d.ts, error-provenance.mjs, usage-script.mjs, usage-event.ts …
  • site (3): worker.ts, index.astro, privacidade.astro
  • maps (2): map_sertao_hd.js, map_upa.js

Note

Summary: The diff introduces consent-gated page-view telemetry, serializes equipment mutations, and adds privacy and evaluation coverage. It also changes the pass display, preview behavior, CI attestation handling, and several evaluation harnesses.

2 major · 0 minor

Caution

Risk HIGH · score 7.5/10 ▓▓▓▓▓▓▓▓░░
2 major finding(s). Resolve before merging.

Unresolved review threads block merging under the branch policy. Fix the finding or refute it with evidence.

🔴 Major findings (2)

  • KNOWN-RED gains a new accepted failure — tools/eval/KNOWN-RED.json:17 (action: ci-portoes)
    The diff adds the CHR3C entry to KNOWN-RED.json, expanding the registry of accepted evaluation failures. This weakens the CI ratchet because the newly recognized mesh-to-floor condition can be excluded without first being fixed, allowing the evaluation gate to accept additional failures. The registry must not grow under the repository's CI invariant.
    💡 Fix: Remove the CHR3C entry from tools/eval/KNOWN-RED.json and fix the underlying crouch mesh-to-floor condition. Run the corresponding character evaluation and keep the accepted-failure registry non-increasing.

@@ -17,2 +17 @@

  • "CHR3C": "malha × piso no crouch: rabo/quadril de proerd (-0,43) e canarinho cruzam o chão com o pé plantado, e lobisomem/palhacomal também; com os packs Studio medidos entram dracula, satanista-talkshow e vlad — exige clipe ou rig novo (#1117)",
    "CHR4": "proporções do elenco — mesmo lote do CHR1",
  > Suggested mutation: `Add a new accepted-failure entry such as `CHR3C` to `tools/eval/KNOWN-RED.json` and include it in the CI debt baseline.`
- **UPA lighting falls below the required ratio** — `public/js/map_upa.js:353` _(action: mapas)_
  The new HemisphereLight and DirectionalLight intensities total 1.10, reducing the global map light from the previous 1.60. Against the stated 2.40–3.60 viewmodel range, this yields a ratio of approximately 0.31–0.46, below the required 0.80–1.40 minimum. Players loading UPA through maps.js will receive a substantially darker indoor scene, degrading visibility and image readability.
  💡 **Fix:** Increase the combined hemisphere and directional light intensity to at least 2.88 so the ratio remains within 0.80–1.40 across the stated viewmodel range. Re-run the map lighting check for UPA before merging.
  ```diff
--- a/public/js/map_upa.js
+++ b/public/js/map_upa.js
@@
-  const hemi = new THREE.HemisphereLight(0xf1f8f4, 0xd9d5c8, 0.7); scene.add(hemi);
-  const sun = new THREE.DirectionalLight(0xffffff, 0.4);
+  const hemi = new THREE.HemisphereLight(0xf1f8f4, 0xd9d5c8, 1.5); scene.add(hemi);
+  const sun = new THREE.DirectionalLight(0xffffff, 1.38);

Suggested mutation: Set the UPA hemisphere intensity back to 0.7 and the directional intensity to 0.4 to reproduce the failing 1.10 total light level.

Cross-module impact

graph RL
  main_js["main.js"] --> game_js["game.js"]
  fparms_js["fparms.js"] --> glbchars_js["glbchars.js"]
  game_js["game.js"] --> glbchars_js["glbchars.js"]
  loading3d_js["loading3d.js"] --> glbchars_js["glbchars.js"]
  game_js["game.js"] --> i18n_js["i18n.js"]
  main_js["main.js"] --> i18n_js["i18n.js"]
  maps_js["maps.js"] --> map_upa_js["map_upa.js"]
Loading
  • fparms.js
  • game.js
  • loading3d.js
  • main.js
  • game.js
  • main.js

(Local public/js import graph, which may lag behind the PR head.)


Fix or refute each finding in its thread. Evidence settles the review.

— A green check still needs evidence. 🤡

Comment thread tools/eval/KNOWN-RED.json
"BOT8": "comportamento de bot fora do alvo no protocolo botsim — backlog de rotas/mira",
"CHR1": "antropometria do elenco Mint fora de ±35% (cabeça/ombro/perna) — corrigir exigiria re-gerar/escalar o roster",
"CHR3": "pés no chão, 93 personagens × 7 poses (crouchwalk entrou em 11/11): afundando 6 (esbirro -0,198 crouchwalk · ancap -0,151 crouchwalk · caminhoneiro -0,083 · palhacomal -0,037 …), flutuando 55 (mst +0,098 · doutora +0,057 · farialimer +0,050 …). A régua lê o quadro de maior |desvio| do clipe, e desde 11/11 o C3 amostra o clipe INTEIRO (24 quadros; antes eram 5 em 0…0,8 s) e a tabela compensa pelo pé MAIS BAIXO do ciclo: o 'flutua 0' de antes era o offset descendo o corpo pelo pico do balanço e enterrando o pé de apoio (mandrake/run -0,103 no jogo, adjim/walk -0,104). O que sobra é raiz oscilando no clipe (classe c, 14 suspeitos em foot-offsets.json, 7 com o offset da staging por exceção medida) — exige clipe novo (#1279). Packs Studio no crouch: satanista-talkshow +0,333 → +0,006, dracula +0,311 → +0,006, vlad +0,135 → +0,004 (bake do Studio erguia o quadril pela barra do sobretudo/capa; conserto no Studio à parte). Ver tools/gen-foot-offsets.mjs e KNOWN-BUGS.md BUG-10/CHR3.",
"CHR3C": "malha × piso no crouch: rabo/quadril de proerd (-0,43) e canarinho cruzam o chão com o pé plantado, e lobisomem/palhacomal também; com os packs Studio medidos entram dracula, satanista-talkshow e vlad — exige clipe ou rig novo (#1117)",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] KNOWN-RED gains a new accepted failure

The diff adds the CHR3C entry to KNOWN-RED.json, expanding the registry of accepted evaluation failures. This weakens the CI ratchet because the newly recognized mesh-to-floor condition can be excluded without first being fixed, allowing the evaluation gate to accept additional failures. The registry must not grow under the repository's CI invariant.

Tip

Fix: Remove the CHR3C entry from tools/eval/KNOWN-RED.json and fix the underlying crouch mesh-to-floor condition. Run the corresponding character evaluation and keep the accepted-failure registry non-increasing.

@@ -17,2 +17 @@
-  "CHR3C": "malha × piso no crouch: rabo/quadril de proerd (-0,43) e canarinho cruzam o chão com o pé plantado, e lobisomem/palhacomal também; com os packs Studio medidos entram dracula, satanista-talkshow e vlad — exige clipe ou rig novo (#1117)",
   "CHR4": "proporções do elenco — mesmo lote do CHR1",

Mutation: Add a new accepted-failure entry such as CHR3Ctotools/eval/KNOWN-RED.json and include it in the CI debt baseline.

Comment thread public/js/map_upa.js
const hemi = new THREE.HemisphereLight(0xf4f8ff, 0xb8c0c8, 0.92); scene.add(hemi);
const sun = new THREE.DirectionalLight(0xffffff, 0.68);
const hemi = new THREE.HemisphereLight(0xf1f8f4, 0xd9d5c8, 0.7); scene.add(hemi);
const sun = new THREE.DirectionalLight(0xffffff, 0.4);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] UPA lighting falls below the required ratio

The new HemisphereLight and DirectionalLight intensities total 1.10, reducing the global map light from the previous 1.60. Against the stated 2.40–3.60 viewmodel range, this yields a ratio of approximately 0.31–0.46, below the required 0.80–1.40 minimum. Players loading UPA through maps.js will receive a substantially darker indoor scene, degrading visibility and image readability.

Tip

Fix: Increase the combined hemisphere and directional light intensity to at least 2.88 so the ratio remains within 0.80–1.40 across the stated viewmodel range. Re-run the map lighting check for UPA before merging.

--- a/public/js/map_upa.js
+++ b/public/js/map_upa.js
@@
-  const hemi = new THREE.HemisphereLight(0xf1f8f4, 0xd9d5c8, 0.7); scene.add(hemi);
-  const sun = new THREE.DirectionalLight(0xffffff, 0.4);
+  const hemi = new THREE.HemisphereLight(0xf1f8f4, 0xd9d5c8, 1.5); scene.add(hemi);
+  const sun = new THREE.DirectionalLight(0xffffff, 1.38);

Mutation: Set the UPA hemisphere intensity back to 0.7 and the directional intensity to 0.4 to reproduce the failing 1.10 total light level.

@rubenmarcus rubenmarcus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security review — Capitão Caveira

Head: 01d5d1a479dba7e35d5d149b0ddfb7e1517f4b52.

No additional security finding in the delta from 8a4f6d9c5777a2343c55a7003aaa90ea06886577.

  • The first-parent release delta is six files, 178 additions and 34 deletions. Its stable git patch-id is f8c0a0a8d5bc7bb8a5fd9301b54eef03cb60449a, identical to the effective #1441 diff from second-parent staging 7346e2e3a620225c8253063bd978949d7fea9b90 to 6106125ad7f0fbf750b385c6974a527bf68af9b2, whose security boundaries were covered in review 6145153812. There is no extra merge-resolution change to attribute to this release.
  • The identical patch preserves the reviewed boundaries: equipment mutations remain serialized; account epoch and ownership are rechecked before dispatch and before applying responses; cosmetic IDs still require local catalog ownership and availability; roster feedback uses textContent; and this delta changes no backend, API authorization or RLS code.
  • On a clean detached worktree at this exact release head, node --test tests/treta-manifest-readiness.test.mjs passed 53/53; npm run eval:treta-equip-route passed 53 scenarios and rejected 3/3 intentional mutations; npm run eval:treta-fila passed and rejected 3/3 intentional mutations; the operation timeline check passed 7/7. Syntax checks passed for both changed runtime modules and both changed eval scripts.
  • git diff --check passed. Redacted scans of all 178 added lines found zero private-key, provider-token, credential-assignment, URL-userinfo, dynamic-code or DOM-HTML-sink candidates. No candidate value was printed.

This is a security COMMENT, not an approval. It does not override the release's red checks, open review threads or CHANGES_REQUESTED. I did not rerun browser/render paths, production backend behavior or the previously documented functional eval:roster-skins RS5 failure. The post-migration legacy privacy refusal tracked in item 206 remains open and is not cleared by this review.

rubenmarcus and others added 8 commits December 3, 2026 00:23
Depende do #1449; na staging 3d0e0bb, TPR5b, c e d já reprovam sem esta mudança, e TPR5a reprova porque a distância cai de 2,38 para 0,33 cm.

Signed-off-by: Codex <ruben@rubenmarcus.dev>
Agent: Codex
(cherry picked from commit d9da69c1bf026e3dc7b3e79a218d72f5b43104ae)
Depends on #1449 and the right-front arm fix.

Signed-off-by: Codex <ruben@rubenmarcus.dev>
Agent: Codex
(cherry picked from commit d97fe54fcd8feb8df8b900d7782d46a10a8ec9ef)
head-yaw-check stopped with a TypeError on such a body; with the guard it passes.

Signed-off-by: Claude Code (Opus 5.5) <noreply@anthropic.com>
Agent: Claude Code
TPR5a required the 2.38 cm of an old main. That value was the arm jump this branch removes; frames outside the jump sit at 0.3 cm. tp-rajada-salto-check takes the restore out and TPR5a must fail. TPR5b, c and d are unchanged and already fail on staging.

Signed-off-by: Claude Code (Opus 5.5) <noreply@anthropic.com>
Agent: Claude Code (Opus 5.5)
Signed-off-by: Claude Code (Opus 5.5) <noreply@anthropic.com>
Agent: Claude Code (Opus 5.5)
Fails on b7c729e: 36 of 567 cases over 18.2 degrees, worst 101.7.

Signed-off-by: Claude Code (Opus 5.5) <noreply@anthropic.com>
Agent: Claude Code (Opus 5.5)
The saved pose already held the draw rotation, so each frame added it again.

Signed-off-by: Claude Code (Opus 5.5) <noreply@anthropic.com>
Agent: Claude Code (Opus 5.5)
Signed-off-by: Claude Code (Opus 5.5) <noreply@anthropic.com>
Agent: Claude Code (Opus 5.5)
@csbrasil-BOT csbrasil-BOT changed the title release: daily batch 2026-12-02 release: daily batch 2026-12-03 Dec 3, 2026
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
Agent: Codex
@rubenmarcus

Copy link
Copy Markdown
Member

Doutora QA @ 01d5d1a479dba7e35d5d149b0ddfb7e1517f4b52 — PASS for the daily staging functional smoke. This is not release approval.

The hosted staging page reported this exact SHA through window.__CS_BUILD.sha, matching this release PR. Chrome used WebGL2 on AMD/RADV Vulkan (RAPHAEL_MENDOCINO), with hardware acceleration verified and no software renderer.

  • Desktop, 1920×1080: Lobisomem entered upa_24h, state live, alive, with no horizontal overflow. 42.43 FPS over 6.03 s; p95 frame time 33.4 ms.
  • Mobile, 390×844 CSS px, DPR 3: the same character/map reached live in a touch-enabled context, with no horizontal overflow. 60.00 FPS over 6.02 s; p95 frame time 16.7 ms.
  • Runtime failures: 0 uncaught exceptions and 0 crashes in either session.
  • Console: 3 error messages per session (6 total): the CSP block for uwt.js, /api/social 404 and /api/treta 403. These did not prevent the tested match flow and remain visible in the manifest.

The diagnostic auto-start used debug=1, auto=M,lobisomem, hands=1, vmauthored=0 and fpoff=1; network responses were not mocked. The native portrait rotate prompt was captured first, then only that overlay was hidden for the mobile match image. This smoke does not exercise physical-device input or replace the owner's gameplay pass, release CI or other merge gates.

Captures

Desktop 1920×1080 Mobile 390×844 CSS px
Staging desktop match Staging mobile match

Native mobile rotate prompt · Manifest · Capture log · Ruler. All six assets were validated by authenticated download and byte comparison; the release remains a draft.

Stop the one-handed gun arm from spinning in third person

@estraga-codigo estraga-codigo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Palhaço Mal

Palhaço Mal · code reviewer · 🤡

Change map

  • harness (118): ARCH.md, KNOWN-RED.json, README.md, ads-visibility-check.mjs …
  • other (55): borda.json, package-lock.json, package.json, passe.css …
  • game (22): account-entry.js, character-palm-fits.js, fp-maos.js, game.js …
  • docs (13): SKILL.md, AGENTS.md, CHANGELOG.md, README.md …
  • assets (11): clay_block_wall_cor.webp, clay_roof_tiles_02_cor.webp, clay_roof_tiles_02_normal.webp, dry_ground_01_cor.webp …
  • CI (5): ci.yml, csbrasil-bot-pr-classify.yml, portao-browser.yml, gatilho.mjs …
  • backend (5): modulos.d.ts, error-provenance.mjs, usage-script.mjs, usage-event.ts …
  • site (3): worker.ts, index.astro, privacidade.astro
  • maps (2): map_sertao_hd.js, map_upa.js

Note

Summary: The diff replaces Cloudflare page analytics with an optional same-origin usage script and Analytics Engine event route. It also serializes equipment mutations, adds privacy migration and concurrency controls, and expands the evaluation suite.

1 major · 0 minor

Warning

Risk MEDIUM · score 7.5/10 ▓▓▓▓▓▓▓▓░░
1 major finding(s). Resolve before merging.

Unresolved review threads block merging under the branch policy. Fix the finding or refute it with evidence.

🔴 Major findings (1)

  • Wave ends while queued spawns remain — public/js/mode_javaporcos.js:222 (action: mapas)
    The combat timer now calls venceuOTempo without checking state.remaining, unlike the previous condition that required the pending-spawn queue to be empty. When combatLeft reaches zero while queued spawns remain, the function resets state.remaining to zero and abandons those enemies, shortening the wave and changing the expected wave population.
    💡 Fix: Keep the pending-spawn check before ending the wave, or explicitly document and test that the combat timer intentionally cancels every remaining queued spawn. If the timer is the authoritative boundary, remove the queued spawns through a separate state transition and ensure scoring and wave results reflect that cancellation.
  • if (!state.combatLeft && state.mutante !== 'onda-eterna') venceuOTempo(state);
  • if (!state.combatLeft && !state.remaining && state.mutante !== 'onda-eterna') venceuOTempo(state);
  > Suggested mutation: `Set `state.combatLeft` to zero while `state.remaining` is greater than zero, call `passoHorda`, and observe that the wave transitions without spawning the queued animals.`

### Cross-module impact

```mermaid
graph RL
  main_js["main.js"] --> game_js["game.js"]
  fparms_js["fparms.js"] --> glbchars_js["glbchars.js"]
  game_js["game.js"] --> glbchars_js["glbchars.js"]
  loading3d_js["loading3d.js"] --> glbchars_js["glbchars.js"]
  game_js["game.js"] --> i18n_js["i18n.js"]
  main_js["main.js"] --> i18n_js["i18n.js"]
  maps_js["maps.js"] --> map_upa_js["map_upa.js"]
  • game.js
  • fparms.js
  • loading3d.js
  • main.js
  • main.js
  • maps.js

(Local public/js import graph, which may lag behind the PR head.)


Fix or refute each finding in its thread. Evidence settles the review.

— A green check still needs evidence. 🤡

state.combatLeft = Math.max(0, state.combatLeft - dt);
state.combatLeft = Math.max(0, state.combatLeft - dtOnda);
state.spawnClock += dt;
const cadencia = cadenciaDeSpawn(state);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] Wave ends while queued spawns remain

The combat timer now calls venceuOTempo without checking state.remaining, unlike the previous condition that required the pending-spawn queue to be empty. When combatLeft reaches zero while queued spawns remain, the function resets state.remaining to zero and abandons those enemies, shortening the wave and changing the expected wave population.

Tip

Fix: Keep the pending-spawn check before ending the wave, or explicitly document and test that the combat timer intentionally cancels every remaining queued spawn. If the timer is the authoritative boundary, remove the queued spawns through a separate state transition and ensure scoring and wave results reflect that cancellation.

-  if (!state.combatLeft && state.mutante !== 'onda-eterna') venceuOTempo(state);
+  if (!state.combatLeft && !state.remaining && state.mutante !== 'onda-eterna') venceuOTempo(state);

Mutation: Set state.combatLeftto zero whilestate.remainingis greater than zero, callpassoHorda, and observe that the wave transitions without spawning the queued animals.

@rubenmarcus rubenmarcus added the hold No push, merge or hand-off until the owner lifts it label Dec 4, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold No push, merge or hand-off until the owner lifts it needs-estragacodigo-resolution PR has an unresolved estraga-codigo finding needs-human-backend Change requires human backend/Supabase/anti-cheat review needs-human-gameplay Change requires human gameplay/render/HUD review needs-staging Change requires integrated validation in staging release Merging this PR into main triggers the release train target:main PR targets the main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants