Sync ctx 38a33f8
Browse filesGitHub commit: 38a33f8784e2bf408430a98fed81206c2cf39d00
- .github/workflows/publish.yml +2 -2
- README.md +1 -1
- docs/ctx-fit/STATE.md +67 -34
- docs/index.md +1 -1
.github/workflows/publish.yml
CHANGED
|
@@ -647,7 +647,7 @@ jobs:
|
|
| 647 |
--sbom release-sbom/claude-ctx.cdx.json \
|
| 648 |
--pyproject pyproject.toml \
|
| 649 |
--inventory release-sbom/resolved-environment.json \
|
| 650 |
-
--bind-
|
| 651 |
--extra ann \
|
| 652 |
--extra browser \
|
| 653 |
--extra embeddings \
|
|
@@ -659,7 +659,7 @@ jobs:
|
|
| 659 |
--sbom release-sbom/claude-ctx.repeat.cdx.json \
|
| 660 |
--pyproject pyproject.toml \
|
| 661 |
--inventory release-sbom/resolved-environment.json \
|
| 662 |
-
--bind-
|
| 663 |
--extra ann \
|
| 664 |
--extra browser \
|
| 665 |
--extra embeddings \
|
|
|
|
| 647 |
--sbom release-sbom/claude-ctx.cdx.json \
|
| 648 |
--pyproject pyproject.toml \
|
| 649 |
--inventory release-sbom/resolved-environment.json \
|
| 650 |
+
--bind-release-identity \
|
| 651 |
--extra ann \
|
| 652 |
--extra browser \
|
| 653 |
--extra embeddings \
|
|
|
|
| 659 |
--sbom release-sbom/claude-ctx.repeat.cdx.json \
|
| 660 |
--pyproject pyproject.toml \
|
| 661 |
--inventory release-sbom/resolved-environment.json \
|
| 662 |
+
--bind-release-identity \
|
| 663 |
--extra ann \
|
| 664 |
--extra browser \
|
| 665 |
--extra embeddings \
|
README.md
CHANGED
|
@@ -16,7 +16,7 @@ tags:
|
|
| 16 |
# ctx
|
| 17 |
|
| 18 |
[](https://github.com/stevesolun/ctx/actions/workflows/test.yml)
|
| 19 |
-
[](https://pypi.org/project/claude-ctx/)
|
| 21 |
|
| 22 |
**Find the cheapest AI coding setup that actually works on your repo.**
|
|
|
|
| 16 |
# ctx
|
| 17 |
|
| 18 |
[](https://github.com/stevesolun/ctx/actions/workflows/test.yml)
|
| 19 |
+
[](https://github.com/stevesolun/ctx/actions/workflows/test.yml)
|
| 20 |
[](https://pypi.org/project/claude-ctx/)
|
| 21 |
|
| 22 |
**Find the cheapest AI coding setup that actually works on your repo.**
|
docs/ctx-fit/STATE.md
CHANGED
|
@@ -13,22 +13,25 @@
|
|
| 13 |
|
| 14 |
- Updated: 2026-08-16 (Asia/Jerusalem)
|
| 15 |
- Active goal: review, harden, verify, and release CTX Fit 1.0.21
|
| 16 |
-
- Phase:
|
| 17 |
- Release decision: **DO NOT RELEASE YET**
|
| 18 |
-
- Branch: `codex/ctx-fit-sbom-
|
| 19 |
-
- Base commit: `
|
| 20 |
-
-
|
| 21 |
-
-
|
|
|
|
| 22 |
- Follow-up scope at checkpoint:
|
| 23 |
-
- deterministic
|
| 24 |
-
|
| 25 |
- user-owned and out of scope: `.scratch/`
|
| 26 |
-
- Parallel execution: PR #
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
| 32 |
|
| 33 |
## Product destination
|
| 34 |
|
|
@@ -83,7 +86,7 @@ All of the following must be true before tagging or publishing:
|
|
| 83 |
| Applied winner activation | Complete, independently accepted | Activation writer + coordinator + independent reviewer | Strict repository-root loader, nested-sidecar refusal, hash/model validation, one-use exact context, subdirectory activation, and explicit model-conflict handling passed independent refreeze as part of the 222-check baseline/activation lane |
|
| 84 |
| ADR-015 stop attribution | Complete, independently accepted | Coordinator + spend/fairness reviewer | Structured stop reason/log fields flow provider → live runner → serialized result, budget-capped trials are inconclusive, and the accepted spend/fairness lane plus 446-test Fit aggregate are green |
|
| 85 |
| Release metadata and publish guard | Complete, independently accepted | Metadata writer + publish writer/reviewer + coordinator | 1.0.21 metadata and changelog are current; exact-main/exact-successful-Tests production guard and changelog-backed notes have no P0/P1 review findings; P2 credential/doc hardening is integrated |
|
| 86 |
-
| Final verification and release |
|
| 87 |
|
| 88 |
## Open release blockers
|
| 89 |
|
|
@@ -98,20 +101,19 @@ verification is explicitly a non-adversarial trust boundary.
|
|
| 98 |
|
| 99 |
### P1 — must resolve or explicitly de-scope before release
|
| 100 |
|
| 101 |
-
One active blocker remains
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
controlled tag recovery.
|
| 115 |
|
| 116 |
The release also deliberately discloses that qualification did not include a
|
| 117 |
paid provider call or a complete provider-plus-filesystem-MCP launch on this
|
|
@@ -245,18 +247,49 @@ be overwritten.
|
|
| 245 |
|
| 246 |
## Immediate next actions
|
| 247 |
|
| 248 |
-
1. Push
|
| 249 |
-
|
| 250 |
-
2. Require a fresh successful exact-main Tests run.
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
|
|
|
| 254 |
3. Monitor production publish to completion, then verify PyPI, GitHub release
|
| 255 |
assets/attestations, clean install, and Hugging Face synchronization before
|
| 256 |
declaring the release complete.
|
| 257 |
|
| 258 |
## Checkpoint log
|
| 259 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 260 |
- 2026-08-16: Committed the accepted SBOM repair as `4ff0e890`. Its committed
|
| 261 |
fast gate passed 8,779 tests, 5 skips, 92.16% coverage, static checks, and the
|
| 262 |
clean-host contract. The authoritative PR preflight passed all 19 lanes:
|
|
|
|
| 13 |
|
| 14 |
- Updated: 2026-08-16 (Asia/Jerusalem)
|
| 15 |
- Active goal: review, harden, verify, and release CTX Fit 1.0.21
|
| 16 |
+
- Phase: remote review of the pinned-attestation CycloneDX compatibility repair
|
| 17 |
- Release decision: **DO NOT RELEASE YET**
|
| 18 |
+
- Branch: `codex/ctx-fit-sbom-attestation`
|
| 19 |
+
- Base commit: `2714f9be88a1c3a3b680e344b25a962829d18ca8`
|
| 20 |
+
- Active repair commit: `b3145c49`
|
| 21 |
+
- Last merged release candidate: `2714f9be88a1c3a3b680e344b25a962829d18ca8`
|
| 22 |
+
- Latest merged PR: `https://github.com/stevesolun/ctx/pull/270`
|
| 23 |
- Follow-up scope at checkpoint:
|
| 24 |
+
- deterministic content-derived CycloneDX serial binding for the pinned
|
| 25 |
+
attestation action, exact compatibility regressions, and this checkpoint
|
| 26 |
- user-owned and out of scope: `.scratch/`
|
| 27 |
+
- Parallel execution: PR #270 is merged; exact-main Tests run `31912497654`
|
| 28 |
+
and CodeQL run `31912497612` are green. Publish run `31913053842` proved the
|
| 29 |
+
PURL/closure repair, build, package smokes, and graph paths, then failed
|
| 30 |
+
closed because the pinned attestation action requires CycloneDX's optional
|
| 31 |
+
`serialNumber`. The narrow content-derived serial repair is committed as
|
| 32 |
+
`b3145c49`; independent format and recovery reviewers accepted it with no
|
| 33 |
+
P0-P2 findings, and its committed fast gate plus all 19 PR-preflight lanes
|
| 34 |
+
are green. Remote review/merge is next.
|
| 35 |
|
| 36 |
## Product destination
|
| 37 |
|
|
|
|
| 86 |
| Applied winner activation | Complete, independently accepted | Activation writer + coordinator + independent reviewer | Strict repository-root loader, nested-sidecar refusal, hash/model validation, one-use exact context, subdirectory activation, and explicit model-conflict handling passed independent refreeze as part of the 222-check baseline/activation lane |
|
| 87 |
| ADR-015 stop attribution | Complete, independently accepted | Coordinator + spend/fairness reviewer | Structured stop reason/log fields flow provider → live runner → serialized result, budget-capped trials are inconclusive, and the accepted spend/fairness lane plus 446-test Fit aggregate are green |
|
| 88 |
| Release metadata and publish guard | Complete, independently accepted | Metadata writer + publish writer/reviewer + coordinator | 1.0.21 metadata and changelog are current; exact-main/exact-successful-Tests production guard and changelog-backed notes have no P0/P1 review findings; P2 credential/doc hardening is integrated |
|
| 89 |
+
| Final verification and release | Attestation compatibility repair ready for remote review | Coordinator + release/SBOM reviewers | PR #270 merged as `2714f9be`; exact-main Tests and CodeQL succeeded. Recovered annotated tag object `bcd5632d` points to that exact commit. Publish run `31913053842` passed the repaired SBOM normalization/strict closure gate and the complete build job. Package and graph provenance attestations were created, but the SBOM attestation failed because pinned `actions/attest@f7c74d...` requires an optional top-level CycloneDX serial; release/PyPI jobs skipped, GitHub release is absent, and PyPI is still 404. Commit `b3145c49` derives a deterministic RFC-4122 UUIDv5 from canonical normalized BOM content, validates exact equality, proves pinned-action recognition, and has independent acceptance plus green committed fast and 19-lane PR-preflight gates. PR, fresh exact-main CI, audited partial-attestation cleanup, and another explicit unpublished-tag recovery remain. |
|
| 90 |
|
| 91 |
## Open release blockers
|
| 92 |
|
|
|
|
| 101 |
|
| 102 |
### P1 — must resolve or explicitly de-scope before release
|
| 103 |
|
| 104 |
+
One active blocker remains at the remote-release boundary. The PURL repair is merged and passed its exact
|
| 105 |
+
production gate, but cyclonedx-bom 7.3.0 also removes `serialNumber` under
|
| 106 |
+
reproducible output. CycloneDX 1.6 permits that omission; pinned
|
| 107 |
+
`actions/attest@f7c74d...` has a narrower parser requiring truthy `bomFormat`,
|
| 108 |
+
`specVersion`, and `serialNumber`. Run `31913053842` therefore failed only at
|
| 109 |
+
the SBOM attestation. The active repair binds a canonical UUIDv5 derived from
|
| 110 |
+
the normalized BOM content with the serial omitted, so byte-identical BOMs are
|
| 111 |
+
reproducible and materially different BOMs get different identities. It
|
| 112 |
+
refuses conflicts and requires exact recomputation after strict dependency
|
| 113 |
+
closure validation. Focused regressions and exact uploaded-artifact schema/
|
| 114 |
+
parser probes are green; commit `b3145c49` passed the committed fast gate and
|
| 115 |
+
all 19 PR-preflight lanes. Review/merge and a new exact-main Tests success
|
| 116 |
+
remain mandatory before controlled tag recovery.
|
|
|
|
| 117 |
|
| 118 |
The release also deliberately discloses that qualification did not include a
|
| 119 |
paid provider call or a complete provider-plus-filesystem-MCP launch on this
|
|
|
|
| 247 |
|
| 248 |
## Immediate next actions
|
| 249 |
|
| 250 |
+
1. Push commit `b3145c49`, open the narrow serial-repair PR, and merge it only
|
| 251 |
+
with required checks green.
|
| 252 |
+
2. Require a fresh successful exact-main Tests run. Archive and remove the
|
| 253 |
+
transient Actions artifacts and deletable GitHub attestation records from
|
| 254 |
+
run `31913053842`, recording that Rekor history remains. Reconfirm GitHub
|
| 255 |
+
release absence and PyPI 404; then explicitly delete/recreate the annotated
|
| 256 |
+
`v1.0.21` tag on the new exact tested main commit without a force-push.
|
| 257 |
3. Monitor production publish to completion, then verify PyPI, GitHub release
|
| 258 |
assets/attestations, clean install, and Hugging Face synchronization before
|
| 259 |
declaring the release complete.
|
| 260 |
|
| 261 |
## Checkpoint log
|
| 262 |
|
| 263 |
+
- 2026-08-16: Committed the independently accepted CycloneDX serial repair as
|
| 264 |
+
`b3145c49`. Its committed fast gate passed 8,783 tests, 5 skips, 92.16%
|
| 265 |
+
coverage, static checks, and clean-host/package contracts. The authoritative
|
| 266 |
+
PR preflight then passed all 19 lanes, including the same 8,783-test unit
|
| 267 |
+
equivalent, strict documentation, telemetry, similarity, browser security,
|
| 268 |
+
clean-host installation, reproducible distribution build, and Twine.
|
| 269 |
+
Reproducible artifact SHA-256 values are
|
| 270 |
+
`40c8e88adb6ffcd6159ed30eddc25162db6e5e17bb6f0ac035ad2162857b70d7`
|
| 271 |
+
for the wheel and
|
| 272 |
+
`ce6fb0da869d8b3b5c6ff27327940f494b98f4c4efb34d466704983144368a6f`
|
| 273 |
+
for the sdist. Only the user-owned `.scratch/` remains untracked; push and
|
| 274 |
+
remote PR review are next.
|
| 275 |
+
|
| 276 |
+
- 2026-08-16: Merged PR #270 as exact main `2714f9be`; exact-main Tests run
|
| 277 |
+
`31912497654` and CodeQL run `31912497612` succeeded. Explicitly deleted the
|
| 278 |
+
still-unpublished old `v1.0.21` tag and created annotated object `bcd5632d`
|
| 279 |
+
on that exact tested commit, without force-updating it. Publish run
|
| 280 |
+
`31913053842` passed provenance, graph, stats, static/clean-host/canaries,
|
| 281 |
+
reproducible build, distribution checks, wheel and all-runtime-extras smoke,
|
| 282 |
+
deterministic PURL normalization, strict dependency closure, and artifact
|
| 283 |
+
upload. Package/graph provenance attestations `40948323` and `40948329` were
|
| 284 |
+
created, then the SBOM attestation failed closed: the valid CycloneDX 1.6
|
| 285 |
+
file omitted optional `serialNumber`, while pinned `actions/attest` requires
|
| 286 |
+
it. Release-assets and PyPI jobs skipped; GitHub release remains absent and
|
| 287 |
+
PyPI 1.0.21 remains 404. The exact uploaded SBOM independently passes the
|
| 288 |
+
official 1.6 schema. A failing-first repair now derives a content-addressed
|
| 289 |
+
UUIDv5 serial, refuses conflicts, requires exact recomputation, and passes
|
| 290 |
+
28 focused supply-chain tests plus the pinned action's three-field probe.
|
| 291 |
+
Public inventory is now 8,780.
|
| 292 |
+
|
| 293 |
- 2026-08-16: Committed the accepted SBOM repair as `4ff0e890`. Its committed
|
| 294 |
fast gate passed 8,779 tests, 5 skips, 92.16% coverage, static checks, and the
|
| 295 |
clean-host contract. The authoritative PR preflight passed all 19 lanes:
|
docs/index.md
CHANGED
|
@@ -356,7 +356,7 @@ graph-based discovery:
|
|
| 356 |
---
|
| 357 |
|
| 358 |
Current main is **v1.0.21** — MIT, tested on CPython 3.11+ for Linux and macOS,
|
| 359 |
-
8,
|
| 360 |
`ctx-init`. The maintenance
|
| 361 |
tools are still shipped and still work, now via `python -m`:
|
| 362 |
`ctx_monitor serve` (local dashboard with graph + wiki + load/unload for
|
|
|
|
| 356 |
---
|
| 357 |
|
| 358 |
Current main is **v1.0.21** — MIT, tested on CPython 3.11+ for Linux and macOS,
|
| 359 |
+
8,780 test inventory. Ships seven console scripts led by `ctx` and
|
| 360 |
`ctx-init`. The maintenance
|
| 361 |
tools are still shipped and still work, now via `python -m`:
|
| 362 |
`ctx_monitor serve` (local dashboard with graph + wiki + load/unload for
|