fleet-memory/scripts
Nicolò Boschi 55af468187
feat: observation_scopes field to drive observations granularity (#447)
* feat: observation_scopes field to drive observations granularity

* fix(migration): make a2b3c4d5e6f7 a no-op to fix CI on fresh DB

The z1u2v3w4x5y6 migration already creates observation_scopes directly,
so the rename migration fails on fresh installs where observation_tags
never existed.

* chore: remove no-op migration a2b3c4d5e6f7

* feat: regenerate clients with observation_scopes field

- Add observation_scopes to OpenAPI spec and all generated clients
- Fix Rust build.rs to handle anyOf with >2 variants containing null
  (previously only handled 2-item anyOf, causing progenitor to panic
  on the observation_scopes union type)

* fix(rust): add observation_scopes: None to MemoryItem struct literals

* fix(api): add title to observation_scopes Field for deterministic client generation

Adding title="ObservationScopes" makes the inline anyOf schema use
the explicit name instead of deriving it from the field name, which
was non-deterministic between arm64 (macOS) and amd64 (CI) Docker.

Also fixes description: "each entity" -> "each tag".

* fix(scripts): use linux/amd64 Docker for client generation to ensure reproducibility

Both Python and Go client generation now use --platform linux/amd64
Docker, ensuring identical output on macOS arm64 (local) and Linux
amd64 (CI). Also switches Go from JAR+Java to Docker to eliminate
Java version variability.

* chore: update generated clients to API v0.4.14

* fix(test): add retry logic to test_retain_chinese_content to handle non-deterministic LLM output

* fix(test): mark test_retain_chinese_content as xfail due to non-deterministic LLM translation
2026-02-28 10:46:21 +01:00
..
benchmarks fix: improve async batch retain with large payloads (#366) 2026-02-16 12:51:42 +01:00
dev feat: increase customization for reflect, retain and consolidation (#419) 2026-02-23 20:35:32 +01:00
hooks feat: add max_tokens and structured output to /reflect (#74) 2026-01-01 17:09:39 +01:00
generate-clients.sh feat: observation_scopes field to drive observations granularity (#447) 2026-02-28 10:46:21 +01:00
generate-docs-skill.sh feat: add docs skill (#335) 2026-02-10 14:41:51 +01:00
generate-openapi.sh doc: changelog for 0.2.0 (and regenerate clients) (#99) 2026-01-05 12:36:29 +01:00
release.sh chore: integrate chat with release (#443) 2026-02-26 17:38:51 +01:00
run-upgrade-tests.sh ci: add upgrade tests (#200) 2026-01-26 15:25:30 +01:00
setup-hooks.sh feat: support for gemini-3-pro and gpt-5.2 (#30) 2025-12-16 11:00:27 +01:00
sync-cookbook.sh bump pg0 0.11.x and improve documentation (#33) 2025-12-16 13:33:01 +01:00
test-doc-examples.sh feat: use official go generator for Go client (#377) 2026-02-16 14:04:12 +01:00
update-docs-version.sh feat: add docs skill (#335) 2026-02-10 14:41:51 +01:00