# v1.66 Milestone Audit

Status: passed

## Scope Closed

- Phase `131`: Package Identity And Distribution Asset Contract
- Phase `132`: PyPI Install Surface And Migration
- Phase `133`: Closure And Clean-Install Audit

## Production Outcome

`v1.66` now exposes a publishable public-package surface through:

- `research/knowledge-hub/setup.py`
- `research/knowledge-hub/pyproject.toml`
- `research/knowledge-hub/knowledge_hub/bundle_support.py`
- `research/knowledge-hub/knowledge_hub/frontdoor_support.py`
- `research/knowledge-hub/runtime/scripts/run_dependency_contract_acceptance.py`
- `research/knowledge-hub/runtime/scripts/run_public_install_smoke.py`
- `docs/PUBLISH_PYPI.md`

The milestone adds:

- one actual publishable distribution name, `aitp-kernel`, while preserving the
  `aitp` CLI entrypoint
- one packaged runtime-bundle contract that survives outside a git checkout
- one clean-install smoke proof on an isolated virtualenv rather than a
  repo-local editable-install illusion

## Verification Evidence

- packaging/install contract slice:
  - `python -m unittest discover -s research/knowledge-hub/tests -p "test_agent_bootstrap_assets.py"`
  - result: `12 tests passed`
- documentation entrypoint slice:
  - `python -m unittest discover -s research/knowledge-hub/tests -p "test_documentation_entrypoints.py"`
  - result: `3 tests passed`
- dependency contract slice:
  - `python -m unittest discover -s research/knowledge-hub/tests -p "test_dependency_contracts.py"`
  - result: `4 tests passed`
- quickstart contract slice:
  - `python -m unittest discover -s research/knowledge-hub/tests -p "test_quickstart_contracts.py"`
  - result: `2 tests passed`
- public install smoke contract slice:
  - `python -m unittest discover -s research/knowledge-hub/tests -p "test_public_install_contracts.py"`
  - result: `3 tests passed`
- distribution metadata acceptance:
  - `python research/knowledge-hub/runtime/scripts/run_dependency_contract_acceptance.py --json`
  - result: `success`
- clean-install smoke acceptance:
  - `python research/knowledge-hub/runtime/scripts/run_public_install_smoke.py --json`
  - result: `success`
