Skip to content

fix(release): enforce privacy and technical release criteria - #104

Merged
agustin18 merged 23 commits into
stablefrom
release/060-maintainer-validation-policy
Nov 21, 2026
Merged

agustin18 merged 23 commits into
stablefrom
release/060-maintainer-validation-policy

Conversation

@agustin18

Copy link
Copy Markdown
Owner

Summary

Supersedes draft #101 without dropping any of its corrections. This branch contains its exact green HEAD 354acf207fd6266f68dd6c6d6dd7ed60296074f2 plus one policy-only commit. Review the combined diff against stable and rerun all gates on this HEAD.

  • Preserve security(cache): residual hidden tenant/identity context and header-cardinality safety after 0.5.0 #53 credential occurrence detection, authenticated cache HTTP privacy and synthetic negative tests.
  • Preserve release(0.6): technical release acceptance, exact artifacts and security #92 exact wheel/sdist promotion, migration and installed-security checks, TestPyPI digest parity, authenticated Dependabot delta, version-matching annotated tag and manual authorization.
  • Permanently remove minimum external-consumer, deployment and testimonial counts from release and announcement criteria. Maintainer-operated reproducible tests and project integration fixtures are valid technical evidence within their scope. Voluntary user reports improve coverage; no claim of external adoption or production certification is implied.
  • Define the policy in CONTRIBUTING, reconcile active roadmap/release docs, and add regression checks. Public documentation must be accurate; hosted site deployment is separate from publication.

Compatibility and release scope

Published baseline remains 0.5.0. No new runtime behavior beyond #101; no post-0.6 features. Preserve historical release records. The policy change does not waive security, technical verification or manual publication approval.

Review

  • Full exact-head CI, Phase B (1 build + 12 migration + 7 exact-bundle installed security), Redis, CodeQL, documentation and changelog.
  • Local counteraudit of fix(security): enforce private HTTP cache policy and exact-artifact promotion (#53, #92) #101's preserved technical changes and policy delta.
  • After explicit merge authorization, prepare final Towncrier promotion and version-accurate docs; rerun evidence from final stable SHA.
  • Final hashes, independent risk review, fresh Dependabot and separate tag/TestPyPI/PyPI approval.

Refs #53 #92 #95 #91 (retired quota). No tag or publication authorized.

Copy link
Copy Markdown
Owner Author

Contraauditoría registrada. 78/78 jobs confirmados sobre f11aa65; nuevo HEAD c662e6c contiene únicamente el registro de auditoría. GO política, CONDITIONAL GO técnico, NO-GO merge hasta CA1/CA2 y revisión. #53/#92 actualizados. No publicación autorizada.

Copy link
Copy Markdown
Owner Author

Remediation commit 8ff49aa28632e87db0586bec771483910ebf5554 is ready for incremental review (not release approval).

  • CA1 README/MIGRATION: same route-specific example uses trusted, validated subject/tenant/session/permission/representation tuple and JSON + HMAC, rejects missing identity or unsupported request context, no global opt-in. Execute both actual snippets in tests/test_documented_identity_key.py. Synthetic helpers distinguish all header occurrences; added plain JsonCoder JSONResponse case.
  • CA2/CA3: validate first dispatch attempt and every named successful job (20/20), require same run/attempt in migration lanes, reject missing/extra/duplicate/yanked/wrong hash/version or malformed/unavailable TestPyPI response. Both publishing workflows retrieve the attempt-specific job report. No publish attempted. Final live tag and cross-run retrieval smoke validation still required after promotion; do not authorize release on the basis of synthetic tests alone.
  • CA4/CA5: clarify release-specific RC limitations and unpublished HTTP privacy change. No runtime source change or adoption requirement.

Compare audit-record HEAD to correction. Review exact HEAD CI and delta only, including actual snippets' FastAPI calling contract, job names/API response, negative tests, and publication permissions. Final stable evidence, environment restrictions, risk acceptance and separate tag/TestPyPI/PyPI approval remain pending. Do not merge or publish without authorization.

Copy link
Copy Markdown
Owner Author

Incremental technical review — exact HEAD 8ff49aa

GO permanent release policy and CA1–CA5 corrective delta; conditional GO to merge solely pending explicit reviewed risk decision and maintainer authorization. NO-GO to publish the current source candidate.

Evidence read from GitHub: 80/80 successful jobs over nine workflows; Python 3.12 test job logs 516 passed, 18 skipped, including all 10 documentation example cases, 38 bundle tests and 33 auth privacy cases. Phase B lists the exact 20 names expected by validate_jobs. The docs use validated request.state identity, structured serialization, narrow route scope and fail closed. Duplicate nonempty Authorization/Cookie default bypass before lookup; cacheable opt-in HTTP responses including anonymous, dict, JsonCoder/Response and PickleCoder cases get private/no-store on MISS/HIT/304. No new reproducible package-owned private replay established in reviewed evidence; not a universal safety guarantee.

Release code requires same-repository manual stable run, exact SHA/path, successful first attempt/all 20 named jobs, matching names/provenance/manifest/individual hashes; TestPyPI rejects mismatched/missing/additional/duplicate/yanked files and malformed or unavailable response. Pin action refs, read-only metadata retrieval, production vulnerability-alerts read, OIDC only in publish job. Remaining actual final SHA proof includes live attempt API/download/tag preflight, environment/trusted publisher restrictions, fresh authenticated dependency delta, final file hashes, no-rebuild index parity and smoke installs. PR CI is not final stable evidence.

Bounded residuals A1-A6 in versioned risk record remain application/infrastructure/shared responsibilities: validated principal/permissions before cache access; explicit key dimensions or bypass; trusted proxy; cardinality bounds; scoped namespace/intermediary cleanup; process-global config isolation; trusted deserialization. Package-owned reproducible unmitigated disclosure blocks release. Risk acceptance belongs to the maintainer; no hired auditor certificate or external adoption mandatory. This is an AI-assisted source/CI review, not independent human certification or maintainer signoff.

Tracker reconciliation: #88, #48, #91, #92, #86 bodies replaced with current operational checklists, obsolete quotas removed rather than hidden. #95 quality roadmap already consistent. No new issue necessary; #53/#92 remain open until final evidence. Do not change candidate SHA solely to append another review: this comment records verdict against that immutable SHA; incorporate approved risk disposition and evidence scope during authorized promotion, and verify final SHA afterward. No merge/tag/upload/deployment authorized.

@agustin18
agustin18 marked this pull request as ready for review November 21, 2026 18:52
@agustin18
agustin18 merged commit b5d9e12 into stable Nov 21, 2026
80 checks passed
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