@@ -712,6 +712,7 @@ BITCODE_QA_VERBOSE=true
712712
713713BITCODE_ENABLE_PIPELINE_HARNESS_API=1
714714BITCODE_ASSET_PACK_REAL_INFERENCE=1
715+ BITCODE_ASSET_PACK_REAL_INFERENCE_PROFILE=bounded
715716BITCODE_PIPELINE_HARNESS_MAX_RUNTIME_MS=600000
716717OPENAI_API_KEY=< OpenAI key for non-mocked Terminal/protocol synthesis>
717718BITCODE_LLM_PROVIDER=openai
@@ -721,7 +722,7 @@ SENTRY_DSN=<optional V28 alert sink; absence must remain readable blocked readin
721722
722723Do not set mock flags true on this deployment.
723724Do not point the Supabase custom provider token/userinfo URLs at localhost; Supabase cloud must be able to call the deployed Bitcode origin.
724- Do not deploy staging-testnet Read/Fit QA with ` BITCODE_ASSET_PACK_REAL_INFERENCE` unset or false. Per-agent ` * _USE_PTRR` flags are only diagnostic overrides; the staging posture is the global real-inference flag plus a real server-side model credential.
725+ Do not deploy staging-testnet Read/Fit QA with ` BITCODE_ASSET_PACK_REAL_INFERENCE` unset or false. Per-agent ` * _USE_PTRR` flags are only diagnostic overrides; the deployed streaming posture is the global real-inference flag, ` BITCODE_ASSET_PACK_REAL_INFERENCE_PROFILE=bounded ` , and a real server-side model credential. Use ` BITCODE_ASSET_PACK_REAL_INFERENCE_PROFILE=full ` only for long-running sandbox audits outside the deployed route .
725726
726727# # Live Deployment Pass: First-Run Onboarding To Terminal Readiness
727728
@@ -1183,7 +1184,8 @@ keys by name:
11831184BITCODE_PIPELINE_STREAM_TO_DATABASE=1 \
11841185BITCODE_PIPELINE_STRUCTURED_DB=1 \
11851186BITCODE_ASSET_PACK_REAL_INFERENCE=1 \
1186- BITCODE_SANDBOX_ENV_KEYS=SUPABASE_URL,SUPABASE_SERVICE_ROLE_KEY,OPENAI_API_KEY,BITCODE_ASSET_PACK_REAL_INFERENCE,BITCODE_PIPELINE_HARNESS_MAX_RUNTIME_MS
1187+ BITCODE_ASSET_PACK_REAL_INFERENCE_PROFILE=bounded \
1188+ BITCODE_SANDBOX_ENV_KEYS=SUPABASE_URL,SUPABASE_SERVICE_ROLE_KEY,OPENAI_API_KEY,BITCODE_ASSET_PACK_REAL_INFERENCE,BITCODE_ASSET_PACK_REAL_INFERENCE_PROFILE,BITCODE_PIPELINE_HARNESS_MAX_RUNTIME_MS
11871189` ` `
11881190
11891191These Supabase values must be real staging credentials. Placeholder hosts such
@@ -1195,6 +1197,8 @@ uses Vercel automatic OIDC instead of a local Vercel token:
11951197the deployed route preflight-fails when ` BITCODE_ASSET_PACK_REAL_INFERENCE` is
11961198unset, when ` OPENAI_API_KEY` is missing, or when
11971199` BITCODE_PIPELINE_HARNESS_MAX_RUNTIME_MS` exceeds ` 600000` .
1200+ When no profile is configured, the deployed route injects
1201+ ` BITCODE_ASSET_PACK_REAL_INFERENCE_PROFILE=bounded` .
11981202
11991203` ` ` bash
12001204curl -N " $BITCODE_UAPI_URL /api/pipeline-harness/asset-pack" \
@@ -1321,9 +1325,13 @@ Observed staging-testnet harness evidence on 2026-05-17:
13211325 synthesis/validation/finish branches unless a phase-specific `*_USE_PTRR=1`
13221326 flag was set; therefore this observed run had zero generation rows and zero
13231327 tool execution rows. The V28 staging posture is now
1324- `BITCODE_ASSET_PACK_REAL_INFERENCE=1`, which forces every PTRR-capable
1325- AssetPack branch to produce model-generation telemetry or fail with explicit
1326- blocked-readiness evidence.
1328+ `BITCODE_ASSET_PACK_REAL_INFERENCE=1`. On the deployed streaming route,
1329+ `BITCODE_ASSET_PACK_REAL_INFERENCE_PROFILE=bounded` is now the required
1330+ profile: setup, synthesis, validation, and Finish produce model-generation
1331+ telemetry while deterministic source-bound discovery preserves budget for a
1332+ complete AssetPack run. Full discovery PTRR remains available through
1333+ `BITCODE_ASSET_PACK_REAL_INFERENCE_PROFILE=full` for long-running sandbox
1334+ audits outside the deployed route.
13271335- Ledger readback correctly showed zero BTD range, BTC fee, journal, anchor, and
13281336 crypto telemetry rows, and `btd_supply_state.total_minted=0`, because source
13291337 overlay QA evidence cannot mint BTD, claim BTC fee settlement, or anchor
@@ -1374,6 +1382,32 @@ Follow-up local Vercel Sandbox overlay evidence on 2026-05-17:
13741382 reconciliation readback roots, or explicit blocked-readiness, before such a
13751383 candidate can become `worthy_fit`.
13761384
1385+ Second local overlay evidence on 2026-05-17:
1386+
1387+ - Vercel Sandbox run `sbx_XO602gYd3F57rYSyc8NzkPsXIDb7` exported artifacts to
1388+ `.bitcode/pipeline-harness-runs/2026-05-17T20-34-37-584Z-sbx_XO602gYd3F57rYSyc8NzkPsXIDb7/`.
1389+ - The run found and ranked the deposited repository candidate with real
1390+ OpenAI-backed setup and discovery telemetry, 3565 stream lines, prompt/context
1391+ input, raw responses, parsed output, usage, phase, agent, step, failsafe, and
1392+ generation correlation.
1393+ - The run failed closed with `PipelineHarnessTimeoutError` after the configured
1394+ 1200000 ms harness budget while still in discovery
1395+ (`asset-pack-plan-implementation-agent`). It did not reach synthesis,
1396+ validation, Finish, shipping, or ledger settlement.
1397+ - The root cause is not a source crash; it is a runtime-shape mismatch between
1398+ the deployed streaming route budget and full PTRR discovery. V28 now separates
1399+ route-streaming real inference (`BITCODE_ASSET_PACK_REAL_INFERENCE_PROFILE=bounded`)
1400+ from full PTRR audits (`BITCODE_ASSET_PACK_REAL_INFERENCE_PROFILE=full`) so
1401+ staging can complete the value-producing Read/Fit -> AssetPack -> Finish path
1402+ inside the Vercel Function window.
1403+ - The run also exposed agent-visible tool registry drift: a risk-admission
1404+ generation requested `lexical-depository-search`, but the PTRR tool executor
1405+ reported `Tool not found: lexical-depository-search`. The deterministic
1406+ depository search had already run before setup agents, so the search result
1407+ was present as pipeline context; V28 still needs agent-visible depository
1408+ search/readback tool registration or prompt tightening before full PTRR audits
1409+ can be considered clean.
1410+
13771411## 2026-05-13 Staging Deployment Readiness Gate
13781412
13791413Purpose:
0 commit comments