Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public final class Fixtures {
"meta-20260101T000000.000000000Z-000004.sd",
};
public static final String CHILD_STREAM = "a0a10ef0666c4dc7e";
public static final String ROUND_FILE = "r000001-231f2c85948d.sf";
public static final String ROUND_FILE = "r000001-befb6026a577.sf";
public static final String VIEW_EXAMPLE_JSON = "asz-view-example.json";

public static final String WORKSPACE_CHANGES_DIR = "workspace-changes/";
Expand All @@ -59,7 +59,7 @@ public final class Fixtures {
"changes-20260101T000000.000000000Z-000004.sd",
"meta-20260101T000000.000000000Z-000005.sd",
};
public static final String WORKSPACE_CHANGES_ROUND_FILE = "r000001-02d62370b203.sf";
public static final String WORKSPACE_CHANGES_ROUND_FILE = "r000001-475193a5f44b.sf";

private Fixtures() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ public void dataFilesDecodeAndTheirDigestsAreTheSessionizersDigests() throws Exc
assertEquals(16, main.getRecords().size());
assertEquals(16, main.getDeclaredRecords());
assertEquals(18, main.getLines());
assertEquals(6076, main.getBytes());
assertEquals(5976, main.getBytes());
// the digests asz conversation -json printed for the same files
assertEquals("42d5e0b19a8bbaae8d09eb8055548c20a8feac5cd2f342fa572a5bb3104e5632", main.getFileDigest());
assertEquals("667c3a32480190268901b2cf83f19087bed9bf44416dd900d0eb16cbab800580", main.getFileDigest());
assertEquals("b7fc207afdc51b9c48e42af8524ea7a68e5e5f3b4c76b7d37dd765e2fe8145c5", files.get(2L).getFileDigest());
assertEquals("fa5e9bb561d0bc6168382498e805829b2820141b57117db50f4894d474c3e486", files.get(3L).getFileDigest());
assertEquals("62f019483e4d0c0d4d0f5f296bec63fbfae663479a2a78d83b45481bd8df7185", files.get(4L).getFileDigest());
Expand Down Expand Up @@ -93,7 +93,7 @@ public void roundDecodesAndItsCommitDigestVerifies() throws Exception {
assertEquals(4, r.getHeader().getThroughSeq());
assertEquals(45, r.getLines());
assertEquals(43, r.getNodes().size() + r.getRelations().size() + r.getUnresolved().size());
assertEquals("231f2c85948d937902e75907c2b2f4b537c369a73e4847a6329b7a7a449b33bd", r.getCommitDigest());
assertEquals("befb6026a5776f481ed79bb59cc7ff0fbabd36db8e4d174156230ac3051d723d", r.getCommitDigest());
assertEquals(Times.millis("2026-01-01T00:00:00Z"), Times.millis(r.getHeader().getSessionFromTime()));
}

Expand All @@ -104,7 +104,7 @@ public void inputDigestChainsTheFileDigests() throws Exception {
for (final SessionDataFile f : files.values()) {
added.add(f.getFileDigest());
}
assertEquals("f49b55a09ff0a37d36f3d3b62c7584dd03caecb5f0f3ffe32fba96d8849df0a8", Digests.chainInputDigest("", added));
assertEquals("ede3d4ca2b72ada8850407ebd46585d9306fd9448a767d170465b7847d833b9f", Digests.chainInputDigest("", added));
assertEquals(Fixtures.round().getHeader().getInputDigest(), Digests.chainInputDigest("", added));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"head": {
"round": 1,
"digest": "231f2c85948d937902e75907c2b2f4b537c369a73e4847a6329b7a7a449b33bd"
"digest": "befb6026a5776f481ed79bb59cc7ff0fbabd36db8e4d174156230ac3051d723d"
},
"parser": "v1",
"policy": "v1+idle=10m0s",
Expand Down Expand Up @@ -61,11 +61,11 @@
"rounds": [
{
"round": 1,
"digest": "231f2c85948d937902e75907c2b2f4b537c369a73e4847a6329b7a7a449b33bd",
"digest": "befb6026a5776f481ed79bb59cc7ff0fbabd36db8e4d174156230ac3051d723d",
"previous": null,
"from_seq": 1,
"through_seq": 4,
"input_digest": "f49b55a09ff0a37d36f3d3b62c7584dd03caecb5f0f3ffe32fba96d8849df0a8",
"input_digest": "ede3d4ca2b72ada8850407ebd46585d9306fd9448a767d170465b7847d833b9f",
"from_time": 1767225600000,
"through_time": 1767225611100,
"verified": true
Expand All @@ -81,8 +81,8 @@
"stream": "main",
"run": null,
"lines": 18,
"bytes": 6076,
"digest": "42d5e0b19a8bbaae8d09eb8055548c20a8feac5cd2f342fa572a5bb3104e5632",
"bytes": 5976,
"digest": "667c3a32480190268901b2cf83f19087bed9bf44416dd900d0eb16cbab800580",
"from_time": 1767225600000,
"through_time": 1767225611100
},
Expand Down Expand Up @@ -129,16 +129,16 @@
"through_time": null
},
{
"file": "_conversations/00000001-0000-4000-8000-000000000001/rounds/r000001-231f2c85948d.sf",
"file": "_conversations/00000001-0000-4000-8000-000000000001/rounds/r000001-befb6026a577.sf",
"format": "sf",
"kind": "round",
"seq": null,
"round": 1,
"stream": null,
"run": null,
"lines": 45,
"bytes": 10468,
"digest": "08eb0f1dce87e0caa81d21855d5056cf327a8fb84b4c5b09e8084fe2690f16e8",
"bytes": 10556,
"digest": "3fde4586b26d5f4ac6725b0680648df44ba9d3dc03206aa1c4442d839a9621c6",
"from_time": 1767225600000,
"through_time": 1767225611100
}
Expand Down Expand Up @@ -363,9 +363,9 @@
"result_join": "exact_unique",
"timing": "unavailable"
},
"text": "{\"command\":\"go generate ./... \\u0026\\u0026 make build\",\"description\":\"generate and build\"}",
"text": "{\"command\":\"go generate ./... \u0026\u0026 make build\",\"description\":\"generate and build\"}",
"state": "available",
"bytes": 90,
"bytes": 80,
"flags": [
"finished"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sessions:
- 00000001-0000-4000-8000-000000000001
head:
round: 1
digest: 231f2c85948d937902e75907c2b2f4b537c369a73e4847a6329b7a7a449b33bd
digest: befb6026a5776f481ed79bb59cc7ff0fbabd36db8e4d174156230ac3051d723d
parser: v1
policy: v1+idle=10m0s
summary:
Expand Down Expand Up @@ -53,11 +53,11 @@ summary:
strong_inference: 1
rounds:
- round: 1
digest: 231f2c85948d937902e75907c2b2f4b537c369a73e4847a6329b7a7a449b33bd
digest: befb6026a5776f481ed79bb59cc7ff0fbabd36db8e4d174156230ac3051d723d
previous: null
from_seq: 1
through_seq: 4
input_digest: f49b55a09ff0a37d36f3d3b62c7584dd03caecb5f0f3ffe32fba96d8849df0a8
input_digest: ede3d4ca2b72ada8850407ebd46585d9306fd9448a767d170465b7847d833b9f
from_time: 1767225600000
through_time: 1767225611100
verified: true
Expand All @@ -70,8 +70,8 @@ files:
stream: main
run: null
lines: 18
bytes: 6076
digest: 42d5e0b19a8bbaae8d09eb8055548c20a8feac5cd2f342fa572a5bb3104e5632
bytes: 5976
digest: 667c3a32480190268901b2cf83f19087bed9bf44416dd900d0eb16cbab800580
from_time: 1767225600000
through_time: 1767225611100
- file: 00000001-0000-4000-8000-000000000001/streams/main/changes-20260101T000000.000000000Z-000002.sd
Expand Down Expand Up @@ -110,16 +110,16 @@ files:
digest: 62f019483e4d0c0d4d0f5f296bec63fbfae663479a2a78d83b45481bd8df7185
from_time: null
through_time: null
- file: _conversations/00000001-0000-4000-8000-000000000001/rounds/r000001-231f2c85948d.sf
- file: _conversations/00000001-0000-4000-8000-000000000001/rounds/r000001-befb6026a577.sf
format: sf
kind: round
seq: null
round: 1
stream: null
run: null
lines: 45
bytes: 10468
digest: 08eb0f1dce87e0caa81d21855d5056cf327a8fb84b4c5b09e8084fe2690f16e8
bytes: 10556
digest: 3fde4586b26d5f4ac6725b0680648df44ba9d3dc03206aa1c4442d839a9621c6
from_time: 1767225600000
through_time: 1767225611100
streams:
Expand Down Expand Up @@ -288,9 +288,9 @@ talks:
result: available
result_join: exact_unique
timing: unavailable
text: '{"command":"go generate ./... \u0026\u0026 make build","description":"generate and build"}'
text: '{"command":"go generate ./... && make build","description":"generate and build"}'
state: available
bytes: 90
bytes: 80
flags:
- finished
name: Bash
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{"t":"header","schema":"sf/1","conversation":"00000001-0000-4000-8000-000000000001","session":"00000001-0000-4000-8000-000000000001","round":1,"from_seq":1,"through_seq":4,"input_digest":"f49b55a09ff0a37d36f3d3b62c7584dd03caecb5f0f3ffe32fba96d8849df0a8","parser":"v1","policy":"v1+idle=10m0s","from_time":"2026-01-01T00:00:00Z","through_time":"2026-01-01T00:00:11.1Z","session_from_time":"2026-01-01T00:00:00Z","session_through_time":"2026-01-01T00:00:11.1Z","title":"build and check","talks":3,"steps":21,"streams":2,"segments":1,"unresolved":0}
{"t":"header","schema":"sf/1","conversation":"00000001-0000-4000-8000-000000000001","session":"00000001-0000-4000-8000-000000000001","round":1,"from_seq":1,"through_seq":4,"input_digest":"ede3d4ca2b72ada8850407ebd46585d9306fd9448a767d170465b7847d833b9f","parser":"v1","policy":"v1+idle=10m0s","from_time":"2026-01-01T00:00:00Z","through_time":"2026-01-01T00:00:11.1Z","session_from_time":"2026-01-01T00:00:00Z","session_through_time":"2026-01-01T00:00:11.1Z","title":"build and check","talks":3,"steps":21,"streams":2,"segments":1,"unresolved":0,"changes":1,"lines_added":1,"lines_removed":1,"llm_calls":6,"subagents":1,"bash_runs":1}
{"t":"node","id":"ack/1/11","revision":1,"kind":"agent.launch_ack","parent":"run/talk_main_s1-cycle/s1-cycle","stream":"main","ref":{"seq":1,"row":11}}
{"t":"node","id":"boundary/1/15","revision":1,"kind":"epoch.boundary","parent":"epoch/main/s8-boundary","stream":"main","ref":{"seq":1,"row":15}}
{"t":"node","id":"call/checker-s1-call","revision":1,"kind":"llm.call","parent":"run/talk_a0a10ef0666c4dc7e/a0a10ef0666c4dc7e-cycle","stream":"a0a10ef0666c4dc7e","ref":{"seq":3,"row":2},"refs":[{"seq":3,"row":2}],"attrs":{"fragments":1,"usage":"observed_replayable","usage_at":{"row":2,"seq":3},"usage_from":"last_fragment_in_line_order"}}
Expand Down Expand Up @@ -42,4 +42,4 @@
{"t":"relation","id":"rel/reports/notify_1_12/stream_a0a10ef0666c4dc7e","revision":1,"type":"reports","from":"notify/1/12","to":"stream/a0a10ef0666c4dc7e","quality":"exact_unique","via":"task id on the notification","evidence":[{"seq":1,"row":12}]}
{"t":"relation","id":"rel/starts/tool_s5-tool/stream_a0a10ef0666c4dc7e","revision":1,"type":"starts","from":"tool/s5-tool","to":"stream/a0a10ef0666c4dc7e","quality":"exact_unique","via":"parent tool result","evidence":[{"seq":1,"row":11}]}
{"t":"relation","id":"rel/summarizes/summary_1_16/boundary_1_15","revision":1,"type":"summarizes","from":"summary/1/16","to":"boundary/1/15","quality":"exact_unique","via":"containment parent","evidence":[{"seq":1,"row":16}]}
{"t":"commit","digest":"231f2c85948d937902e75907c2b2f4b537c369a73e4847a6329b7a7a449b33bd","counts":{"nodes":35,"relations":8,"unresolved":0}}
{"t":"commit","digest":"befb6026a5776f481ed79bb59cc7ff0fbabd36db8e4d174156230ac3051d723d","counts":{"nodes":35,"relations":8,"unresolved":0}}
Loading
Loading