Skip to content

test: preserve session topic order and repeated labels - #156

Closed
MoonCaves wants to merge 3 commits into
mainfrom
test/topics-order-contract-tick721
Closed

MoonCaves wants to merge 3 commits into
mainfrom
test/topics-order-contract-tick721

Conversation

@MoonCaves

@MoonCaves MoonCaves commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Strengthens the existing session-topic test with three segments, repeated topic labels, distinct references and summaries, and non-monotonic tag times. The fixture detects accidental label collapse and timestamp sorting while preserving current render-header and XDG assertions.

Adopts the published fixture/assertions from #114 at 767be51bcca2bdbccf2f63c5e95d3edcff147032, with a dedicated source registration. This covers current session ordering; #103 remains open for runtime indexing cost.

Validation: Go 1.24 focused race test, Go 1.27.3 complete agentproto race package, build/vet, package lint (0 issues.), independent source review and installed provenance gate (APPROVE). Parent overlays for timestamp sorting and label collapse each fail the adopted fixture and pass the base control. Exact-head CI run 43007473747 completed successfully: Go 1.24.0 and stable build/vet/full race tests, plus lint.

The parent full-repository run on the same production baseline separately failed an unchanged index performance assertion after exceeding its original package timeout on an earlier run; the result is recorded in #155. The isolated unchanged pruning case then passed; that does not turn the failed local full run into a pass. This PR changes only the topic test and source documentation.

Preserve repeated session topic labels with distinct refs and summaries in insertion order. Retain current XDG isolation attribution and neutral render-header assertions. This is test-only published-source adoption; runtime lookup and wording are unchanged.

Prior-Art: MoonCaves/rawclaw internal/agentproto/agentproto_test.go L1253-L1326 (MIT) @767be51bcca2bdbccf2f63c5e95d3edcff147032
Preserve the published PR156 fixture, assertions and source registration exactly while retaining all current main files. No fallback fixture or runtime behavior is introduced by this integration.

Prior-Art: MoonCaves/rawclaw internal/agentproto/agentproto_test.go L1253-L1326 (MIT) @767be51bcca2bdbccf2f63c5e95d3edcff147032
Prior-Art: MoonCaves/rawclaw internal/agentproto/agentproto_test.go L1260-L1337 (MIT) @8fd8e5c559c45fd106f7b3080c446cb3863e1eba
@MoonCaves

Copy link
Copy Markdown
Owner Author

Closing superseded tick721 draft in favor of the rebased current-main ordering contract PR #172.

@MoonCaves MoonCaves closed this Nov 25, 2026
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