CenaForge: primeira versão pública

Gerador de vídeos narrativos (Godot + FFmpeg), painel Next.js, serviço de voz,
Clipador de lives e Publicador para YouTube, TikTok e Instagram.

Inclui a leitura das visualizações dos posts para o Dashboard e o botão
"Publicar no <rede>" nos cartões das publicações.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 16:35:09 -03:00
co-authored by Claude Opus 5.5
commit 84f30bbc2d
484 changed files with 74826 additions and 0 deletions
+64
View File
@@ -0,0 +1,64 @@
extends SceneTree
## Verificação local: Godot --headless --path godot --script res://library/castaways/verify.gd
## Compara todos os nós articulados ao buscar tempos em ordens diferentes.
const Scene := preload("res://library/castaways/template.gd")
func _initialize() -> void:
call_deferred("_run")
func _snapshot(node: Node) -> String:
var parts: PackedStringArray = []
if node is Node3D:
parts.append(str(node.transform))
for child in node.get_children():
parts.append(_snapshot(child))
return "|".join(parts)
func _run() -> void:
var checks := 0
for moment in Scene.MOMENTS:
for variant in 3:
var scene := Scene.new()
root.add_child(scene)
scene.setup({"params": {"moment": moment, "variant": variant}, "video": {"duration": 5.0}}, Vector2(540, 960))
for t in [0.0, 0.7, 2.5, 4.95]:
scene.apply(t)
var before := _snapshot(scene)
scene.apply(4.99)
scene.apply(0.0)
scene.apply(t)
if before != _snapshot(scene):
printerr("FALHA determinismo %s variant=%d t=%.2f" % [moment, variant, t])
quit(1)
return
if moment in ["arrival", "waiting", "rescue"] and (moment != "arrival" or t > 0.6):
for id in ["elenilson", "ivan", "manoel", "iranildo"]:
var clearance := INF
for part in scene._support_points[id]:
for vertex in part[1]:
var point: Vector3 = part[0].global_transform * vertex
clearance = minf(clearance, point.y - scene._island.ground_at(point.x, point.z))
if clearance < -0.002 or clearance > 0.03:
printerr("FALHA apoio %s %s: %.4f m" % [moment, id, clearance])
quit(1)
return
checks += 1
var previous := Vector3.ZERO
var largest_step := 0.0
for frame in 150:
scene.apply(float(frame) / 30.0)
var current: Vector3 = scene._people.elenilson.global_position
if frame > 0:
largest_step = maxf(largest_step, current.distance_to(previous))
previous = current
if largest_step > 0.4:
printerr("FALHA continuidade %s variant=%d: %.3f m/quadro" % [moment, variant, largest_step])
quit(1)
return
scene.free()
print("CASTAWAYS_OK %d estados: determinismo por busca temporal e apoio dos personagens" % checks)
quit(0)