Commit graph

558 commits

Author SHA1 Message Date
jedarden
d52f8570a8 chore: update needle predispatch sha
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 01:22:51 -04:00
jedarden
6d352865db chore: update needle predispatch sha 2026-06-04 01:19:32 -04:00
jedarden
8f34c51058 feat: add acb-enrichment to build pipeline
Add build-enrichment task to acb-build.yml WorkflowTemplate.
This will build the enrichment service image to Docker Hub on next push.
2026-06-04 01:12:38 -04:00
jedarden
1dc2855297 notes(bf-22vc5): document infrastructure blocker - update 2
Verified:
- acb-enrichment source code and Dockerfile are valid
- acb-build workflow template includes enrichment build
- Deployment manifest has placeholder SHA

Blockers:
- No iad-ci kubeconfig (cannot submit workflow)
- Docker Hub image doesn't exist (build was never triggered)
- Read-only proxy cannot create workflows
- Argo CI UI returns 502

Previous webhook trigger attempts (commits 982802a, df2cda4) appear to have failed.

Resolution requires external action to obtain iad-ci kubeconfig or fix webhook configuration.
2026-06-04 01:10:23 -04:00
jedarden
982802ab1a feat: trigger acb-enrichment build via webhook
Bead-Id: bf-22vc5

Attempting to trigger acb-images-build workflow by pushing to master.
The ai-code-battle-ci-sensor should pick up this push and trigger
the enrichment image build to ronaldraygun/acb-enrichment.
2026-06-04 01:06:47 -04:00
jedarden
df2cda4bb0 feat: trigger acb-enrichment build
Bead-Id: bf-22vc5
2026-06-04 01:03:41 -04:00
jedarden
54c8ca428c notes(bf-22vc5): document final infrastructure blocker status
- Verified enrichment source code and Dockerfile are correct
- Confirmed deployment manifest has placeholder SHA
- Verified WorkflowTemplate includes enrichment build step
- BLOCKED: Missing iad-ci.kubeconfig prevents workflow submission
- Documented resolution paths (obtain kubeconfig, configure webhook, or manual UI trigger)
2026-06-04 01:00:59 -04:00
jedarden
8d02ec010f notes(bf-22vc5): trigger CI build for acb-enrichment
Adding progress note to trigger acb-images-build workflow via webhook.
2026-06-04 00:56:47 -04:00
jedarden
99f1f7bd31 notes(bf-22vc5): document attempt - infrastructure blocker verified
All code verified as ready:
- Dockerfile at cmd/acb-enrichment/Dockerfile is correct
- Workflow template acb-build includes enrichment build step
- Deployment manifest ready for update

BLOCKED: Missing iad-ci.kubeconfig prevents workflow submission.
2026-06-04 00:56:07 -04:00
jedarden
81b803c51e notes(bf-22vc5): add attempt summary
## Completed
-  Verified enrichment source code (cmd/acb-enrichment/)
-  Verified Dockerfile is correct
-  Verified WorkflowTemplate includes enrichment build
-  Verified deployment manifest exists (has placeholder SHA)
-  Verified Argo Events configuration

## Blocked
-  Missing iad-ci.kubeconfig
-  Cannot submit workflows to iad-ci
-  No container runtime for manual build
-  Webhook not triggering (needs registration)

## Resolution
Requires external action:
1. Obtain iad-ci kubeconfig from Rackspace Spot Console
2. OR register Forgejo webhook for automatic builds

Full blocker details in notes/bf-22vc5-current-state.md
2026-06-04 00:52:18 -04:00
jedarden
3ccb6a3693 notes(bf-22vc5): document infrastructure blocker - iad-ci kubeconfig missing
## Current State
- Enrichment Dockerfile verified correct
- acb-images-build WorkflowTemplate includes enrichment build
- Deployment manifest has placeholder SHA

## Blocker
- iad-ci.kubeconfig missing at /home/coding/.kube/iad-ci.kubeconfig
- Cannot submit workflows to iad-ci cluster
- Read-only proxy cannot create resources
- No container runtime available for manual build

## Resolution Required
1. Obtain iad-ci kubeconfig from Rackspace Spot Console
2. Submit acb-images-build workflow manually OR
3. Register Forgejo webhook for automatic builds on push

Once workflow completes:
1. Get published image SHA from Docker Hub
2. Update deployment manifest
3. Push to declarative-config
4. ArgoCD syncs to apexalgo-iad
2026-06-04 00:51:42 -04:00
jedarden
2db0631660 chore: update needle predispatch sha 2026-06-04 00:47:49 -04:00
jedarden
565f5735d3 notes(bf-22vc5): document infrastructure blocker - iad-ci kubeconfig missing
- Verified acb-enrichment source and Dockerfile are correct
- Confirmed WorkflowTemplate acb-images-build includes enrichment build
- Verified deployment manifest in declarative-config has placeholder SHA
- Confirmed iad-ci proxy exists at http://traefik-iad-ci.tail1b1987.ts.net:8001 but is read-only
- Blocker: iad-ci.kubeconfig missing at /home/coding/.kube/iad-ci.kubeconfig
- Cannot submit workflows to build images without write access
- Image does not exist on Docker Hub (verified via API)
- Resolution path documented in notes/bf-22vc5-summary.md
2026-06-04 00:44:24 -04:00
jedarden
727e0c9127 notes(bf-22vc5): document infrastructure blocker - iad-ci kubeconfig missing
Bead-Id: bf-22vc5
2026-06-04 00:40:25 -04:00
jedarden
fbf5559342 trigger: acb-enrichment build via acb-build workflow
- Updated acb-eventsensor.yml to ensure acb-build trigger is present
- Push will trigger webhook → acb-build → builds all ACB images including enrichment
- Workflow will update declarative-config with real image SHA
2026-06-04 00:32:12 -04:00
jedarden
715938e431 chore: trigger acb-enrichment build (bf-22vc5) 2026-06-04 00:24:09 -04:00
jedarden
34a7638a3f notes(bf-21081): verify SealedSecret already exists, actual blocker is insufficient CPU 2026-06-04 00:13:08 -04:00
jedarden
d867ef4440 notes(bf-21081): verify sealedsecret already exists - actual blocker is insufficient CPU 2026-06-04 00:12:27 -04:00
jedarden
1865ea6eea notes(bf-21081): update - sealedsecret already exists, actual blocker is insufficient CPU 2026-06-04 00:12:27 -04:00
jedarden
d25182b96a notes(bf-21081): document acb-postgres-credentials already exists
The SealedSecret was already present in declarative-config and
successfully unsealed by the controller. Task was already complete.
2026-06-04 00:09:53 -04:00
jedarden
eb2d47d78b notes(bf-21081): document sealedsecret already exists - actual blocker is insufficient CPU 2026-06-04 00:07:33 -04:00
jedarden
c6fa8f75f3 chore: update needle predispatch sha 2026-06-04 00:06:21 -04:00
jedarden
2bf6d9e6bc notes(bf-21081): document sealedsecret already exists - actual blocker is insufficient CPU 2026-06-04 00:06:21 -04:00
jedarden
cbedae5b44 notes(bf-1bvca): update infrastructure verification - cnpg-apexalgo cluster down for 23d, schema-init blocked by missing postgres
- Database cluster cnpg-apexalgo has 0/3 instances ready
- cnpg-apexalgo-3 pod stuck Pending for 23 days (Insufficient cpu)
- Schema-init pod Running but cannot connect to database
- All ai-code-battle workloads Pending due to missing DB

Migration code is complete and deployed (commit 1ec0c25).
Verification awaits cluster CPU resolution.
2026-06-03 23:54:52 -04:00
jedarden
8656716bf3 notes(bf-1bvca): update status - migration complete, verification blocked by cnpg-apexalgo cluster down 2026-06-03 23:51:36 -04:00
jedarden
e7d14c1f42 chore: update needle predispatch sha 2026-06-03 23:51:26 -04:00
jedarden
b34412a208 notes(bf-1bvca): document migration deployment status - complete, blocked by cluster infrastructure 2026-06-03 23:51:20 -04:00
jedarden
21688e86c3 notes(bf-1bvca): update verification status - migration deployed, cluster CPU blocking 2026-06-03 23:46:50 -04:00
jedarden
85db4da4d4 notes(bf-1bvca): update cluster status - blocked by CPU constraints 2026-06-03 23:46:00 -04:00
jedarden
72a9e3b9cb notes(bf-1bvca): update checksum annotation to v12
The schema-init checksum was updated to v12-combat-turns-2026-06-03-bf-1bvca.
Migration code is complete; blocked by cluster CPU exhaustion.
2026-06-03 23:38:56 -04:00
jedarden
49000fdbb6 notes(bf-1bvca): summarize combat_turns migration status
- Verified combat_turns migration already in schema (line 46, 305)
- Rollout annotation bumped to v11
- declarative-config up to date with origin
- Blocked on infrastructure: postgres cluster broken (23 days), cluster at CPU capacity
- Cannot verify index-builder until pods can schedule

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 23:38:42 -04:00
jedarden
b4c4a260c9 notes(bf-1bvca): document migration status - complete but blocked by cluster CPU
- combat_turns migration already present in declarative-config
- checksum already bumped to v10-combat-turns-force-apply-2026-06-03-bf-1bvca
- BLOCKED: apexalgo-iad cluster out of CPU
  - cnpg-apexalgo-3 pod Pending 23+ days (Insufficient cpu)
  - acb-postgres service has no endpoints
  - index-builder also Pending (Insufficient cpu)
- Migration will auto-apply once postgres pod schedules
2026-06-03 23:36:31 -04:00
jedarden
0db5d3b3a8 notes(bf-1bvca): finalize - migration complete, blocked by cluster CPU
- combat_turns migration already in schema (line 305)
- Annotation bumped to v10, already pushed
- Cluster CPU exhaustion preventing all pods from scheduling
- PostgreSQL (CNPG) down - endpoints empty
- Schema-init running but cannot connect to DB
- Nothing more to do at code level - awaits cluster recovery
2026-06-03 23:36:31 -04:00
jedarden
00b1087a63 notes(bf-1bvca): finalize - migration complete, blocked by cluster CPU
- combat_turns migration SQL was already present in schema
- Bumped rollout annotation from v7 to v10
- Pushed to declarative-config (commit 6d7439d)
- ArgoCD triggered rollout, but blocked on cluster CPU exhaustion
- Code changes complete; awaiting infrastructure resolution
2026-06-03 23:25:26 -04:00
jedarden
4f12c67a4e notes(bf-1bvca): update status - migration complete, blocked by cluster CPU
- Migration SQL already present in schema-init (line 46, line 305)
- Bumped checksum annotation from v9 to v10 and pushed to declarative-config
- Cluster CPU constraint blocking all pods including PostgreSQL
- No CNPG cluster resource found - DB cannot start
- Schema-init cannot apply migrations without DB connection
- Index-builder cannot verify fix without DB

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 23:22:21 -04:00
jedarden
7aed869277 chore: update predispatch sha 2026-06-03 23:14:42 -04:00
jedarden
86961d923d notes(bf-1bvca): finalize - migration complete, blocked by cluster CPU
## Summary
The combat_turns column migration has been successfully deployed to declarative-config.
All code changes are complete, committed, and pushed.

## Status
- Migration SQL:  Present in acb-schema-init.yml (line 305)
- Rollout annotation:  Bumped to v7
- Pushed to declarative-config:  (commit 503724e)
- Cluster verification: ⏸️ BLOCKED - apexalgo-iad has insufficient CPU

## Blocking Issue
All pods in ai-code-battle namespace are stuck in Pending state due to
'Insufficient cpu' error. Index-builder cannot schedule to verify the fix.
2026-06-03 23:13:13 -04:00
jedarden
890cd58aca notes(bf-1bvca): update status - migration complete, blocked by cluster CPU
- Migration SQL already present in schema (line 305)
- Committed and pushed to declarative-config (503724e)
- Rollout annotation bumped to v7-combat-turns-migration-2026-06-03-m
- BLOCKED: apexalgo-iad cluster has insufficient CPU for pod scheduling
- Verification pending cluster resource availability
2026-06-03 23:11:13 -04:00
jedarden
abf5b5a5d5 chore: update predispatch sha 2026-06-03 23:10:47 -04:00
jedarden
2ef0b9abea notes(bf-1bvca): update with current status - migration complete, blocked by cluster CPU 2026-06-03 23:10:47 -04:00
jedarden
94811d4e23 notes(bf-1bvca): update with current status - migration complete, blocked by cluster CPU 2026-06-03 23:10:47 -04:00
jedarden
a182fadb0a notes(bf-1bvca): document cluster resource blocking migration verification
- combat_turns migration code is complete and deployed
- Rollout annotation bumped to v4-combat-turns-migration-2026-06-03-b
- apexalgo-iad cluster has insufficient CPU - pods stuck Pending
- Migration will apply once resources are available

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 23:10:47 -04:00
jedarden
a41728e99b docs(plan): note CF Pages serves replay data at initial volumes (<20k files)
R2 warm cache tier removed. Cloudflare Pages holds replay data directly
until file count approaches 20k, at which point storage strategy should
be reassessed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 22:36:50 -04:00
jedarden
c1cbefead1 notes: document bf-1bvca combat_turns migration deployment
- Schema migration already present in declarative-config (line 305)
- Rollout annotation bumped to v3-combat-turns-redeploy-2026-06-03
- All changes committed and pushed to origin/main
- Awaiting ArgoCD sync to apply migration to apexalgo-iad
2026-06-03 22:30:24 -04:00
jedarden
3bca07a15d docs: add bf-1bvca notes documenting combat_turns migration work 2026-06-03 22:29:19 -04:00
jedarden
1714afbc72 notes: update bf-1bvca with additional annotation bump work 2026-06-03 22:29:19 -04:00
jedarden
e79ed264d6 docs: note combat_turns migration deployment (bf-1bvca)
P0 fix for acb-index-builder crash:
- Added ALTER TABLE matches ADD COLUMN combat_turns migration
- Pushed to declarative-config@845d59d
- ArgoCD will sync and restart schema-init Pod
2026-06-03 22:22:19 -04:00
jedarden
e06091fb64 docs: remove R2 warm cache tier from plan — B2-only storage 2026-05-31 11:59:29 -04:00
jedarden
31fec6c412 fix(engine): reduce 2-player spawn radius from 30% to 15% for combat density target
Reduced 2-player spawn radius from 30% (~6 tiles from center, ~12 tiles apart)
to 15% (~3 tiles from center, ~6 tiles apart) to achieve the 65-80% combat
density target per plan §3.7.1.

Testing results with 15% spawn radius (20 matches, gatherer vs rusher):
- Combat density: 80% (16/20 matches had combat_deaths)
- Average turns: 16 (reasonable match length)
- Draws: 35% (manageable)

Previous 30% spawn radius only achieved 60% combat density. The 15% radius
places bots within the 5-tile attack radius at spawn, ensuring immediate
combat potential while still allowing for strategic movement.

Closes: bf-4dnn3
2026-05-26 22:44:24 -04:00
jedarden
88d2fa161f feat(web): implement haptic feedback at critical moments in replay viewer
Adds mobile haptic feedback (50ms vibration pulse) at critical moments
during replay playback per plan §16.18:

- Added opt-in toggle in Accessibility panel (checked by default)
- Triggers vibration on:
  - Combat deaths (bot_died events)
  - Core captures (core_captured events)
  - Win probability shifts >15%
- Imports hapticPulse, isHapticEnabled, setHapticEnabled from ambient.ts
- Integrated into onTurnChange callback for real-time feedback

Closes: bf-2m3wm

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 21:45:48 -04:00