analyze_srt.py, build_page.py and transcode.yaml produced the /bygge prototype. They were sitting in a session scratchpad on tmpfs, one reboot from gone, while spike issues #29-#31 were written as if they had to be built from scratch. Committed as found, defects documented rather than fixed: max_tokens=6000 truncates anything past ~6 minutes of audio, the page title is hardcoded, and the schema still carries fields no consumer renders. The four-check validator is the part worth keeping — the coverage-gap and Swedish-number-grounding checks catch errors that timestamp and citation checks structurally cannot. Real transcripts and analyses stay out: this repo is public and the recordings are a named person discussing a client's project. Only the synthetic fixture is committed, which exercises all four checks with no model call. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BeAp5LTscnz2W7Ubt4eJ6m
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: jonas-transcode
|
|
namespace: default
|
|
spec:
|
|
ttlSecondsAfterFinished: 600
|
|
activeDeadlineSeconds: 1800
|
|
backoffLimit: 0
|
|
template:
|
|
spec:
|
|
restartPolicy: Never
|
|
nodeSelector:
|
|
kubernetes.io/hostname: koala
|
|
securityContext:
|
|
runAsUser: 1000
|
|
runAsGroup: 1000
|
|
fsGroup: 1000
|
|
containers:
|
|
- name: ffmpeg
|
|
image: mwader/static-ffmpeg:7.1
|
|
args:
|
|
- "-nostdin"
|
|
- "-i"
|
|
- "/work/IMG_1233.mov"
|
|
- "-c:v"
|
|
- "libx264"
|
|
- "-preset"
|
|
- "veryfast"
|
|
- "-crf"
|
|
- "24"
|
|
- "-vf"
|
|
- "scale='min(1280,iw)':-2"
|
|
- "-c:a"
|
|
- "aac"
|
|
- "-b:a"
|
|
- "128k"
|
|
- "-movflags"
|
|
- "+faststart"
|
|
- "-y"
|
|
- "/work/IMG_1233.web.mp4"
|
|
volumeMounts:
|
|
- name: work
|
|
mountPath: /work
|
|
resources:
|
|
limits: {cpu: "6", memory: "4Gi"}
|
|
volumes:
|
|
- name: work
|
|
hostPath:
|
|
path: /home/mathias/dev/AGENTS/agentsquad
|
|
type: Directory
|