Skip to content
  • Julian M. Kleber's avatar
    2acf77e2
    ops(research): K8s S2 secret patch + R1b gate unblock runbook (#7) · 2acf77e2
    Julian M. Kleber authored
    
    
    * fix(research): rebase R1b ops onto main (#4) — resolve dirty PR merge
    
    Replay PR-only deltas after #4 merged: K8s S2 secret patch, operator
    wire helper, agent-r1b-pass, parallel S2 downloads, CI gate fixture.
    
    Li-Agent-Run: code_implementer-1780822742420
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(ci): skip branch ref check in R1b gate fixture
    
    PR merge checkouts are detached HEAD without refs/heads/* — set
    R1B_GATE_SKIP_BRANCH=1 in test-r1b-gate-fixture.sh for CI.
    
    Li-Agent-Run: code_implementer-1780822742420
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): derive agent run id from workflow workspace path
    
    Trace supervisor JSON reports to the isolated clone run directory when
    LI_AGENT_RUN_ID is unset; refresh README blocker status for this pass.
    
    Li-Agent-Run: code_implementer-1780822907584
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * feat(research): record agent_run_id in ingest-run-state for R1b traceability
    
    Supervisor can correlate /warm-index/staging/.ingest-run-state.json with
    isolated agent workspace runs; refresh README blocker for this pass.
    
    Li-Agent-Run: code_implementer-1780823328484
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): probe mounted S2 key in r1b-gate + refresh blocker status
    
    r1b-gate.sh now sources paths.sh and reload_s2_api_key so Vault/K8s
    mounts are detected before the byte-gate failure message. README
    blocker updated for code_implementer-1780823705531 (31,680 B / 1 GiB).
    
    Li-Agent-Run: code_implementer-1780823705531
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * feat(research): persist agent-r1b report + probe cursor-agents secrets
    
    Write agent-r1b-pass JSON to /warm-index/staging/.agent-r1b-report.json for
    supervisor traceability; probe LI_CURSOR_AGENTS_ROOT/.secrets for S2_API_KEY.
    Refresh README blocker for code_implementer-1780824180627 (31,680 B / 1 GiB).
    
    Li-Agent-Run: code_implementer-1780824180627
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): bootstrap jq on agent pods without apt packages
    
    Agent environments often lack jq in PATH; install-runtime-deps.sh
    downloads a static binary to .deps/bin/ before warm ingest runs.
    
    Li-Agent-Run: code_implementer-1780824505178
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): python3 OAI XML fallback when xmllint absent on agent pods
    
    Agent pods lack libxml2-utils; arXiv harvest now skips completed sets
    without xmllint and uses python3 for OAI-PMH parsing when needed.
    
    Li-Agent-Run: code_implementer-1780824902552
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): probe org workspace + homelab S2 key drop-in paths
    
    Expand paths.sh secret discovery to org-level workspace and homelab
    mount paths so operator drop-ins unblock R1b without K8s patch. Refresh
    README blocker status for code_implementer-1780825325678 run.
    
    Li-Agent-Run: code_implementer-1780825325678
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): probe warm-index mount for S2 key drop-in
    
    Extend paths.sh to check /warm-index/.secrets and homelab warm-index
    host paths so operators can wire S2_API_KEY beside staging data.
    Bootstrap jq in test-r1b-gate-fixture for agent pods without apt.
    
    Li-Agent-Run: code_implementer-1780825710361
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780826162318
    
    Li-Agent-Run: code_implementer-1780826162318
    Li-Agent-Id: code_implementer
    
    Re-run agent-r1b-pass confirms S2_API_KEY still missing across 32 probed
    paths; staging/s2 at 31,680 B (0% of 1 GiB gate). Operator unblock via #6.
    
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780826583885
    
    Li-Agent-Run: code_implementer-1780826583885
    Li-Agent-Id: code_implementer
    
    Re-run agent-r1b-pass confirms S2_API_KEY still missing across 32 probed
    paths; staging/s2 at 31,680 B (0% of 1 GiB gate). status-warm-index now
    bootstraps jq and prints agent_run_id from ingest state.
    
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * feat(research): enrich R1b agent report with phase checklist
    
    Add phase_checklist and blocker fields to agent-r1b-pass JSON for
    supervisor automation; show warm-index mount free space in status.
    
    Li-Agent-Run: code_implementer-1780827002657
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * test(research): CI agent-r1b report schema + north_star_fit field
    
    Add test-agent-r1b-report.sh to validate agent-r1b-pass JSON on a temp
    warm-index (no network). Include north_star_fit in supervisor report for
    swarm traceability; refresh README blocker for code_implementer-1780827358676.
    
    Li-Agent-Run: code_implementer-1780827358676
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): flock jq bootstrap for concurrent agent pods
    
    Serialize jq download via flock so parallel fixture tests and agent-r1b-pass
    no longer race on .deps/bin/jq.part. Re-verify R1b blocker on agent pass
    code_implementer-1780828039956 (S2_API_KEY still absent; staging/s2=31 KiB).
    
    Li-Agent-Run: code_implementer-1780828039956
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780828399720
    
    Li-Agent-Run: code_implementer-1780828399720
    Li-Agent-Id: code_implementer
    
    S2_API_KEY still absent; staging/s2 at 31,680 B (0% of 1 GiB gate).
    All ingest scripts, state/manifest, and runbook phases complete — gate
    blocked pending operator secret wiring per issue #6.
    
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * feat(research): add warm_index_disk to R1b agent report
    
    Expose warm-index mount free space in agent-r1b-pass JSON for operator
    capacity checks; refresh README blocker for code_implementer-1780828785192.
    
    Li-Agent-Run: code_implementer-1780828785192
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * feat(research): add s2_api_key.probed_paths to R1b agent report
    
    Expose secret probe count in agent-r1b-pass JSON for operator diagnostics;
    re-verify R1b blocker on code_implementer-1780829206187 (S2 key still missing).
    
    Li-Agent-Run: code_implementer-1780829206187
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): add --quiet to discover-s2-key for agent-r1b-pass
    
    agent-r1b-pass.sh calls discover-s2-key --quiet; implement the flag and
    refresh README blocker verification for run code_implementer-1780829634031.
    
    Li-Agent-Run: code_implementer-1780829634031
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780830035672
    
    Re-run agent-r1b-pass on live /warm-index: scripts complete, gate still
    blocked on S2_API_KEY (31,680 B / 1 GiB). arXiv OAI complete.
    
    Li-Agent-Run: code_implementer-1780830035672
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780830392936
    
    Re-run agent-r1b-pass on live /warm-index: scripts complete, gate still
    blocked on S2_API_KEY (31,680 B / 1 GiB). arXiv OAI complete.
    
    Li-Agent-Run: code_implementer-1780830392936
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780830745731
    
    Re-run agent-r1b-pass on live /warm-index: scripts complete, gate still
    blocked on S2_API_KEY (31,680 B / 1 GiB). arXiv OAI complete.
    
    Li-Agent-Run: code_implementer-1780830745731
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780831095049
    
    Li-Agent-Run: code_implementer-1780831095049
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780831477695
    
    Re-run agent-r1b-pass on live /warm-index: S2_API_KEY still missing (33
    probed paths), staging/s2 at 31,680 B (0% of 1 GiB gate). arXiv OAI
    complete; state + manifest written. Operator unblock per deploy/k8s/README.md.
    
    Li-Agent-Run: code_implementer-1780831477695
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780831852034
    
    S2_API_KEY still missing from env and 33 probed secret paths;
    staging/s2 remains sample-only (31,680 B). Gate blocked until
    operator wires secret per deploy/k8s/README.md or issue #6.
    
    Li-Agent-Run: code_implementer-1780831852034
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780832205153
    
    S2_API_KEY still missing from env and 33 probed secret paths;
    staging/s2 remains sample-only (31,680 B). Gate blocked until
    operator wires secret per deploy/k8s/README.md or issue #6.
    
    Li-Agent-Run: code_implementer-1780832205153
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780832549229
    
    Li-Agent-Run: code_implementer-1780832549229
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    ---------
    
    Co-authored-by: default avatarli-org-swarm <org-swarm@li-langverse.dev>
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    Co-authored-by: default avatarli-research-ingest-agent <li-research-ingest@li-langverse.dev>
    2acf77e2
    ops(research): K8s S2 secret patch + R1b gate unblock runbook (#7)
    Julian M. Kleber authored
    
    
    * fix(research): rebase R1b ops onto main (#4) — resolve dirty PR merge
    
    Replay PR-only deltas after #4 merged: K8s S2 secret patch, operator
    wire helper, agent-r1b-pass, parallel S2 downloads, CI gate fixture.
    
    Li-Agent-Run: code_implementer-1780822742420
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(ci): skip branch ref check in R1b gate fixture
    
    PR merge checkouts are detached HEAD without refs/heads/* — set
    R1B_GATE_SKIP_BRANCH=1 in test-r1b-gate-fixture.sh for CI.
    
    Li-Agent-Run: code_implementer-1780822742420
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): derive agent run id from workflow workspace path
    
    Trace supervisor JSON reports to the isolated clone run directory when
    LI_AGENT_RUN_ID is unset; refresh README blocker status for this pass.
    
    Li-Agent-Run: code_implementer-1780822907584
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * feat(research): record agent_run_id in ingest-run-state for R1b traceability
    
    Supervisor can correlate /warm-index/staging/.ingest-run-state.json with
    isolated agent workspace runs; refresh README blocker for this pass.
    
    Li-Agent-Run: code_implementer-1780823328484
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): probe mounted S2 key in r1b-gate + refresh blocker status
    
    r1b-gate.sh now sources paths.sh and reload_s2_api_key so Vault/K8s
    mounts are detected before the byte-gate failure message. README
    blocker updated for code_implementer-1780823705531 (31,680 B / 1 GiB).
    
    Li-Agent-Run: code_implementer-1780823705531
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * feat(research): persist agent-r1b report + probe cursor-agents secrets
    
    Write agent-r1b-pass JSON to /warm-index/staging/.agent-r1b-report.json for
    supervisor traceability; probe LI_CURSOR_AGENTS_ROOT/.secrets for S2_API_KEY.
    Refresh README blocker for code_implementer-1780824180627 (31,680 B / 1 GiB).
    
    Li-Agent-Run: code_implementer-1780824180627
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): bootstrap jq on agent pods without apt packages
    
    Agent environments often lack jq in PATH; install-runtime-deps.sh
    downloads a static binary to .deps/bin/ before warm ingest runs.
    
    Li-Agent-Run: code_implementer-1780824505178
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): python3 OAI XML fallback when xmllint absent on agent pods
    
    Agent pods lack libxml2-utils; arXiv harvest now skips completed sets
    without xmllint and uses python3 for OAI-PMH parsing when needed.
    
    Li-Agent-Run: code_implementer-1780824902552
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): probe org workspace + homelab S2 key drop-in paths
    
    Expand paths.sh secret discovery to org-level workspace and homelab
    mount paths so operator drop-ins unblock R1b without K8s patch. Refresh
    README blocker status for code_implementer-1780825325678 run.
    
    Li-Agent-Run: code_implementer-1780825325678
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): probe warm-index mount for S2 key drop-in
    
    Extend paths.sh to check /warm-index/.secrets and homelab warm-index
    host paths so operators can wire S2_API_KEY beside staging data.
    Bootstrap jq in test-r1b-gate-fixture for agent pods without apt.
    
    Li-Agent-Run: code_implementer-1780825710361
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780826162318
    
    Li-Agent-Run: code_implementer-1780826162318
    Li-Agent-Id: code_implementer
    
    Re-run agent-r1b-pass confirms S2_API_KEY still missing across 32 probed
    paths; staging/s2 at 31,680 B (0% of 1 GiB gate). Operator unblock via #6.
    
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780826583885
    
    Li-Agent-Run: code_implementer-1780826583885
    Li-Agent-Id: code_implementer
    
    Re-run agent-r1b-pass confirms S2_API_KEY still missing across 32 probed
    paths; staging/s2 at 31,680 B (0% of 1 GiB gate). status-warm-index now
    bootstraps jq and prints agent_run_id from ingest state.
    
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * feat(research): enrich R1b agent report with phase checklist
    
    Add phase_checklist and blocker fields to agent-r1b-pass JSON for
    supervisor automation; show warm-index mount free space in status.
    
    Li-Agent-Run: code_implementer-1780827002657
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * test(research): CI agent-r1b report schema + north_star_fit field
    
    Add test-agent-r1b-report.sh to validate agent-r1b-pass JSON on a temp
    warm-index (no network). Include north_star_fit in supervisor report for
    swarm traceability; refresh README blocker for code_implementer-1780827358676.
    
    Li-Agent-Run: code_implementer-1780827358676
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): flock jq bootstrap for concurrent agent pods
    
    Serialize jq download via flock so parallel fixture tests and agent-r1b-pass
    no longer race on .deps/bin/jq.part. Re-verify R1b blocker on agent pass
    code_implementer-1780828039956 (S2_API_KEY still absent; staging/s2=31 KiB).
    
    Li-Agent-Run: code_implementer-1780828039956
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780828399720
    
    Li-Agent-Run: code_implementer-1780828399720
    Li-Agent-Id: code_implementer
    
    S2_API_KEY still absent; staging/s2 at 31,680 B (0% of 1 GiB gate).
    All ingest scripts, state/manifest, and runbook phases complete — gate
    blocked pending operator secret wiring per issue #6.
    
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * feat(research): add warm_index_disk to R1b agent report
    
    Expose warm-index mount free space in agent-r1b-pass JSON for operator
    capacity checks; refresh README blocker for code_implementer-1780828785192.
    
    Li-Agent-Run: code_implementer-1780828785192
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * feat(research): add s2_api_key.probed_paths to R1b agent report
    
    Expose secret probe count in agent-r1b-pass JSON for operator diagnostics;
    re-verify R1b blocker on code_implementer-1780829206187 (S2 key still missing).
    
    Li-Agent-Run: code_implementer-1780829206187
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * fix(research): add --quiet to discover-s2-key for agent-r1b-pass
    
    agent-r1b-pass.sh calls discover-s2-key --quiet; implement the flag and
    refresh README blocker verification for run code_implementer-1780829634031.
    
    Li-Agent-Run: code_implementer-1780829634031
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780830035672
    
    Re-run agent-r1b-pass on live /warm-index: scripts complete, gate still
    blocked on S2_API_KEY (31,680 B / 1 GiB). arXiv OAI complete.
    
    Li-Agent-Run: code_implementer-1780830035672
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780830392936
    
    Re-run agent-r1b-pass on live /warm-index: scripts complete, gate still
    blocked on S2_API_KEY (31,680 B / 1 GiB). arXiv OAI complete.
    
    Li-Agent-Run: code_implementer-1780830392936
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780830745731
    
    Re-run agent-r1b-pass on live /warm-index: scripts complete, gate still
    blocked on S2_API_KEY (31,680 B / 1 GiB). arXiv OAI complete.
    
    Li-Agent-Run: code_implementer-1780830745731
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780831095049
    
    Li-Agent-Run: code_implementer-1780831095049
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780831477695
    
    Re-run agent-r1b-pass on live /warm-index: S2_API_KEY still missing (33
    probed paths), staging/s2 at 31,680 B (0% of 1 GiB gate). arXiv OAI
    complete; state + manifest written. Operator unblock per deploy/k8s/README.md.
    
    Li-Agent-Run: code_implementer-1780831477695
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780831852034
    
    S2_API_KEY still missing from env and 33 probed secret paths;
    staging/s2 remains sample-only (31,680 B). Gate blocked until
    operator wires secret per deploy/k8s/README.md or issue #6.
    
    Li-Agent-Run: code_implementer-1780831852034
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780832205153
    
    S2_API_KEY still missing from env and 33 probed secret paths;
    staging/s2 remains sample-only (31,680 B). Gate blocked until
    operator wires secret per deploy/k8s/README.md or issue #6.
    
    Li-Agent-Run: code_implementer-1780832205153
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    * docs(research): verify R1b blocker on agent pass code_implementer-1780832549229
    
    Li-Agent-Run: code_implementer-1780832549229
    Li-Agent-Id: code_implementer
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    
    ---------
    
    Co-authored-by: default avatarli-org-swarm <org-swarm@li-langverse.dev>
    Co-authored-by: default avatarCursor <cursoragent@cursor.com>
    Co-authored-by: default avatarli-research-ingest-agent <li-research-ingest@li-langverse.dev>
Loading