You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 811d645
Browse filesBrowse the repository at this point in the historyBrowse files
feat: a report fact's own provenance and frozen_at on the envelope (#271)
## Summary
Regenerated against the local stack running robosystems
`feature/fact-lineage-surface`
(RoboFinSystems/robosystems#1898): the
Information Block envelope's fact row now carries the fact's own
provenance descriptor and when its column froze, so a reader of
`reportPackage` / `informationBlock` can drill from a figure to how it
was made. Waits on the robosystems release that carries #1896, #1897 and
#1898 — the next after v1.19.4; the fields are null from a server
without them.
## Changes
- **Regenerated SDK** — `FactLite` gains `provenance` (the fact's own
`FactProvenance` descriptor, as an opaque object discriminated on
`origin`, modelled as `FactLiteProvenanceType0`) and `frozen_at`; the
`regenerate-report` and `file-report` operation descriptions follow the
column freeze (a filed report states closed periods only; a regenerate
rewrites live columns and keeps frozen ones).
- **GraphQL SDL snapshot** — `InformationBlockFact.provenance: JSON` and
`frozenAt: DateTime`; `just generate-graphql` run, `generated/`
unchanged (no operation document reads the new fields yet).
- No hand-written changes.
## Compatibility
ADDITIVE — two new optional fields on a generated-tier model and
description-only changes on two operations. Nothing in the stable tier
(facades, the integration template's emit path) moves. A client minor
(2.25.0) once released; the version bump stays with the release
dispatch.
## Testing
- `just generate-sdk` and `just generate-graphql` against the rebuilt
local stack; the drift gate's inputs (`schema.graphql`, `generated/`)
are committed.
- `just test` (ruff, format, basedpyright, pytest): 714 passed, 17
skipped — run by the pre-commit hook on this commit.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_013UXnatpnbiixt1ZVHfdZAP
Copy file name to clipboardExpand all lines: robosystems_client/graphql/schema.graphql
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4047,6 +4047,16 @@ type InformationBlockFact {
4047
4047
"""historical | in_scope"""
4048
4048
factScope: String!
4049
4049
factSetId: String
4050
+
4051
+
"""
4052
+
The fact's own typed `FactProvenance` descriptor (discriminated on `origin`): a `pivot` names the accounts that foot to it, a `rollup` the concepts and weights it summed, a `derived` value its computations and the amounts by part. Null means unknown, never the set's descriptor.
4053
+
"""
4054
+
provenance: JSON
4055
+
4056
+
"""
4057
+
When the fact's column froze: its period fully closed, so the value is the record. Null is a live column that follows the books.
0 commit comments