cache-freshness-governance-pack
Installable ADR and SPEC extension pack for HTTP caching and freshness governance.
Overview · Installation · Quick Start · Usage · API · Contributing · Governance · License
Installable SSOT governance pack for HTTP caching and freshness governance documents.
The pack supplies versioned, source-linked ADR and SPEC templates for Cache Freshness Governance Pack.
Use this pack when a downstream SSOT Registry needs reusable decisions and requirements for Cache Freshness Governance Pack.
Included ADRs
adr:cache-freshness-standards-targets-reviewed-before-inclusion— Cache/freshness standards targets are reviewed before governance inclusion
Included SPECs
spc:cache-freshness-governance-target-review— Cache/freshness governance target review
The pack supplies governance records. A downstream application implements the controls and collects its own conformance evidence.
Use Python >=3.10,<3.15. Downstream synchronization also requires SSOT Registry and permission to write the target registry.
uv add cache-freshness-governance-packpython -m pip install cache-freshness-governance-packpoetry add cache-freshness-governance-packSource: examples/quick_start.py.
"""Inspect the installed pack identity."""
from cache_freshness_governance_pack import load_pack_metadata
metadata = load_pack_metadata()
assert metadata["origin"]["id"] == "pack:cache-freshness-governance"
print(metadata["origin"]["id"])The script prints pack:cache-freshness-governance from the installed pack metadata.
Source: examples/usage.py.
"""Find a specification and its downstream path in the installed manifest."""
from cache_freshness_governance_pack import load_document_manifest
specification = next(
row for row in load_document_manifest("spec")
if row["id"] == "spc:cache-freshness-governance-target-review"
)
assert specification["target_path"] == ".ssot/specs/SPEC-0900-cache-freshness-governance-target-review.yaml"Use the downstream environment that has both SSOT Registry and cache-freshness-governance-pack installed. Inspect the pack and preflight the target registry before approving synchronization.
uv run ssot pack inspect cache_freshness_governance_pack
uv run ssot pack preflight . cache_freshness_governance_pack --all
uv run ssot pack sync . cache_freshness_governance_pack --all --trust --yes
uv run ssot validate .Select the installed import package cache_freshness_governance_pack in SSOT Registry. Review reservation owner extension-pack:cache-freshness-governance-pack and the target's trust policy before syncing.
If preflight reports a schema, trust, or document-number conflict, resolve it in the target registry and repeat preflight before synchronization.
Pin the pack version in downstream projects. Reference document IDs in local governance and inspect the change set before granting trust.
The pack owns the Cache Freshness Governance Pack ADRs and SPECs listed under Features.
Import load_pack_metadata, load_document_manifest, and read_packaged_document_text from cache_freshness_governance_pack to inspect packaged records.
This package declares no command-line, GUI, or plugin entry points in its manifest.
The package binds its metadata and document loaders through ssot-pack-contracts. The caller supplies the target registry to SSOT Registry when synchronizing.
SSOT Registry uses the pack metadata, document manifests, and bundled templates during inspect, preflight, and sync.
Define downstream policies as local records and reference the pack's document IDs. Send proposed changes to the canonical pack through repository review.
Local inspection reads installed package resources. Synchronization requires an initialized downstream registry and explicit operator approval.
Review the preflight and sync output, then use ssot validate to check the resulting registry.
Implicit trust is disabled. Review the exact distribution, version, records, and reserved IDs before enabling trust in a target registry.
- Python
>=3.10,<3.15 - SSOT Registry schema
>=0.4.0 - SSOT pack contracts
>=0.2.17,<0.3.0
Run python -m unittest discover -s tests -v with the pack installed. The README workflow checks the source README and runs both examples against an installed wheel.
The pack has no external certification. Downstream adoption requires evidence for the controls an application implements.
See the README workflow for package and documentation verification and the packaged records for document-level sources.
Why do document IDs matter? Downstream records use them to trace an adopted decision or requirement to the pack that owns it.
How do I preview changes? Use the registry's pack preflight before approving a sync.
When should I upgrade? Read the changelog and preflight the new version against the target registry before applying it.
See the Pack guide, changelog, and pack metadata.
SSOT Registry manages downstream registries. SSOT Pack Contracts provides the shared pack interface.
Open an issue or pull request describing the affected records, their authority, and the expected downstream effect.
Install the checkout with python -m pip install -e ., then run python -m unittest discover -s tests -v. On Python 3.11 or newer, run uvx --from readme-standards==0.1.3 readme-standards check.
Keep source links, document identifiers, and committed manifest hashes aligned. Run uvx --from readme-standards==0.1.3 readme-standards render --write after changing generated README inputs.
Groupsum maintains pack:cache-freshness-governance. The pack's reservation owner is extension-pack:cache-freshness-governance-pack. Downstream registry operators approve synchronization.
Review the governance documentation and the primary references carried by the individual records.
Review release changes and preflight the chosen version against each downstream registry.
Licensed under Apache-2.0. See LICENSE.
No separate NOTICE file is declared. Review the license and bundled third-party attributions.