Sync ctx card 66d7a2e
Browse filesGitHub commit: 66d7a2e89d051dc361250db92ede7f9e778ac96f
- docs/ctx-fit/STATE.md +64 -15
docs/ctx-fit/STATE.md
CHANGED
|
@@ -13,12 +13,12 @@
|
|
| 13 |
|
| 14 |
- Updated: 2026-08-21 (Asia/Jerusalem)
|
| 15 |
- Active goal: retire Git LFS safely after CTX Fit 1.0.21
|
| 16 |
-
- Phase:
|
| 17 |
-
- Release decision: **1.0.21 REMAINS RELEASED; LFS MIGRATION
|
| 18 |
-
- Branch: `codex/
|
| 19 |
- Release commit: `38a33f8784e2bf408430a98fed81206c2cf39d00`
|
| 20 |
- Release tag object: `a7b8e78559fda1d44dca844393458272071ae89b`
|
| 21 |
-
- Latest merged PR: `https://github.com/stevesolun/ctx/pull/
|
| 22 |
- Follow-up scope at checkpoint:
|
| 23 |
- migrate graph distribution from Git LFS pointers to exact release assets,
|
| 24 |
then ask GitHub Support to purge the historical remote LFS objects
|
|
@@ -32,15 +32,22 @@
|
|
| 32 |
package build, package and graph provenance, CycloneDX attestation, release
|
| 33 |
assets, and PyPI Trusted Publishing.
|
| 34 |
- LFS migration execution: three parallel lanes completed repository resolver,
|
| 35 |
-
workflow migration, and independent storage/identity audit.
|
| 36 |
-
|
| 37 |
obsolete park/prune tooling; strict release-manifest hydration replaces them.
|
| 38 |
Focused integrated evidence is 326 passed plus 113 reviewer-adjacent tests;
|
| 39 |
full non-integration passed 8,812 tests with 5 skips; the authoritative PR
|
| 40 |
preflight passed all 21 lanes. The final committed clean-checkout gate passed
|
| 41 |
all 12 lanes after selectively hydrating the runtime catalog before unit
|
| 42 |
tests. Independent final audit accepted the repaired tree with no P0-P2
|
| 43 |
-
findings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
## Product destination
|
| 46 |
|
|
@@ -96,7 +103,7 @@ All of the following must be true before tagging or publishing:
|
|
| 96 |
| 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 |
|
| 97 |
| 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 |
|
| 98 |
| Final verification and release | Complete, publicly verified | Coordinator + release/SBOM reviewers | PR #271 merged as release commit `38a33f8784e2bf408430a98fed81206c2cf39d00`; exact-main Tests, CodeQL, and Hugging Face sync succeeded. Annotated tag `v1.0.21` peels to that commit. Publish run `31915534546` completed every build, attestation, release-asset, and PyPI job. Public wheel/SBOM digests, Sigstore/Rekor attestations, clean installation, `pip check`, version output, and a minimal `ctx fit --json` repository profile were independently verified. |
|
| 99 |
-
| Retire Git LFS |
|
| 100 |
|
| 101 |
## Open release blockers
|
| 102 |
|
|
@@ -193,6 +200,9 @@ surface makes that row stale for release purposes.
|
|
| 193 |
| First committed LFS migration gate, commit `9e0fb368`, 2026-08-21 | isolated committed-head local-fast | Static, graph, docs, telemetry, similarity, browser, package, clean-host, canary, contract, and policy lanes passed; unit lane failed 123 benchmark/holdout fixtures because its clean worktree correctly lacked the now-untracked runtime archive | Valid red evidence: clean CI test jobs must selectively hydrate the 110,283,462-byte runtime catalog before pytest. Failing-first workflow/local contracts added; repair rerun pending |
|
| 194 |
| Repaired committed LFS migration, commit `72d1ad73`, 2026-08-21 | complete 12-lane committed-head local-fast, split only to avoid repeating an identical five-minute unit lane | Selective runtime hydration followed by the isolated unit lane passed 8,806 tests with 5 skips and 92.16% coverage. The other 11 exact-commit lanes passed static, policy, canary, contract, clean-host, docs, full graph hydration/deep validation, telemetry, similarity, browser security, reproducible package, and Twine checks | Valid complete committed-history evidence for the implementation commit; state-only checkpoint follow-up requires proportional docs/stats validation |
|
| 195 |
| PR #275 head `a7f49bc4`, 2026-08-21 | GitHub Tests and CodeQL | 15 specialized Tests checks passed while unit and graph jobs were still running; CodeQL analysis completed but security aggregation opened alert #23 (`py/overly-permissive-file`, high) because manifest refresh explicitly changed its atomic temp file to world-readable `0644` | Valid red evidence. Failing-first owner-only regression passes at `0600`; 74 focused/static checks passed and independent reviewer verified atomic replacement, rollback, cleanup, and supported-platform behavior with no P0-P2. Repair push/recheck pending |
|
|
|
|
|
|
|
|
|
|
| 196 |
|
| 197 |
No paid real-provider evaluation has been authorized or run during this
|
| 198 |
hardening pass. A simulated or injected driver is not evidence of live provider
|
|
@@ -248,20 +258,59 @@ path remains unproven. Production PyPI Trusted Publishing succeeded.
|
|
| 248 |
|
| 249 |
## Immediate next actions
|
| 250 |
|
| 251 |
-
1.
|
| 252 |
-
#275, and merge only after every required remote check passes.
|
| 253 |
-
2. Verify a fresh post-merge checkout hydrates the exact v1.0.21 release assets;
|
| 254 |
-
then prune the release-backed local LFS cache and disable repository LFS.
|
| 255 |
-
3. Ask GitHub Support to purge all 45 historical LFS objects (12.131 GiB).
|
| 256 |
Pointer removal alone does not release GitHub's billed remote storage.
|
| 257 |
-
|
| 258 |
billing-cycle reset.
|
| 259 |
-
|
| 260 |
the shipped workflow already enforces exact-main and exact-successful-Tests
|
| 261 |
provenance.
|
| 262 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 263 |
## Checkpoint log
|
| 264 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 265 |
- 2026-08-21: Began the safe Git LFS retirement on branch
|
| 266 |
`codex/remove-git-lfs` from `a62a7ff6`. Independent audit counted 45 whole
|
| 267 |
compressed archive objects totaling 13,025,281,486 bytes (12.131 GiB): 31
|
|
|
|
| 13 |
|
| 14 |
- Updated: 2026-08-21 (Asia/Jerusalem)
|
| 15 |
- Active goal: retire Git LFS safely after CTX Fit 1.0.21
|
| 16 |
+
- Phase: LFS migration merged and local cleanup complete; remote purge pending
|
| 17 |
+
- Release decision: **1.0.21 REMAINS RELEASED; LFS MIGRATION MERGED; REMOTE PURGE PENDING**
|
| 18 |
+
- Branch: `codex/lfs-cleanup-state`
|
| 19 |
- Release commit: `38a33f8784e2bf408430a98fed81206c2cf39d00`
|
| 20 |
- Release tag object: `a7b8e78559fda1d44dca844393458272071ae89b`
|
| 21 |
+
- Latest merged PR: `https://github.com/stevesolun/ctx/pull/275`
|
| 22 |
- Follow-up scope at checkpoint:
|
| 23 |
- migrate graph distribution from Git LFS pointers to exact release assets,
|
| 24 |
then ask GitHub Support to purge the historical remote LFS objects
|
|
|
|
| 32 |
package build, package and graph provenance, CycloneDX attestation, release
|
| 33 |
assets, and PyPI Trusted Publishing.
|
| 34 |
- LFS migration execution: three parallel lanes completed repository resolver,
|
| 35 |
+
workflow migration, and independent storage/identity audit. Merged `main`
|
| 36 |
+
removes the two tracked archive pointers, LFS hooks/rules/fallbacks, and
|
| 37 |
obsolete park/prune tooling; strict release-manifest hydration replaces them.
|
| 38 |
Focused integrated evidence is 326 passed plus 113 reviewer-adjacent tests;
|
| 39 |
full non-integration passed 8,812 tests with 5 skips; the authoritative PR
|
| 40 |
preflight passed all 21 lanes. The final committed clean-checkout gate passed
|
| 41 |
all 12 lanes after selectively hydrating the runtime catalog before unit
|
| 42 |
tests. Independent final audit accepted the repaired tree with no P0-P2
|
| 43 |
+
findings. PR #275 merged as `b62b78d7` after 19 successful checks and one
|
| 44 |
+
intentionally skipped matrix placeholder. A detached checkout of that exact
|
| 45 |
+
merge, with no Git LFS executable or local archives, hydrated and deeply
|
| 46 |
+
validated the 405,434,548-byte release pair. Local cleanup removed
|
| 47 |
+
1,968,180,750 bytes of release-backed LFS cache objects, 197,656,624 bytes of
|
| 48 |
+
stale temporary packs, and the untracked 405,434,548-byte working pair: at
|
| 49 |
+
least 2,571,271,922 bytes (2.395 GiB) total. No remote LFS object has been
|
| 50 |
+
purged yet.
|
| 51 |
|
| 52 |
## Product destination
|
| 53 |
|
|
|
|
| 103 |
| 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 |
|
| 104 |
| 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 |
|
| 105 |
| Final verification and release | Complete, publicly verified | Coordinator + release/SBOM reviewers | PR #271 merged as release commit `38a33f8784e2bf408430a98fed81206c2cf39d00`; exact-main Tests, CodeQL, and Hugging Face sync succeeded. Annotated tag `v1.0.21` peels to that commit. Publish run `31915534546` completed every build, attestation, release-asset, and PyPI job. Public wheel/SBOM digests, Sigstore/Rekor attestations, clean installation, `pip check`, version output, and a minimal `ctx fit --json` repository profile were independently verified. |
|
| 106 |
+
| Retire Git LFS | Repository and local cleanup complete; remote purge pending GitHub Support | Coordinator + manifest/workflow writers + independent auditor | 45 historical objects total 12.131 GiB because each compressed archive revision is stored whole. Current useful pair is 405,434,548 bytes and is independently preserved and attested in release v1.0.21. PR #275 merged as `b62b78d7` after 19 successful checks. A clean post-merge checkout hydrated and deeply validated both release assets without Git LFS. The local checkout has no LFS objects, LFS directory, LFS configuration, tracked LFS paths, or Git garbage; `git fsck --no-dangling` is clean. At least 2.395 GiB was freed locally. GitHub still retains and bills the historical remote objects until Support purges them. |
|
| 107 |
|
| 108 |
## Open release blockers
|
| 109 |
|
|
|
|
| 200 |
| First committed LFS migration gate, commit `9e0fb368`, 2026-08-21 | isolated committed-head local-fast | Static, graph, docs, telemetry, similarity, browser, package, clean-host, canary, contract, and policy lanes passed; unit lane failed 123 benchmark/holdout fixtures because its clean worktree correctly lacked the now-untracked runtime archive | Valid red evidence: clean CI test jobs must selectively hydrate the 110,283,462-byte runtime catalog before pytest. Failing-first workflow/local contracts added; repair rerun pending |
|
| 201 |
| Repaired committed LFS migration, commit `72d1ad73`, 2026-08-21 | complete 12-lane committed-head local-fast, split only to avoid repeating an identical five-minute unit lane | Selective runtime hydration followed by the isolated unit lane passed 8,806 tests with 5 skips and 92.16% coverage. The other 11 exact-commit lanes passed static, policy, canary, contract, clean-host, docs, full graph hydration/deep validation, telemetry, similarity, browser security, reproducible package, and Twine checks | Valid complete committed-history evidence for the implementation commit; state-only checkpoint follow-up requires proportional docs/stats validation |
|
| 202 |
| PR #275 head `a7f49bc4`, 2026-08-21 | GitHub Tests and CodeQL | 15 specialized Tests checks passed while unit and graph jobs were still running; CodeQL analysis completed but security aggregation opened alert #23 (`py/overly-permissive-file`, high) because manifest refresh explicitly changed its atomic temp file to world-readable `0644` | Valid red evidence. Failing-first owner-only regression passes at `0600`; 74 focused/static checks passed and independent reviewer verified atomic replacement, rollback, cleanup, and supported-platform behavior with no P0-P2. Repair push/recheck pending |
|
| 203 |
+
| PR #275 final head `52ddcba6`, 2026-08-21 | GitHub Tests and CodeQL | 19 checks succeeded and one matrix placeholder was intentionally skipped; unit-linux, graph artifact, package smoke, clean-host, similarity, browser, telemetry, CodeQL, and required aggregation were green | Accepted merge evidence; permission repair and complete LFS migration are remotely verified |
|
| 204 |
+
| Merged `main` `b62b78d7`, 2026-08-21 | detached clean-host release hydration and deep graph validation | Without Git LFS or local graph archives, hydrated runtime SHA-256 `d4a39836...` (110,283,462 bytes) and full SHA-256 `2ce8a945...` (295,151,086 bytes); validated 79,958 nodes, 1,778,069 edges, and all catalog member counts | Exact post-merge proof that release assets replace the LFS operational dependency |
|
| 205 |
+
| Local checkout after merge, 2026-08-21 | LFS/config/garbage cleanup and repository integrity | No `.git/lfs`, LFS config, LFS-tracked path, or Git garbage remains; `git fsck --no-dangling` passed. `.scratch/` remains untouched | Local retirement complete; remote billed-object deletion remains external |
|
| 206 |
|
| 207 |
No paid real-provider evaluation has been authorized or run during this
|
| 208 |
hardening pass. A simulated or injected driver is not evidence of live provider
|
|
|
|
| 258 |
|
| 259 |
## Immediate next actions
|
| 260 |
|
| 261 |
+
1. Ask GitHub Support to purge all 45 historical LFS objects (12.131 GiB).
|
|
|
|
|
|
|
|
|
|
|
|
|
| 262 |
Pointer removal alone does not release GitHub's billed remote storage.
|
| 263 |
+
2. Recheck billed storage after Support confirms purge and after the next
|
| 264 |
billing-cycle reset.
|
| 265 |
+
3. Add `main`, tag, and `pypi` environment protection rules as defense in depth;
|
| 266 |
the shipped workflow already enforces exact-main and exact-successful-Tests
|
| 267 |
provenance.
|
| 268 |
|
| 269 |
+
### GitHub Support handoff
|
| 270 |
+
|
| 271 |
+
Support contact: `https://support.github.com/contact`
|
| 272 |
+
|
| 273 |
+
**Subject:** Purge retired Git LFS objects for `stevesolun/ctx`
|
| 274 |
+
|
| 275 |
+
**Request:**
|
| 276 |
+
|
| 277 |
+
> Repository: `https://github.com/stevesolun/ctx`
|
| 278 |
+
>
|
| 279 |
+
> We merged the no-history-rewrite Git LFS retirement in PR #275, merge commit
|
| 280 |
+
> `b62b78d704ec54b3ff43e333982eef713a33c8df`. The repository no longer tracks,
|
| 281 |
+
> downloads, uploads, or needs any Git LFS object. Current graph artifacts are
|
| 282 |
+
> exact, attested GitHub Release assets and were verified from a clean checkout.
|
| 283 |
+
>
|
| 284 |
+
> Please purge every Git LFS object associated with this repository: 45 unique
|
| 285 |
+
> objects totaling 13,025,281,486 bytes (12.131 GiB), and confirm when the
|
| 286 |
+
> repository's billed LFS storage is cleared. We explicitly do not want the
|
| 287 |
+
> repository deleted/recreated and do not need a history rewrite.
|
| 288 |
+
>
|
| 289 |
+
> The Enterprise Cloud repository LFS DELETE endpoint returned HTTP 404 for this
|
| 290 |
+
> personal GitHub.com repository (request ID
|
| 291 |
+
> `C027:354872:36D09:4F64A:6A88AD3E`), so the safe self-service route is not
|
| 292 |
+
> available.
|
| 293 |
+
|
| 294 |
## Checkpoint log
|
| 295 |
|
| 296 |
+
- 2026-08-21: PR #275 final head `52ddcba6` passed 19 remote checks with one
|
| 297 |
+
intentionally skipped matrix placeholder and merged to `main` as
|
| 298 |
+
`b62b78d704ec54b3ff43e333982eef713a33c8df`. CodeQL, unit-linux, full graph,
|
| 299 |
+
clean-host, similarity, browser security, packaging, and required aggregation
|
| 300 |
+
were green. A detached checkout of the exact merge had neither Git LFS nor
|
| 301 |
+
local graph archives; stdlib hydration downloaded the 110,283,462-byte
|
| 302 |
+
runtime and 295,151,086-byte full assets with exact manifest digests, then
|
| 303 |
+
deep validation passed 79,958 nodes and 1,778,069 edges.
|
| 304 |
+
- 2026-08-21: Completed safe local cleanup without rewriting history or touching
|
| 305 |
+
`.scratch/`. Removed all seven release-backed LFS cache objects
|
| 306 |
+
(1,968,180,750 bytes), the now-untracked working graph pair (405,434,548
|
| 307 |
+
bytes), and four stale Git temporary packs (197,656,624 bytes): at least
|
| 308 |
+
2,571,271,922 bytes (2.395 GiB) freed. Removed obsolete checkout-local LFS
|
| 309 |
+
configuration and empty cache metadata. No LFS-tracked path, `.git/lfs`
|
| 310 |
+
directory, LFS config, or Git garbage remains; `git fsck --no-dangling`
|
| 311 |
+
passed. The safe GitHub REST disable attempt returned HTTP 404 because that
|
| 312 |
+
endpoint is not available for this personal repository. Remote object purge
|
| 313 |
+
is now a prepared GitHub Support handoff, not a code or local-disk blocker.
|
| 314 |
- 2026-08-21: Began the safe Git LFS retirement on branch
|
| 315 |
`codex/remove-git-lfs` from `a62a7ff6`. Independent audit counted 45 whole
|
| 316 |
compressed archive objects totaling 13,025,281,486 bytes (12.131 GiB): 31
|