Skip to content

Commit f10dbc4

Browse files
Merge validated session fix and refresh graph cache evidence
2 parents 356aa8a + 8f210d4 commit f10dbc4

12 files changed

Lines changed: 1560 additions & 17 deletions

‎BENCHMARKS.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ interpretation and do not count as additional benchmark-quality gains.
9494
### Public numeric evidence registry
9595

9696
Every exact public aggregate retained below comes from the checked-in, public-safe
97-
[`offline-fixtures-v113.json`](docs/benchmark-evidence/offline-fixtures-v113.json) artifact. Its
97+
[`offline-fixtures-v115.json`](docs/benchmark-evidence/offline-fixtures-v115.json) artifact. Its
9898
SHA-256 is
99-
`7c36af2ac3a0e1338987eddf27160879012cd9d2c834fd348268f420d14a7761`, also recorded in the
99+
`4d2cd6be29324597f0b201f8c0bd753173be69d24a274dff570c95c0db6ae629`, also recorded in the
100100
adjacent `.sha256` file. The artifact contains no raw questions, answers, prompts, customer data,
101101
or per-record content fingerprints.
102102

103103
The fixture-suite digest is
104-
`cbbfd2b6dde7737f9c8c3417111c4c4804bd280e313f1a0e4a435076fc6bb517`. The artifact defines
104+
`ddf3b70d426441a364ef02967f98454435ca045c3840e1c4b81ba05ab7f139bb`. The artifact defines
105105
the digest algorithm and records the SHA-256 of every suite and dataset file. Each evidence ID
106106
also binds its exact command through `sha256(UTF-8 exact command)`:
107107

@@ -123,10 +123,10 @@ Historical LoCoMo, graph, handoff, consolidation, and security figures remain pr
123123
source artifacts but are omitted from the current chart until each has a matching immutable,
124124
public-safe artifact. The chart labels coding outcomes, external datasets, and operational
125125
capacity as pending evaluation tracks rather than implying scores. Regenerate it with
126-
`python scripts/render_benchmark_report.py --report docs/benchmark-evidence/offline-fixtures-v113.json --output docs/images/context-efficiency.svg` after selecting the report to publish.
126+
`python scripts/render_benchmark_report.py --report docs/benchmark-evidence/offline-fixtures-v115.json --output docs/images/context-efficiency.svg` after selecting the report to publish.
127127

128128
The companion examples are also generated from that artifact with
129-
`python -m scripts.render_benchmark_examples --report docs/benchmark-evidence/offline-fixtures-v113.json --output docs/images/evidence-backed-agent-examples.svg`.
129+
`python -m scripts.render_benchmark_examples --report docs/benchmark-evidence/offline-fixtures-v115.json --output docs/images/evidence-backed-agent-examples.svg`.
130130
The historical-to-executable mapping is in
131131
[`docs/BENCHMARK_CHANGE_COVERAGE.md`](docs/BENCHMARK_CHANGE_COVERAGE.md).
132132

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ neither is an end-to-end question-answer score. Coding outcomes, external datase
8484
operational capacity remain separate pending evaluation tracks until their artifacts are selected.
8585

8686
These values are evidence IDs `offline-chunking` and `offline-performance` in
87-
[`offline-fixtures-v113.json`](https://github.com/Coding-Dev-Tools/engraphis/blob/main/docs/benchmark-evidence/offline-fixtures-v113.json),
87+
[`offline-fixtures-v115.json`](https://github.com/Coding-Dev-Tools/engraphis/blob/main/docs/benchmark-evidence/offline-fixtures-v115.json),
8888
SHA-256
89-
`7c36af2ac3a0e1338987eddf27160879012cd9d2c834fd348268f420d14a7761`.
89+
`4d2cd6be29324597f0b201f8c0bd753173be69d24a274dff570c95c0db6ae629`.
9090
[`BENCHMARKS.md`](https://github.com/Coding-Dev-Tools/engraphis/blob/main/BENCHMARKS.md#public-numeric-evidence-registry)
9191
records the matching suite digest, exact commands, and per-command config digests. The offline
9292
fixture registry intentionally excludes external, model-dependent, consolidation, productivity,

‎docs/benchmark-evidence/offline-fixtures-v114.json‎

Lines changed: 694 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
40188db31e07680e1c886ecec8ed523c6237858f0d5c63ef3159251c63538970 offline-fixtures-v114.json

‎docs/benchmark-evidence/offline-fixtures-v115.json‎

Lines changed: 694 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4d2cd6be29324597f0b201f8c0bd753173be69d24a274dff570c95c0db6ae629 offline-fixtures-v115.json

‎docs/images/context-efficiency.svg‎

Lines changed: 2 additions & 2 deletions
Loading

‎docs/images/evidence-backed-agent-examples.svg‎

Lines changed: 2 additions & 2 deletions
Loading

‎engraphis/cloud_session.py‎

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,9 +1150,22 @@ def access_for_workspace(
11501150
status=409,
11511151
refresh_unusable=True,
11521152
)
1153-
response_subject = _validated_token_subject(
1154-
body.get("token_subject") or token_subject
1155-
)
1153+
# Older control planes omit this field. A supplied value, however, must
1154+
# exactly preserve the already validated subject of the consumed family.
1155+
response_subject = body.get("token_subject", token_subject)
1156+
if response_subject != token_subject:
1157+
try:
1158+
_mark_refresh_unusable(saved, refresh)
1159+
except (OSError, RuntimeError):
1160+
# Retirement fences the credential in-process before attempting
1161+
# persistence; a write fault cannot make this a replayable outage.
1162+
pass
1163+
raise CloudSessionError(
1164+
"Engraphis Cloud returned an invalid session subject, so the rotated "
1165+
"credential could not be saved. Connect this installation again.",
1166+
status=409,
1167+
refresh_unusable=True,
1168+
)
11561169
updated = dict(saved)
11571170
updated.update({
11581171
"schema": "engraphis-cloud-session/v1",

‎tests/test_benchmark_evidence.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434

3535
ROOT = Path(__file__).resolve().parents[1]
36-
PUBLIC_OFFLINE_ARTIFACT = "offline-fixtures-v113.json"
37-
PUBLIC_OFFLINE_SHA = "7c36af2ac3a0e1338987eddf27160879012cd9d2c834fd348268f420d14a7761"
36+
PUBLIC_OFFLINE_ARTIFACT = "offline-fixtures-v115.json"
37+
PUBLIC_OFFLINE_SHA = "4d2cd6be29324597f0b201f8c0bd753173be69d24a274dff570c95c0db6ae629"
3838

3939

4040
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)