Skip to content

fix(security): enforce private HTTP cache policy and exact-artifact promotion (#53, #92) - #101

Closed
agustin18 wants to merge 20 commits into
stablefrom
fix/060-release-privacy-and-evidence
Closed

agustin18 wants to merge 20 commits into
stablefrom
fix/060-release-privacy-and-evidence

Conversation

@agustin18

@agustin18 agustin18 commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Superseded by #104. All corrections and commits from this exact green HEAD are retained in #104, which adds the permanent technical-evidence release policy. No merge occurred here. Earlier consumer-quota language is historical and superseded.

Scope-limited 0.6.0 corrective candidate — NOT authorization to publish

Published baseline remains 0.5.0. This draft incorporates the maintainer-directed corrections from the release review after #94 merge.

  • Check every Authorization/Cookie header occurrence, preserving default bypass and ordinary key compatibility.
  • For cached results on explicit authenticated-caching opt-in routes, keep generated HTTP Cache-Control private, no-store (MISS/HIT/304, including returned Response). Server-side authorization/key completeness remains application-owned.
  • Synthetic regression tests for duplicate fields, authenticated/anonymous requests and the hidden-context limitation with explicit bypass. See the draft versioned risk disposition under audit/security.
  • Phase B builds one pair; seven installed security profiles install those exact artifacts, alongside 12 migration lanes. Both publication workflows require a successful final stable manual run, matching annotated tag and approved SHA-256 values; never rebuild. Production requires TestPyPI digest parity and the existing authenticated Dependabot delta.
  • Reconcile the 0.6.0 technical-release exception: policy: retire mandatory external consumer validation quota #91 stays open, public evidence remains 0/2, broad promotion waits for real consumer evidence and verified docs. No claims of adoption, universal safety or feature parity.
  • Preserve 0.5.0 history; 0.7.0+ research stays outside this release.

Counteraudit requested

Review runtime semantics, privacy boundaries, reusable exact-bundle security workflow, fail-closed release verifier, test coverage and revised gate documentation on the exact head. The final promotion PR must still consume all staged Towncrier fragments using the stable base, update version-specific documentation/tests, and rerun complete evidence on its final stable SHA. No risk acceptance or publish authorization is inferred. Do not dispatch publication workflows before separate explicit approval.

Refs #53 #91 #92 #95 #48. No new optional caching features.

Copy link
Copy Markdown
Owner Author

Counteraudit handoff — corrective 0.6.0 candidate (not release approval)

Exact review HEAD: 354acf207fd6266f68dd6c6d6dd7ed60296074f2; base cf9983ce34e92ea2bb4ad4568a195191305fe914. Draft #101 remains unmerged. Published baseline is 0.5.0.

The candidate addresses:

Exact HEAD workflows (inspect final conclusions, not previous SHA):
CI · Phase B + exact security · source-only installed diagnostics · Redis · CodeQL · docs · changelog · title.

Previous lint errors were corrected in this HEAD; new complete results are still required. Do not merge while checks are pending/red. Review the correctness of the new release-verification workflow, not just source tests. If approved and all checks green, merge #101 only with separate maintainer authorization, then prepare the Towncrier promotion PR from the resulting stable (consume staged fragments; reconcile old candidate-only tests/docs). Rebuild final stable bundle, rerun exact checks and record fresh individual hashes, Dependabot delta and explicit risk acceptance; tag/TestPyPI/PyPI remain separately authorized. No new feature in 0.6.0.

Disposition at handoff: implementation staged; exact-head CI and independent counteraudit pending; publication NO-GO.

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