Skip to content

feat(ledger): holon-jsonld-lineage on download_report_bundle - #284

Merged
jfrench9 merged 1 commit into
mainfrom
feature/lineage-bundle-alias
Oct 23, 2026
Merged

jfrench9 merged 1 commit into
mainfrom
feature/lineage-bundle-alias

Conversation

@jfrench9

Copy link
Copy Markdown
Member

Summary

download_report_bundle gains the short alias "holon-jsonld-lineage" for the lineage holon: the holon with its #lineage graph, the ledger lines, entries and events behind every frozen figure. Until now a caller had to pass the GraphQL enum name, which the robosystems demos do (robosystems #1933), and a download whose response named no file landed with a .tavi.json extension.

Changes

  • robosystems_client/clients/ledger_client.py: "holon-jsonld-lineage" → HOLON_JSONLD_LINEAGE in the format aliases; a nameless lineage download lands as .lineage.holon.jsonld; the docstring lists the format and its enum name.
  • tests/test_ledger_client.py: the alias sends the enum, and the fallback filename takes the lineage extension.

Compatibility

Additive, generated tier untouched. A client minor; the enum has been in the generated schema since the lineage format shipped. Pairs with robosystems-typescript-client's docs change for the same format.

Testing

just test-all: 733 passed, 17 skipped; ruff, format and basedpyright clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_015PxYaVzrbraKFeRALM7rXp

The lineage holon (the holon with its #lineage graph: the ledger lines,
entries and events behind every frozen figure) had no short alias, so a
caller had to pass the GraphQL enum name, and a download whose response
named no file landed as .tavi.json. "holon-jsonld-lineage" now maps to
HOLON_JSONLD_LINEAGE, a nameless download lands as .lineage.holon.jsonld,
and the docstring lists the format.

Claude-Session: https://claude.ai/code/session_015PxYaVzrbraKFeRALM7rXp
@jfrench9
jfrench9 merged commit 5bb9f9f into main Oct 23, 2026
6 checks passed
@jfrench9
jfrench9 deleted the feature/lineage-bundle-alias branch October 23, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant