Skip to content

feat(deploy): scheduled skill-evolution Cloud Run Job (agentic wrapper for scripts/skill_evolution.py) - #472

Merged
haiyuan-eng-google merged 8 commits into
GoogleCloudPlatform:mainfrom
evekhm:feat/skill-evolution-job
Sep 4, 2026
Merged

haiyuan-eng-google merged 8 commits into
GoogleCloudPlatform:mainfrom
evekhm:feat/skill-evolution-job

Conversation

@evekhm

@evekhm evekhm commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Scheduled skill-evolution Cloud Run Job

Adds deploy/skill_evolution_job/: a scheduled Cloud Run Job that wraps
scripts/skill_evolution.py in an agentic orchestrator (ADK agent + tools)
so any agent repo can run continuous skill evolution — quality report from
BigQuery agent_events → bottleneck analysis → candidate evolution →
publish gate → GitHub PR — on a weekly Cloud Scheduler cron, without
copying lab-specific code into the SDK.

What's included

  • deploy/skill_evolution_job/ — job package (config.py, registry.py,
    hooks.py, engine.py, evolve.py, coevolve.py, bottleneck.py,
    tools.py, agent.py, main.py, skill instructions), Dockerfile,
    deploy.sh (job + scheduler + least-privilege IAM), example agent
    registry, README.
  • docs/guides/scheduled-skill-evolution.md — user guide.
  • tests/test_skill_evo_job_{engine,orchestrator,registry,tools}.py —
    58 unit tests (no cloud dependencies).
  • README index updates (deploy/, docs/, scripts/).

Host-hook seam

The job is generic; repo-specific behavior is injected by an optional
EVOLUTION_HOOKS=<module> from the target repo's clone. Supported hooks
(all optional, each with a safe default): traffic (generate baseline
sessions), score (candidate scoring), gate (publish gate),
toolbox (tool descriptions for error analysts), error_analyst
(per-failure analysis), publish (post-PR registry push). Without hooks
the job runs pure BigQuery-report-driven evolution with the engine's
built-in scoring.

engine.py calls the engine via evolve_skill_compat, which
feature-detects the newer evolve_skill kwargs (error_analyst_fn,
incumbent_score, analyst_timeout_s) so the job runs against both
current main and engines that already have the agentic-analyst
extensions (#395).

Verification

  • Unit tests: 58/58 green on Python 3.12 and 3.10.

  • Image smoke test (deployed to Cloud Run, project
    skill-evolution-lab): SELF-TEST PASS in execution logs; in-cloud
    engine kwarg introspection confirms compat dispatch. Image pip-freeze
    archived (verification run 2026-08-31_231900, image_pip_freeze.txt).

  • Local E2E parity against a real agent repo
    (evekhm/skill-evolution-lab, three-agent HR knowledge supervisor,
    hooks adapter only — no lab code in the SDK), reproducing the lab's
    recorded lite_local scenario:

    Leg Recorded (lab tooling) Reproduced (SDK job)
    Evolve set V0 (13q) 38.5% 46.2%
    Evolve set winner (13q) 100.0% 100.0%
    Held-out exam V0 (55q) 38.2% 41.8%
    Held-out exam V1 (55q) 98.2% 100.0%
    Exam delta +60.0pp +58.2pp
    PR preview (dry-run path) yes yes

    Baselines differ by 1–2 conversations because traffic is regenerated
    and judged live per run; end states match.

  • Deployed E2E (full loop in Cloud Run: traffic against deployed
    Agent Engine agents → BigQuery quality report → evolve → gate → real
    GitHub PR → registry publish):

    Leg Recorded (lab tooling) Reproduced (SDK job)
    Evolve set V0 (13q) 23.1% 23.1%
    Winner (13q) 69.2% 100.0
    Publish gate 10/10 pass (10 passed, 1 skipped, 1 xfailed, 1 xpassed)
    Real PR opened yes (Proposal: Automated Agent Quality Scorecard #63) yes (Refactor: Rename CodeEvaluator to SystemEvaluator #121)
    Post-PR registry publish (host hook) yes yes (supervisor v1 pushed)

Smoke transcript excerpt

==> running smoke execution (--smoke): --test self-test
==> execution: bqaa-skill-evolution-fjh24
==> smoke OK: SELF-TEST PASS found in execution logs

Notes for reviewers

  • deploy.sh grants the runtime SA dataset-level
    roles/bigquery.dataViewer only (the job never writes events) and
    wires GH_TOKEN from Secret Manager; --github-repo unset = dry-run
    mode (no PRs).
  • TABLE_ID (default agent_events) is plumbed through deploy.sh
    because scripts/quality_report.py requires it.
@evekhm

evekhm commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Known follow-ups found during E2E verification (kept out of this PR to keep it reviewable):

  • create_evolution_pr swallows git add/commit failures — a failed commit still opens a PR (empty-PR risk). It should fail loudly when the commit produced no diff.
  • PR title trusts the orchestrator's meaningful_rate argument — in both deployed E2E runs the agent passed the rate from a post-publish quality report with zero fresh sessions, producing titles like "23.1% -> 0%" while the winner actually scored 100.0. create_evolution_pr should prefer the recorded evolved_score.json over the passed argument.
  • EVOLUTION_CANDIDATES=2 yielded 3 scored candidates in both cloud runs — binding between the env knob and the engine's candidate count needs a look.
  • Registry-dict helper placement — bottleneck._registry_agents belongs in registry.py with the other registry accessors.

The silent-None score path flagged during diagnosis (score-hook error dicts becoming "unmeasurable (preflight exclusions)" with no detail) is already fixed in this PR.

… add --scripts-dir

Verified end-to-end against a host repo through the EVOLUTION_HOOKS seam
(report-driven lite scenario, 13q evolve set, 55q held-out exam), which
surfaced these defects in the job:

- EVOLUTION_CANDIDATES and EVOLUTION_MAX_ROUNDS were advisory: the
  orchestrator could pass its own candidate count and call run_evolution
  again per agent past the cap. Both are now enforced in the tools
  (per-agent round guard, env override with a warning on mismatch).
- config.workdir_or_none rejected git worktrees (.git is a file there),
  which emptied the agent registry and made `--mode <agent>` fail with an
  opaque "invalid choice". Use os.path.exists; the --mode help now names
  the registry load error.
- create_evolution_pr took the "evolved" figure from whichever quality
  report was newest; a post-round host re-report of the still-deployed
  incumbent produced a wrong PR title. The winner score now comes from
  evolved_score.json (with the matching candidate report when present),
  run_quality_report flags an identical prior report as stale, and
  git add/commit exit codes are checked.
- deploy.sh --scripts-dir lets a host bake a pinned engine
  (skill_evolution.py / quality_report.py) instead of this branch's copy;
  README documents the engine feature-detection and the binding env vars.
- registry.agents_summary() replaces the private bottleneck._registry_agents
  that coevolve imported across modules.

Tests: 17 new unit tests; tests/test_skill_evo_job_*.py 75 passed.
… round guard

Second-pass review findings on the previous commit:

- The PR/issue title compared the host's baseline report against the
  winner's eval-set selection score with no marker when the two covered
  different session sets (26 BigQuery sessions vs a 13-question eval set
  in the lab's deployed runs). _collect_quality_metrics now records both
  session counts and a denominators_differ flag with a reason; titles,
  commit messages and bodies use it (the PR body gains Sessions and
  Evolved-figure-source rows), alongside the existing exclusion check.
- The EVOLUTION_MAX_ROUNDS guard keyed run_evolution on the raw skill_dir
  string, so "dir/" bought a second round; keyed on os.path.realpath.
- A failed run_evolution / run_coevolution consumed its round, leaving
  the agent refused after a transient error; _round_release gives it back
  on the error path.
- run_quality_report staleness compared only total_sessions/meaningful;
  reports that list sessions are now compared by session id, the count
  pair is the fallback for reports without one.
- deploy.sh: the missing-scripts error no longer blames --scripts-dir when
  the flag was not given.

Tests: 78 passed (tests/test_skill_evo_job_*.py).
@evekhm-odyssey-bot

Copy link
Copy Markdown
Contributor

Odyssey review

Reviewed-head: 4a13d98

Summary and verdict. deploy/skill_evolution_job is a generic Cloud Run job (ADK orchestrator plus tools around scripts/skill_evolution.py) that a host repo wires in through EVOLUTION_HOOKS (traffic, score, gate, toolbox, error_analyst, publish). I verified it end-to-end against the host repo it was extracted from (evekhm/skill-evolution-lab, PR #127), first at bd534d6 as shipped and then with the fixes now in 626d8fd and 4a13d98. It works end-to-end, it covers the lab's loop (traffic, judge, gate, best-of-N candidates with real scoring, PR preview or real PR, registry publish), and at 4a13d98 it meets the repo's standards (pyink and isort clean, Apache headers, 78 tests green). Sign-off from my side, comment only. Two documented limitations remain (L1, L2 below) and neither blocks.

End-to-end runs, with sources

Run Engine Evolve set V0 (13q) Winner (13q) Held-out V0 (55q) Held-out V1 (55q) Publish
lite_local 2026-09-01 (2026-09-01_003040_lite_local_e2e) lab-stable (pinned) 46.2% (6/13) 100.0% 41.8% (23/55) 100.0% (55/55) dry run, pr_preview.md
lite_local 2026-09-04 (2026-09-03_233649_sdk472_lite_local_upstream_engine) this branch's scripts/ (upstream) 30.8% (4/13) 100.0% (both candidates) 41.8% (reference reused) 100.0% (55/55) dry run, pr_preview.md title 30.8% -> 100.0%
lite_deployed 2026-09-01 (execution bqaa-skill-evolution-vgbcp) lab-stable 23.1% 100.0 not run by the job not run by the job real PR (lab #121), registry push v1
lite_deployed 2026-09-03 (execution bqaa-skill-evolution-j4z2m) lab-stable 23.1% 100.0% (+73.1pp) not run by the job not run by the job real PR (lab #126), registry push v2

The held-out exam is host-side by design (the job scores the evolve set only); the host reruns it after the job. Held-out V0 is measured once and reused, not re-measured per run. Elapsed for the 2026-09-04 run: job step 19.7 min (5.7 min of it is the engine re-scoring V0 itself, see L1), 55q exam 19.1 min. Log excerpts are in the lab's docs/SDK_JOB_E2E.md on PR #127.

Defects found by the runs and fixed in 626d8fd (each was reproduced before the fix)

  • config.workdir_or_none used os.path.isdir(<workdir>/.git); a git worktree has a .git file, so the registry never loaded and --mode supervisor failed with argument --mode: invalid choice: 'supervisor' (choose from 'auto', 'coevolve'). Now os.path.exists, and the --mode help names the registry error.
  • EVOLUTION_CANDIDATES and EVOLUTION_MAX_ROUNDS were advisory. Two cloud runs with EVOLUTION_CANDIDATES=2 produced 3 scored candidates, and execution j4z2m ran a second round the caller had not asked for. Now evolve.resolve_candidates lets the env value win (warning on mismatch) and tools._round_guard refuses run_evolution per agent and run_coevolution past the cap.
  • create_evolution_pr took the evolved figure from the newest quality report. After a round, the host re-report measured the still-deployed incumbent and the PR title came out as 23.1% -> 26.9% (lab PR feat: retry-on-gate-failure orchestrator for compiled extractors (#75 PR 4b.2.2.c.2) #126) while evolved_score.json held 100.0. Now _authoritative_evolved_score is the source, run_quality_report marks an identical prior report stale: true, and SKILL.md tells the orchestrator not to treat a stale re-report as a delta.
  • create_evolution_pr ignored git add / git commit exit codes. Both are checked and return an error dict.
  • deploy.sh --scripts-dir DIR bakes a host-pinned engine (skill_evolution.py, quality_report.py, eval/eval_config.json) instead of this branch's copies; it fails early when the three files are missing.
  • bottleneck._registry_agents moved to registry.agents_summary() (coevolve imported the private helper across modules).

These close the four follow-ups listed in the 2026-09-01 comment on this PR.

Limitations that remain, documented rather than fixed here

  • L1. This branch ships upstream main's scripts/skill_evolution.py, which lacks error_analyst_fn, incumbent_score, and tools (SDK skill_evolution: host integration hooks (analyst fn, incumbent score, richer trajectories) #395 is still open). engine.evolve_skill_compat feature-detects and logs does not support kwargs ['error_analyst_fn', 'incumbent_score'] — dropping them; the job then runs single-pass analysts and the engine re-scores V0 itself (46.2% in its own traffic against the report's 30.8%, same 13 questions, live judge). The loop still completes and the README now states this. Hosts that need the agentic analysts pass --scripts-dir.
  • L2. The 2026-09-04 run exercised the fixes for the worktree check, candidate binding, the PR-title source and the round guard locally with EVOLUTION_PUBLISH=0. --scripts-dir was checked with bash -n and the unit tests, not by a rebuild, because a cloud rerun opens a real PR and pushes to the host's registry.

Security. No credentials, project numbers, or host paths in the diff. Tool results and subprocess stderr still pass through config.mask_tokens (unchanged from bd534d6); the new error dicts from create_evolution_pr do too.

Second pass on 626d8fd, fixed in 4a13d98 (an independent adversarial pass over the first fix commit; each item was reproduced before the fix)

  • The PR/issue title compared the host's baseline report against the winner's eval-set selection score with no marker when the two covered different session sets (26 BigQuery sessions vs 13 eval questions in the lab's deployed runs). _collect_quality_metrics now records both session counts and a denominators_differ flag with the reason; titles, commit messages and bodies use it, and the PR body gains Sessions and Evolved figure source rows.
  • The round guard keyed on the raw skill_dir string, so dir/ bought a second round past EVOLUTION_MAX_ROUNDS. Keyed on os.path.realpath now.
  • A failed run_evolution / run_coevolution consumed its round, leaving the agent refused after a transient error. _round_release gives it back on the error path.
  • Staleness in run_quality_report compared only total_sessions / meaningful. Reports that list sessions are now compared by session id; the count pair is the fallback for reports without one.
  • deploy.sh blamed --scripts-dir in the missing-scripts error even when the flag was not given.

Suggestions (not blocking, owner's call)

  1. deploy.sh creates the Cloud Scheduler trigger ENABLED. With --github-repo + --gh-secret that means unattended weekly real PRs and registry pushes from the first Monday after deploy; in the lab project the trigger is live right now. A --paused flag, or pausing by default when EVOLUTION_PUBLISH=true, would make the first fire an explicit act.
  2. deploy.sh still runs an inline python3 -c check and a Python heredoc for the dataset IAM grant (pre-existing, not touched by 626d8fd or 4a13d98). The rest of the repo keeps Python in .py files.

Checked and clean at 4a13d98: pyink --check and isort --check-only on every changed .py; bash -n deploy.sh; pytest tests/test_skill_evo_job_*.py 78 passed; grep -rn _registry_agents deploy/skill_evolution_job empty; engine.evolve_skill_compat feature detection against both engine shapes; registry_path() resolution of a relative AGENT_REGISTRY against the runtime workdir.

Reviewed 4a13d98.

— Odyssey · Claude on Vertex AI

…; doc fixes

- _collect_quality_metrics and the PR-body failure sample took the
  alphabetically first *_quality_report.json as the baseline, so a
  best_v1_ or evolved_ report became the "before" figure. The baseline
  is now the oldest report by mtime, excluding the evolved report.
- deploy.sh --gcs-bucket set EVOLUTION_GCS_BUCKET but never GCS_UPLOAD,
  so upload_run_to_gcs always returned "skipped". It now sets both.
- README: deploy.sh uses --set-env-vars, which replaces overrides made
  with --update-env-vars; say so. `--mode bottleneck` does not exist
  (auto does the classification); the SKILL_EVOLUTION_MODEL_ID /
  EVOLUTION_MODEL_ID rows were swapped relative to config.py and
  agent.py.
- Bare int() on env vars (BOTTLENECK_WORKERS, HOOK_CMD_TIMEOUT_S,
  EVOLUTION_MIN_OPEN_ISSUES, MIN_FAILURES) now go through
  config._env_int; --candidates 0 / --rounds 0 bind instead of being
  ignored by a truthiness check.
- 2 tests: baseline picked by mtime not name; non-integer MIN_FAILURES
  falls back to the default.
@evekhm-odyssey-bot

Copy link
Copy Markdown
Contributor

Odyssey review (addendum)

Reviewed-head: 655cf7f

A third pass over the first review's remaining low- and medium-severity items, fixed in 655cf7f. The sign-off above stands at this head; nothing here changes the verdict. Each item was confirmed against the code before the fix.

  • _collect_quality_metrics and the PR-body failure sample took the alphabetically first *_quality_report.json as the baseline. A best_v1_ or evolved_ report sorts before v0_, so a run that writes one would report the evolved figure as "before". The baseline is now the oldest report by mtime, excluding the report chosen as evolved. Test: test_collect_quality_metrics_baseline_picked_by_mtime_not_name.
  • deploy.sh --gcs-bucket set EVOLUTION_GCS_BUCKET but never GCS_UPLOAD, and upload_run_to_gcs returns status: skipped unless GCS_UPLOAD=true, so the flag never uploaded anything. deploy.sh now sets both; README says so.
  • README told operators to tune with gcloud run jobs update --update-env-vars, while deploy.sh deploys with --set-env-vars, which replaces the whole set on the next run. README now says the overrides are lost on redeploy.
  • README and docs/guides/scheduled-skill-evolution.md documented --mode bottleneck; main.py accepts auto, coevolve, and registry agent names, and the classification is what auto does. Docs now say --mode auto. The SKILL_EVOLUTION_MODEL_ID / EVOLUTION_MODEL_ID rows were swapped relative to agent.py:65 (orchestrator's own model) and tools.py:157 (engine model); corrected.
  • Bare int() on BOTTLENECK_WORKERS, HOOK_CMD_TIMEOUT_S, EVOLUTION_MIN_OPEN_ISSUES, MIN_FAILURES now go through config._env_int, so a malformed value logs and falls back instead of crashing the job. --candidates 0 / --rounds 0 bind instead of being dropped by a truthiness check. Test: test_count_failures_non_integer_min_failures_env_falls_back.

Not changed, still the owner's call: the ENABLED scheduler default and the inline Python in deploy.sh (suggestions 1 and 2 above); the upstream engine's missing kwargs (L1). The GCS_UPLOAD wiring joins --scripts-dir under L2: checked with bash -n and by reading gcs_utils.py, not by a redeploy.

Checked at 655cf7f: pyink --check and isort --check-only on deploy/skill_evolution_job and tests/test_skill_evo_job_*.py (18 files unchanged); bash -n deploy.sh; pytest tests/test_skill_evo_job_*.py 80 passed; diff scanned for paths, project numbers and service hashes, none.

Reviewed 655cf7f.

— Odyssey · Claude on Vertex AI

@caohy1988 caohy1988 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fresh review of 655cf7f753c5597aebb597792d0e8e40b3294f01, including integration with #395 at 6378d7ba8a3ce33712dac90224b91b1d6dae86b1.

Requesting changes: 5 P1 and 9 P2 findings, detailed in the inline comments. The highest-priority fixes are comparable incumbent/candidate scoring, restoration after scoring failures, gating the actual published tree, safe command substitution, and surfacing report failures as job failures.

Validation: the four focused job test files pass (80 tests, Python 3.13.5). All current CI checks completed successfully or were skipped. Additional local checks reproduced the cross-engine scoring regression, failed-scorer retry behavior, checked-vs-committed tree mismatch, report-error success path, path substitution/exit-code behavior, target binding, parroted-failure mismatch, and missing single-candidate score records. Proposed findings received a separate validation pass.

Coverage limits: no live Cloud Run, IAM, BigQuery, Vertex AI, or GitHub publish execution was performed. Git fixtures used real local operations with push/PR creation mocked. Add integration tests for these boundaries alongside the fixes.

Comment thread deploy/skill_evolution_job/README.md Resolved
Measure incumbents and candidates on the same evaluation set, restore
failed scoring attempts, reject unusable scores, and record selected
outcomes. Enforce report errors, target bindings, and the default round
limit. Quote command-hook arguments and preserve process metadata.
Gate the actual publication commit and retain nested registry paths.

Add offline engine, shell, and real Git regression coverage for all
14 review findings.
@caohy1988

Copy link
Copy Markdown
Collaborator

Requesting changes: 5 P1 and 9 P2 findings, detailed in the inline comments.

All 14 findings are addressed in 366379e, with the branch updated to current main, including #395 and #470. Each original thread contains its fix and regression evidence.

  • Scoring measures incumbents and candidates on the same evaluation set, rejects unusable results, restores failed attempts, and records the deployed outcome even for one candidate or omitted artifact directories.
  • Report failures remain job failures; target restrictions and the default two-round limit are enforced by the tools.
  • Command hooks quote values once, reject unsafe substitution contexts, use the host checkout, and preserve actual exit status.
  • Publication gates the selected commit on its actual base, preserves nested registry paths, and restores the original checkout and index after failures.

Validation: 4,924 tests passed, 56 skipped, including all 213 skill-evolution job tests, on Python 3.13.5. Formatting, notebook synchronization, and sdist/wheel builds passed. Independent review included shell injection reproductions, real-engine score selection, and real local Git publication failures.

The configured gate still controls dependency acceptance; documented None and explicit no-hook GATE_POLICY=skip behavior are preserved. Live Cloud Run, IAM, BigQuery, and Vertex AI execution was not repeated for this revision.

GitHub CI also passed on this exact commit: Python 3.10, 3.11, 3.12, 3.13, and 3.14, formatting, browser smoke, security checks, and package build.

@caohy1988 caohy1988 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the fixes for all 14 findings in 366379e. Every original thread has a submitted reply and is resolved. The full local suite passed (4,924 tests; 56 skipped), and all CI checks, including Python 3.10–3.14 and the package build, passed on this commit. Independent review and regressions cover score comparability/restoration, command injection, job failure signaling, target/round limits, and exact-tree publication.

No remaining blocking findings from this review. Live Cloud Run/BigQuery/Vertex execution was not repeated.

@haiyuan-eng-google
haiyuan-eng-google merged commit 93f1b2f into GoogleCloudPlatform:main Sep 4, 2026
15 checks passed
caohy1988 added a commit that referenced this pull request Sep 5, 2026
…luators

Version bump 0.5.1 -> 0.5.2 and the changelog cut for everything merged
since v0.5.1 (2026-08-29), 19 commits.

In the wheel: the versioned EvalBench import pipeline (#451-#453: immutable
snapshots with the W0.4 failed-session contract, the version-pinned
failed_sessions view, evalbench-score), the native agent_events snapshot
writer (#464), the failure taxonomy frozen at G1 v0.1.0 and its span-level
localisation layer with persisted span labels (#467, #470), the evaluator
API unification behind PerformanceEvaluator with compatibility aliases
(#123), and the canonical metric factories plus opt-in policy scorecard
(#91). Repo side: skill-evolution host hooks and auditable patch provenance
(#395, #477), the scheduled skill-evolution Cloud Run Job (#472), the OKF
adapter example (#474), the AgentForensics Week 0 freeze and sealed
preregistration (#435, #473), and the EvalBench demo and CLI-discoverability
follow-ups.

Entries the Unreleased section lacked are added in this cut: #91, #123 (its
bullets move under Changed with the PR number), #395, #472, #474, #476.
caohy1988 added a commit that referenced this pull request Sep 5, 2026
scripts/skill_evolution.py is not in the wheel (which ships only
src/bigquery_agent_analytics and src/bigquery_ontology), so the #395 and
#397 entries move from Added to their own repo-side section, matching the
Deploy section this cut already uses for #472.
haiyuan-eng-google pushed a commit that referenced this pull request Sep 5, 2026
…478)

* chore(release): 0.5.2 — EvalBench snapshots, G1 taxonomy, unified evaluators

Version bump 0.5.1 -> 0.5.2 and the changelog cut for everything merged
since v0.5.1 (2026-08-29), 19 commits.

In the wheel: the versioned EvalBench import pipeline (#451-#453: immutable
snapshots with the W0.4 failed-session contract, the version-pinned
failed_sessions view, evalbench-score), the native agent_events snapshot
writer (#464), the failure taxonomy frozen at G1 v0.1.0 and its span-level
localisation layer with persisted span labels (#467, #470), the evaluator
API unification behind PerformanceEvaluator with compatibility aliases
(#123), and the canonical metric factories plus opt-in policy scorecard
(#91). Repo side: skill-evolution host hooks and auditable patch provenance
(#395, #477), the scheduled skill-evolution Cloud Run Job (#472), the OKF
adapter example (#474), the AgentForensics Week 0 freeze and sealed
preregistration (#435, #473), and the EvalBench demo and CLI-discoverability
follow-ups.

Entries the Unreleased section lacked are added in this cut: #91, #123 (its
bullets move under Changed with the PR number), #395, #472, #474, #476.

* chore(release): file the skill-evolution bullets as repo-side

scripts/skill_evolution.py is not in the wheel (which ships only
src/bigquery_agent_analytics and src/bigquery_ontology), so the #395 and
#397 entries move from Added to their own repo-side section, matching the
Deploy section this cut already uses for #472.
haiyuan-eng-google pushed a commit that referenced this pull request Sep 24, 2026
… audit) (#493)

- SDK.md: get_section() matches section *titles* (case-insensitive),
  not snake_case keys — "task_areas"/"friction_analysis" returned None;
  use the real titles ("Task Areas", "Friction Analysis") and list the
  seven real section titles from insights.py.
- SDK.md + memory_service_demo.ipynb: search_memory() returns ADK
  SearchMemoryResponse whose MemoryEntry has content/custom_metadata/
  id/author/timestamp — no .key/.value; iterate entry.content.parts.
- SDK.md: extract_response_text() takes one argument (content), not
  (content, event_type).
- README.md: deploy/ ships six deployment surfaces, not four
  (deploy/README.md lists six; #472 added the sixth).
- examples/context_graph/periodic_materialization/README.md: backfill
  mode shipped in 0.3.2 (#188) — stop deferring it as a future
  --backfill --from/--to mode; document the real invocation.
- docs/sdk_usage_tracking.md: add the live eval-performance value to
  the sdk_feature label enumeration (client.py:2278).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants