Skip to content
This repository was archived by the owner on Sep 13, 2026. It is now read-only.

[CTX-0013] fix(workflow): publish-ctxpack selftest must accept ctxpack format_version 2 - #18

Merged
Xuepoo merged 1 commit into
mainfrom
ctx-0013/fix-publish-v2
Sep 10, 2026
Merged

Xuepoo merged 1 commit into
mainfrom
ctx-0013/fix-publish-v2

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Closes #17

Ports bitty PR #527 (merge 5b6f685) publish-v2 fix to bitty-mcp.

Changes

  • scripts/publish-ctxpack-selftest.sh: accepts ctxpack format_version 1 and 2 (tombstones.jsonl/counts.tombstones, parents/watermarks, redacted stamp), adds validator fixture matrix + v1/v2 redaction fixtures.
  • scripts/publish-ctxpack-redact.py: redacts every *.jsonl incl. tombstones.jsonl; stamps manifest.json redacted: true without touching counts.
  • scripts/publish-ctxpack.sh: header/README doc sync for v2 snapshots + redacted marker.

Evidence

  • just workflow-publish-dry PASS (manifest v2 + counts + JSON, 25-case validator matrix, v1+v2 redaction fixtures, round-trip).
  • just check PASS.
  • Real just workflow-publish after merge publishes a v2 snapshot; mirror LATEST advanced.

Priority: P1 | Area: devtools | Labels: fix,area:devtools,P1 | Milestone: v0.1.0 | RFC: n/a | Task: CTX-0013

@Xuepoo Xuepoo added this to the v0.1.0 milestone Sep 10, 2026
@Xuepoo Xuepoo added P1 High priority area:devtools Developer tooling fix Bug fix labels Sep 10, 2026
@Xuepoo
Xuepoo merged commit 3950e5b into main Sep 10, 2026
5 checks passed
@Xuepoo
Xuepoo deleted the ctx-0013/fix-publish-v2 branch September 10, 2026 19:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area:devtools Developer tooling fix Bug fix P1 High priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(workflow): publish-ctxpack selftest must accept ctxpack format_version 2 (CTX-0013)

1 participant