@amsterdamdatalabs/adl-agent-control-darwin-arm64 0.1.59 → 0.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/adl +2 -2
- package/bin/health-check +13 -1
- package/bin/job-watchdog +11 -0
- package/bin/setup +41 -0
- package/bin/validate-manifest +22 -1
- package/package.json +2 -1
- package/packages/agent-hooks/README.md +24 -0
- package/packages/agent-hooks/assets/automation-exempt.json +434 -0
- package/packages/agent-hooks/src/gating/config.ts +53 -5
- package/packages/agent-hooks/src/pre-tool-use/handler.ts +28 -6
- package/packages/agent-hooks/src/rules/automation-exempt.ts +16 -0
- package/packages/agent-hooks/src/rules/engine.ts +47 -1
- package/packages/agent-hooks/src/rules/impl/adl-human-azdo-bypass.ts +76 -13
- package/packages/agent-pool/image/provision.sh +122 -0
- package/packages/agent-skills/assets/implement-feature/SKILL.md +1 -1
- package/packages/agent-skills/assets/plan-feature/SKILL.md +10 -5
- package/packages/agent-skills/assets/workitems-process/SKILL.md +3 -3
- package/packages/agent-skills/assets/workitems-process/references/ado-and-git.md +1 -1
- package/packages/fleet/manifest.json +36 -12
- package/packages/fleet/manifest.schema.json +34 -0
- package/packages/repo-controls/README.md +39 -0
- package/packages/repo-controls/assets/automation-exempt.json +265 -0
- package/packages/repo-controls/package/adl-compliance/pyproject.toml +13 -3
- package/packages/repo-controls/package/adl-compliance/uv.lock +54 -74
- package/packages/repo-controls/src/automation-exempt.ts +20 -0
- package/packages/repo-controls/src/config.ts +43 -2
- package/packages/repo-controls/src/constants.ts +27 -0
- package/packages/repo-controls/src/hook.ts +53 -11
- package/bin/lean-ctx-observe-strip +0 -434
- package/bin/lib/lean-ctx-observe-hooks.sh +0 -634
- package/bin/update-azure-agent-pool +0 -29
- package/packages/agent-hooks/src/hooks/lean-ctx/handler.ts +0 -22
- package/packages/agent-hooks/src/hooks/lean-ctx/index.ts +0 -173
- package/packages/agent-hooks/src/hooks/lean-ctx/mapping.ts +0 -121
- package/packages/agent-hooks/src/hooks/lean-ctx/scope-rewrite.ts +0 -207
- package/packages/agent-hooks/src/lean-ctx/env.ts +0 -123
- package/packages/agent-hooks/src/lean-ctx/mcp.ts +0 -142
- package/packages/agent-hooks/src/rules/impl/adl-build-run-denied.ts +0 -51
- package/packages/agent-hooks/src/rules/impl/adl-session-required.ts +0 -403
- package/packages/agent-hooks/src/rules/impl/tool-lean-ctx-global.ts +0 -594
- package/packages/agent-settings/assets/GLOBAL-AGENTS.md +0 -112
- package/packages/agent-settings/assets/lean-ctx/config.toml +0 -42
- package/packages/agent-settings/assets/lean-ctx/gitignore +0 -10
- package/packages/agent-settings/assets/lean-ctx/layout.toml +0 -7
- package/packages/agent-settings/src/deploy/lean-ctx-deploy.ts +0 -230
- package/packages/agent-settings/src/deploy/lean-ctx-merge.ts +0 -580
- package/packages/agent-skills/assets/adl-mechanics/SKILL.md +0 -38
- package/packages/agent-skills/assets/codebase-design/SKILL.md +0 -98
- package/packages/agent-skills/assets/codebase-design/references/DEEPENING.md +0 -37
- package/packages/agent-skills/assets/codebase-design/references/DESIGN-IT-TWICE.md +0 -44
- package/packages/agent-skills/assets/codebase-design/references/TESTABILITY.md +0 -29
- package/packages/agent-skills/assets/debug-issue/SKILL.md +0 -41
- package/packages/agent-skills/assets/domain-modeling/SKILL.md +0 -86
- package/packages/agent-skills/assets/domain-modeling/references/ADR-FORMAT.md +0 -47
- package/packages/agent-skills/assets/domain-modeling/references/CONTEXT-FORMAT.md +0 -60
- package/packages/agent-skills/assets/implement/SKILL.md +0 -28
- package/packages/agent-skills/assets/review-changes/SKILL.md +0 -45
- package/packages/agent-skills/assets/tdd/SKILL.md +0 -49
- package/packages/agent-skills/assets/tdd/references/mocking.md +0 -59
- package/packages/agent-skills/assets/tdd/references/tests.md +0 -77
- package/packages/agent-skills/assets/testing/SKILL.md +0 -54
- package/packages/agent-skills/assets/testing/references/e2e.md +0 -37
- package/packages/agent-skills/assets/testing/references/integration.md +0 -37
- package/packages/agent-skills/assets/testing/references/unit.md +0 -32
- package/packages/agent-skills/assets/to-feature/SKILL.md +0 -91
- package/packages/agent-skills/assets/to-feature/references/FEATURE-SPEC-TEMPLATE.md +0 -88
- package/packages/agent-skills/assets/to-workitems/SKILL.md +0 -90
- package/packages/agent-skills/assets/to-workitems/references/AZURE-DEVOPS-HIERARCHY.md +0 -121
- package/packages/agent-skills/assets/to-workitems/references/TICKET-TEMPLATES.md +0 -70
- package/packages/azdo/src/workflow-rules-matrix.csv +0 -85
- package/packages/fleet/src/launch-agents.ts +0 -649
- package/packages/repo-controls/assets/GLOBAL-INVARIANTS.md +0 -21
- package/packages/repo-controls/assets/enable-integration-auto-complete.mjs +0 -79
- package/packages/repo-controls/assets/scaffold/docs/notes.md +0 -20
- package/packages/repo-controls/assets/scaffold/plans/GAPS-AND-FINDINGS.md +0 -12
- package/packages/repo-controls/azure-pipelines.yml +0 -274
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/docs/closed_set/fixtures/docs/notes.md +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/docs/english_only/fixtures/excluded/frontend/mobile/src/i18n/locales/zh-CN/strings.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/docs/okf_profile/fixtures/okf-ledger-clean/docs/notes.md +0 -17
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/docs/okf_profile/fixtures/okf-ledger-no-lines/docs/notes.md +0 -13
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/docs/semantics/fixtures/semantics-violations/docs/architecture/product/stable-delivery.md +0 -10
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/docs/semantics/fixtures/semantics-violations/docs/architecture/product/stable-recommendation.md +0 -12
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/docs/semantics/fixtures/semantics-violations/docs/architecture/product/target-narration.md +0 -10
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-clean/frontend/packages/desktop/src/renderer/solo/item.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-empty-register/frontend/packages/desktop/src/a.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-empty-register/frontend/packages/desktop/src/b.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/fresh/fresh.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/many/sub1/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/many/sub10/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/many/sub11/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/many/sub2/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/many/sub3/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/many/sub4/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/many/sub5/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/many/sub6/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/many/sub7/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/many/sub8/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/many/sub9/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/services/i18n/locales/de/common.json +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/renderer/solo/item.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-excluded/frontend/packages/desktop/src/vendored-crate/Cargo.toml +0 -2
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-missing-tree/frontend/packages/desktop/src/renderer/solo/item.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-no-ceilings/frontend/packages/desktop/src/a.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-no-ceilings/frontend/packages/desktop/src/b.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-no-ceilings/frontend/packages/desktop/src/c.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-stale-entry/frontend/packages/desktop/src/renderer/solo/item.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/fresh/fresh.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/many/sub1/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/many/sub10/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/many/sub11/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/many/sub2/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/many/sub3/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/many/sub4/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/many/sub5/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/many/sub6/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/many/sub7/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/many/sub8/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/many/sub9/only.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unbaselined/frontend/packages/desktop/src/renderer/solo/item.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/directory_ratchet/fixtures/directory-ratchet-unusable-register/frontend/packages/desktop/src/renderer/solo/item.ts +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/open_work_cap/fixtures/open-work-cap-clean/plans/GAPS-AND-FINDINGS.md +0 -5
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/open_work_cap/fixtures/open-work-cap-clean/plans/features/az601-clean/spec.md +0 -10
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/placement/fixtures/placement-allowed/agent/crates/enact-providers/src/snapshots/README.md +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/placement/fixtures/placement-allowed/backend/crates/enact-app/assets/builtin-assistants/avatars/assistant.jpg +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/placement/fixtures/placement-allowed/backend/crates/enact-assets/assets/logos/tools/coding/tool.png +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/placement/fixtures/placement-allowed/backend/crates/enact-session/src/backend/codex_init_prompt.md +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/placement/fixtures/placement-allowed/frontend/mobile/assets/images/icon.png +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/placement/fixtures/placement-allowed/frontend/packages/desktop/src/renderer/assets/logos/brand/app.png +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/placement/fixtures/placement-allowed/frontend/packages/desktop/src/renderer/assets/themes/default-theme.png +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/placement/fixtures/placement-allowed/frontend/public/pwa/icon-192.png +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/placement/fixtures/placement-allowed/frontend/resources/product.png +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/placement/fixtures/placement-stray/backend/crates/enact-session/src/backend/README.md +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/plans_layout/fixtures/plans-layout-clean/plans/features/az347-test-coverage/spec.md +0 -12
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/plans_layout/fixtures/plans-layout-violation/plans/features/az347-test-coverage/spec.md +0 -12
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/__init__.py +0 -11
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/check.py +0 -62
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/fixtures/migration-filenames/backend/crates/demo/NotAMigration.sql +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/fixtures/migration-filenames/backend/crates/demo/migrations/0001_long_prefix.sql +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/fixtures/migration-filenames/backend/crates/demo/migrations/001_init.sql +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/fixtures/migration-filenames/backend/crates/demo/migrations/002_add_index.sql +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/fixtures/migration-filenames/backend/crates/demo/migrations/003-dashed-slug.sql +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/fixtures/migration-filenames/backend/crates/demo/migrations/004_MixedCase.sql +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/fixtures/migration-filenames/backend/crates/demo/migrations/005_trailing space.sql +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/fixtures/migration-filenames/backend/crates/demo/migrations/01_short_prefix.sql +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/fixtures/migration-filenames/backend/crates/demo/migrations/not-a-migration.sql +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/profile_data/test_check.py +0 -116
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/references/fixtures/link-targets-broken/docs/architecture/product/links.md +0 -20
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/references/fixtures/link-targets-broken/docs/architecture/product/route-target.md +0 -8
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/references/fixtures/link-targets-clean/docs/architecture/product/links.md +0 -20
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/references/fixtures/link-targets-clean/docs/architecture/product/route-target.md +0 -8
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/root_closed_set/fixtures/.changeset/declared.txt +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/layout/root_markdown_allowlist/fixtures/root-markdown-clean/INDEPENDENT-VERIFICATION.md +0 -3
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/lfs/integrity/fixtures/attribute-without-conversion/.gitattributes +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/lfs/integrity/fixtures/attribute-without-conversion/large file.bin +0 -3
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/lfs/integrity/fixtures/clean/.gitattributes +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/lfs/integrity/fixtures/clean/large file.bin +0 -3
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/lfs/integrity/fixtures/clean/small.txt +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/lfs/integrity/fixtures/missing-filter/large file.bin +0 -0
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/lfs/integrity/fixtures/unmatched-extension/.gitattributes +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/lfs/integrity/fixtures/unmatched-extension/payload.dat +0 -0
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/pipeline/__init__.py +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/pipeline/phase_disjoint/__init__.py +0 -12
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/pipeline/phase_disjoint/check.py +0 -129
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/pipeline/phase_disjoint/fixtures/disjoint/gate-registry.yaml +0 -13
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/pipeline/phase_disjoint/fixtures/empty/gate-registry.yaml +0 -7
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/pipeline/phase_disjoint/fixtures/overlapping/gate-registry.yaml +0 -13
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/pipeline/phase_disjoint/test_check.py +0 -109
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/__init__.py +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/changeset_plan/__init__.py +0 -11
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/changeset_plan/check.py +0 -149
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/changeset_plan/fixtures/clean/docs/readme.md +0 -4
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/changeset_plan/fixtures/relevant/VERSION +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/changeset_plan/test_check.py +0 -151
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/version_release/__init__.py +0 -11
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/version_release/check.py +0 -202
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/version_release/fixtures/aligned/.workflows/changesets/package.json +0 -5
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/version_release/fixtures/aligned/.workflows/package.json +0 -5
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/version_release/fixtures/aligned/CHANGELOG.md +0 -5
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/version_release/fixtures/aligned/VERSION +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/version_release/fixtures/mismatched/.workflows/changesets/package.json +0 -5
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/version_release/fixtures/mismatched/.workflows/package.json +0 -5
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/version_release/fixtures/mismatched/CHANGELOG.md +0 -5
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/version_release/fixtures/mismatched/VERSION +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/release/version_release/test_check.py +0 -162
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/repository/banned_commands/check.py +0 -103
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/repository/lockfile_integrity/fixtures/clean/backend/Cargo.lock +0 -7
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/repository/lockfile_integrity/fixtures/clean/backend/Cargo.toml +0 -4
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/repository/lockfile_integrity/fixtures/clean/backend/rust-toolchain.toml +0 -3
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/repository/lockfile_integrity/fixtures/clean/backend/src/main.rs +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/repository/lockfile_integrity/fixtures/clean/frontend/bun.lock +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/repository/lockfile_integrity/fixtures/empty-bun-lock/backend/Cargo.lock +0 -7
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/repository/lockfile_integrity/fixtures/empty-bun-lock/backend/Cargo.toml +0 -4
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/repository/lockfile_integrity/fixtures/empty-bun-lock/backend/rust-toolchain.toml +0 -3
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/repository/lockfile_integrity/fixtures/empty-bun-lock/backend/src/main.rs +0 -1
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/checks/repository/lockfile_integrity/fixtures/empty-bun-lock/frontend/bun.lock +0 -0
- package/packages/repo-controls/package/adl-compliance/src/adl_compliance/policy/grants-registry.yaml +0 -112
- package/packages/repo-controls/workflows/scripts/release/verify-npm-artifact.ts +0 -119
|
@@ -165,6 +165,17 @@
|
|
|
165
165
|
"search": {"manager": "shim", "package": "enact-docs-search", "executable": "/usr/local/bin/search"},
|
|
166
166
|
"shfmt": {"manager": "brew", "package": "shfmt", "executable": "shfmt"},
|
|
167
167
|
"tailscale": {"manager": "apt", "package": "tailscale", "executable": "/usr/bin/tailscale"},
|
|
168
|
+
"build-essential": {"manager": "apt", "package": "build-essential", "executable": "/usr/bin/make"},
|
|
169
|
+
"docker-engine": {"manager": "apt", "package": "docker-ce", "executable": "/usr/bin/dockerd"},
|
|
170
|
+
"git-lfs": {"manager": "apt", "package": "git-lfs", "executable": "/usr/bin/git-lfs"},
|
|
171
|
+
"golang-go": {"manager": "apt", "package": "golang-go", "executable": "/usr/bin/go"},
|
|
172
|
+
"lsof": {"manager": "apt", "package": "lsof", "executable": "/usr/bin/lsof"},
|
|
173
|
+
"postgresql-18": {"manager": "apt", "package": "postgresql-18", "executable": "/usr/lib/postgresql/18/bin/postgres"},
|
|
174
|
+
"python3": {"manager": "apt", "package": "python3", "executable": "/usr/bin/python3"},
|
|
175
|
+
"cargo": {"manager": "apt", "package": "cargo", "executable": "/usr/bin/cargo"},
|
|
176
|
+
"rustc": {"manager": "apt", "package": "rustc", "executable": "/usr/bin/rustc"},
|
|
177
|
+
"unzip": {"manager": "apt", "package": "unzip", "executable": "/usr/bin/unzip"},
|
|
178
|
+
"xvfb": {"manager": "apt", "package": "xvfb", "executable": "/usr/bin/xvfb-run"},
|
|
168
179
|
"uv": {"manager": "brew", "package": "uv", "executable": "uv"},
|
|
169
180
|
"yq": {"manager": "brew", "package": "yq", "executable": "yq"}
|
|
170
181
|
}
|
|
@@ -186,11 +197,7 @@
|
|
|
186
197
|
{"name": "kimi", "manager": "native", "command": "kimi", "update_args": ["upgrade"]},
|
|
187
198
|
{"name": "codex", "manager": "unknown", "report_only": true, "executable": "/root/codex"}
|
|
188
199
|
],
|
|
189
|
-
"tools": {
|
|
190
|
-
"docker-engine": {"manager": "apt", "package": "docker-ce", "executable": "/usr/bin/dockerd"},
|
|
191
|
-
"lsof": {"manager": "apt", "package": "lsof", "executable": "/usr/bin/lsof"},
|
|
192
|
-
"unzip": {"manager": "apt", "package": "unzip", "executable": "/usr/bin/unzip"}
|
|
193
|
-
}
|
|
200
|
+
"tools": {}
|
|
194
201
|
},
|
|
195
202
|
"strato-vps-1": {
|
|
196
203
|
"administrator": "root",
|
|
@@ -202,17 +209,34 @@
|
|
|
202
209
|
"scratch_repos": ["/root/enact-webview"],
|
|
203
210
|
"repo_location": "/root/workspace",
|
|
204
211
|
"brew_upgrade_all": true,
|
|
212
|
+
"services": {
|
|
213
|
+
"agent_pool": {
|
|
214
|
+
"org": "amsterdamdatalabs",
|
|
215
|
+
"project": "Enact-Now-AI-AzDo",
|
|
216
|
+
"queue_id": 80,
|
|
217
|
+
"identity": "agent-tarun",
|
|
218
|
+
"server_type": "cpx42",
|
|
219
|
+
"location": "fsn1",
|
|
220
|
+
"snapshot_label_selector": "adl-pool-image=enact",
|
|
221
|
+
"agents_per_server": 2,
|
|
222
|
+
"max_servers": 5,
|
|
223
|
+
"max_lifetime_minutes": 360,
|
|
224
|
+
"register_timeout_minutes": 15,
|
|
225
|
+
"poll_seconds": 60,
|
|
226
|
+
"queue_threshold": 1,
|
|
227
|
+
"trigger_ticks": 3,
|
|
228
|
+
"hour_end_window_minutes": 10,
|
|
229
|
+
"vault_env_file": "/etc/adl/agent-pool-vault.env",
|
|
230
|
+
"capabilities": {"Agent.OS": "Linux", "docker": "present"},
|
|
231
|
+
"sp_client_id": "f34d1cd9-4fa1-47bb-9e82-ad9f5cb78a11",
|
|
232
|
+
"sp_tenant_id": "49d4be4b-06f2-42b7-91bc-a17ccde6f0ce"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
205
235
|
"surface_clis": [
|
|
206
236
|
{"name": "opencode", "manager": "bun", "package": "opencode-ai", "command": "opencode"},
|
|
207
237
|
{"name": "kimi", "manager": "native", "command": "kimi", "update_args": ["upgrade"]}
|
|
208
238
|
],
|
|
209
|
-
"tools": {
|
|
210
|
-
"docker-engine": {"manager": "apt", "package": "docker-ce", "executable": "/usr/bin/dockerd"},
|
|
211
|
-
"lsof": {"manager": "apt", "package": "lsof", "executable": "/usr/bin/lsof"},
|
|
212
|
-
"postgresql-18": {"manager": "apt", "package": "postgresql-18", "executable": "/usr/lib/postgresql/18/bin/postgres"},
|
|
213
|
-
"unzip": {"manager": "apt", "package": "unzip", "executable": "/usr/bin/unzip"},
|
|
214
|
-
"xvfb": {"manager": "apt", "package": "xvfb", "executable": "/usr/bin/xvfb-run"}
|
|
215
|
-
}
|
|
239
|
+
"tools": {}
|
|
216
240
|
}
|
|
217
241
|
}
|
|
218
242
|
}
|
|
@@ -291,6 +291,40 @@
|
|
|
291
291
|
"description": "One absolute directory on this host. `adl reconcile` maintains (fetch --prune, fast-forward integration and main, safe branch prune, then `adl install --repo`) every IMMEDIATE child of it that carries adl-config.toml and is a git top-level, as the device administrator. It is the entire scope of that step: nothing outside it is scanned or touched, and a child that resolves outside it is refused. A missing or unreadable location fails the run; a host that declares none skips the step with a log line. The case-insensitive azagent/vsts.agent ban keeps it away from Azure Pipelines agent installs (JSON Schema `pattern` has no case-insensitive flag, so the classes are spelled out).",
|
|
292
292
|
"pattern": "^/(?!$)(?!.*\\s)(?!.*/$)(?!.*\\.\\.)(?!.*[aA][zZ][aA][gG][eE][nN][tT])(?!.*[vV][sS][tT][sS]\\.[aA][gG][eE][nN][tT]).+$"
|
|
293
293
|
},
|
|
294
|
+
"services": {
|
|
295
|
+
"type": "object",
|
|
296
|
+
"description": "Long-running systemd services this device runs (Linux only; `adl fleet setup` renders and enables one unit per entry and removes a unit whose entry is gone). Declared here, never passed as environment variables.",
|
|
297
|
+
"additionalProperties": false,
|
|
298
|
+
"properties": {
|
|
299
|
+
"agent_pool": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"description": "Feature 758: `adl pool run --host NAME`, the elastic Hetzner Azure Pipelines agent poller. Maps 1:1 onto PoolConfig (packages/agent-pool/src/types.ts) in snake_case, plus `project` (the Azure DevOps project of the queue), `vault_env_file` (root-only Agent Vault env file), `sp_client_id` and `sp_tenant_id` (the service principal agents register with).",
|
|
302
|
+
"additionalProperties": false,
|
|
303
|
+
"required": ["org", "project", "queue_id", "identity", "server_type", "location", "snapshot_label_selector", "agents_per_server", "max_servers", "max_lifetime_minutes", "register_timeout_minutes", "poll_seconds", "queue_threshold", "trigger_ticks", "hour_end_window_minutes", "vault_env_file", "capabilities", "sp_client_id", "sp_tenant_id"],
|
|
304
|
+
"properties": {
|
|
305
|
+
"org": {"type": "string", "minLength": 1},
|
|
306
|
+
"project": {"type": "string", "minLength": 1},
|
|
307
|
+
"queue_id": {"type": "integer", "minimum": 1},
|
|
308
|
+
"identity": {"enum": ["agent-tarun", "agent-vivek", "agent-reviewer"]},
|
|
309
|
+
"server_type": {"type": "string", "minLength": 1},
|
|
310
|
+
"location": {"type": "string", "minLength": 1},
|
|
311
|
+
"snapshot_label_selector": {"type": "string", "minLength": 1},
|
|
312
|
+
"agents_per_server": {"type": "integer", "minimum": 1},
|
|
313
|
+
"max_servers": {"type": "integer", "minimum": 1},
|
|
314
|
+
"max_lifetime_minutes": {"type": "integer", "minimum": 1},
|
|
315
|
+
"register_timeout_minutes": {"type": "integer", "minimum": 1},
|
|
316
|
+
"poll_seconds": {"type": "integer", "minimum": 1},
|
|
317
|
+
"queue_threshold": {"type": "integer", "minimum": 0},
|
|
318
|
+
"trigger_ticks": {"type": "integer", "minimum": 1},
|
|
319
|
+
"hour_end_window_minutes": {"type": "integer", "minimum": 0, "maximum": 59},
|
|
320
|
+
"vault_env_file": {"description": "Absolute path of the root-only (0600) agent-mode Agent Vault env file on the poller host (AGENT_VAULT_ADDR/TOKEN/VAULT, same format as /etc/enact/agent-vault.env); vault-curl.ts refuses it when missing, not 0600 or not root-owned.", "type": "string", "pattern": "^/[A-Za-z0-9._/-]+$"},
|
|
321
|
+
"capabilities": {"type": "object", "additionalProperties": {"type": "string"}},
|
|
322
|
+
"sp_client_id": {"description": "Application (client) id of the identity's Entra service principal, used by `config.sh --auth SP`; the literal UNSET until Tarun fills it (`pool run` refuses while UNSET).", "type": "string", "pattern": "^(UNSET|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"},
|
|
323
|
+
"sp_tenant_id": {"description": "Entra tenant id of that service principal (AGENT_TENANTS in apps/cli/src/ado-token.ts).", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
},
|
|
294
328
|
"tools": {"$ref": "#/$defs/tools"}
|
|
295
329
|
}
|
|
296
330
|
}
|
|
@@ -401,6 +401,45 @@ gate is switched off by an explicit `false`. See "No silent skips" below.
|
|
|
401
401
|
| `release.target` | no | `""` | `"main"` | target branch for the managed promotion PR |
|
|
402
402
|
| `release.merge_strategy` | no | `"squash"` | `"no-fast-forward"` | one of `squash`, `rebase`, `rebase-merge`, or `no-fast-forward` — sent to Azure DevOps as the matching wire value (`squash`, `rebase`, `rebaseMerge`, `noFastForward`) |
|
|
403
403
|
| `release.pre_bump` | no | `[]` | — | ordered, repository-relative script paths `version-bump.sh` runs from the repo root before the bump commit (the Promote pipeline's Bump stage, on the checkout of the `integration` commit that triggered it) |
|
|
404
|
+
| `automation.exempt` | no | `[]` | — | automation override, repo half: with `ADL_AGENT_HOOKS_OVERRIDE=1` in the hook environment, the named `runHook` steps are skipped, each with one loud stderr line; names must be in the exported `HOOK_STEPS` list, an unknown name fails config load; adds to the shipped policy (see below) |
|
|
405
|
+
|
|
406
|
+
### Automation override
|
|
407
|
+
|
|
408
|
+
Dispatcher-driven automation (a separate tool spawning agent sessions inside
|
|
409
|
+
managed worktrees) sometimes needs a gate stood down for one session. The
|
|
410
|
+
switch is `ADL_AGENT_HOOKS_OVERRIDE=1` in the hook process environment — the
|
|
411
|
+
env marker Tarun named for this. Any other value leaves every gate armed.
|
|
412
|
+
|
|
413
|
+
What the switch relaxes is the **shipped policy** —
|
|
414
|
+
`assets/automation-exempt.json`, which lists every hook step and the state
|
|
415
|
+
the override puts it in:
|
|
416
|
+
|
|
417
|
+
- `exempt` — `integrity`, `protected-branch`, `findings-ratchet`. Skipped
|
|
418
|
+
while the override is active.
|
|
419
|
+
- `enforced` — every other step. Runs exactly as it does without it.
|
|
420
|
+
|
|
421
|
+
A repository may exempt FURTHER steps with
|
|
422
|
+
`[controls.automation] exempt = ["<step>", ...]`. That adds to the shipped
|
|
423
|
+
set, it never narrows it: the shipped policy is the floor, and the repo's
|
|
424
|
+
list widens it. The repo's list is read from the **staged**
|
|
425
|
+
`adl-config.toml` — the candidate commit — not the working tree, because
|
|
426
|
+
`adl-config.toml` is deliberately agent-editable: a worktree edit alone
|
|
427
|
+
exempts nothing. The step vocabulary is the exported `HOOK_STEPS` constant
|
|
428
|
+
in `src/constants.ts`, in `runHook` chain order:
|
|
429
|
+
|
|
430
|
+
`integrity`, `doctor`, `doc-freshness`, `compliance`, `staged-coverage`,
|
|
431
|
+
`protected-branch`, `promotion-governance`, `coverage-produce`,
|
|
432
|
+
`coverage-ratchet`, `findings-ratchet`.
|
|
433
|
+
|
|
434
|
+
Each skipped step prints one line —
|
|
435
|
+
`adl repo controls: automation override — skipping '<step>' (ADL_AGENT_HOOKS_OVERRIDE)` —
|
|
436
|
+
and returns as passed.
|
|
437
|
+
|
|
438
|
+
The LFS chain, the bundled standard script, repository-declared
|
|
439
|
+
`static_checks` and the worktree backstop are not steps and cannot be
|
|
440
|
+
exempted. The twin half of this mechanism lives in `packages/agent-hooks`
|
|
441
|
+
(`assets/automation-exempt.json`, same env marker). The full contract is in
|
|
442
|
+
`docs/operations/automation-override.md`.
|
|
404
443
|
|
|
405
444
|
### Release scripts — Guard and Bump (Tarun, 2026-09-30; bump moved 2026-10-01)
|
|
406
445
|
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": 1,
|
|
3
|
+
"env": "ADL_AGENT_HOOKS_OVERRIDE",
|
|
4
|
+
"description": "repo-controls hook-step policy for the automation override. With ADL_AGENT_HOOKS_OVERRIDE=1 in the hook process environment, every step with state \"exempt\" is skipped; every other step runs exactly as it does without the override. A repo may exempt further steps with [controls.automation] exempt = [...] in its adl-config.toml. Steps with state \"not-a-step\" are never exemptible: they carry no gate config of their own.",
|
|
5
|
+
"steps": [
|
|
6
|
+
{
|
|
7
|
+
"id": "integrity",
|
|
8
|
+
"state": "exempt",
|
|
9
|
+
"protects": "atomic index gate over [controls.integrity] watched control paths (knip.jsonc, ci.yml, package.json, justfile, ...); refuses a commit touching them",
|
|
10
|
+
"notes": "CANDIDATE EVIDENCE: refused the az384 merge 2x (control files byte-identical, enter index only via merge) and the knip.jsonc fix commit 2026-10-20"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "doctor",
|
|
14
|
+
"state": "enforced",
|
|
15
|
+
"protects": "proves the local hook surface is armed (managed hooks unmodified)",
|
|
16
|
+
"notes": "may mask a skipped gate — revisit before exempting"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "doc-freshness",
|
|
20
|
+
"state": "enforced",
|
|
21
|
+
"protects": "staged docs must be newer than their sources",
|
|
22
|
+
"notes": ""
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "compliance",
|
|
26
|
+
"state": "enforced",
|
|
27
|
+
"protects": "runs the armed compliance gates over the staged snapshot",
|
|
28
|
+
"notes": ""
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "staged-coverage",
|
|
32
|
+
"state": "enforced",
|
|
33
|
+
"protects": "coverage over staged files via the repo-declared command",
|
|
34
|
+
"notes": ""
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "protected-branch",
|
|
38
|
+
"state": "exempt",
|
|
39
|
+
"protects": "defense-in-depth: refuse commits on [controls.branches.protected",
|
|
40
|
+
"notes": "CANDIDATE EVIDENCE: az384 merge commit lands on docs/ branch; gate cannot tell passive merge from agent edit"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "promotion-governance",
|
|
44
|
+
"state": "enforced",
|
|
45
|
+
"protects": "Azure DevOps promotion-governance checks (needs network + token)",
|
|
46
|
+
"notes": ""
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "coverage-produce",
|
|
50
|
+
"state": "enforced",
|
|
51
|
+
"protects": "produces the coverage summary at push time",
|
|
52
|
+
"notes": ""
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "coverage-ratchet",
|
|
56
|
+
"state": "enforced",
|
|
57
|
+
"protects": "coverage floor ratchet on push",
|
|
58
|
+
"notes": ""
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "findings-ratchet",
|
|
62
|
+
"state": "exempt",
|
|
63
|
+
"protects": "counter findings ratchet (knip); no floor file = zero grants = every finding fails",
|
|
64
|
+
"notes": "CANDIDATE EVIDENCE: blocked az384 push 2026-10-20 (pre-push knip floor)"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"notAStep": [
|
|
68
|
+
{
|
|
69
|
+
"id": "worktree-guard",
|
|
70
|
+
"protects": "worktree-count backstop: removes a new worktree over the 3-per-repo limit",
|
|
71
|
+
"notes": ""
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "lfs-chain",
|
|
75
|
+
"protects": "LFS pre-push chain",
|
|
76
|
+
"notes": ""
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "bundled-script",
|
|
80
|
+
"protects": "the bundled standard hook script after the gates",
|
|
81
|
+
"notes": ""
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "static-checks",
|
|
85
|
+
"protects": "repo-declared opaque static checks",
|
|
86
|
+
"notes": ""
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"complianceGates": [
|
|
90
|
+
{
|
|
91
|
+
"id": "docs.adr-lifecycle",
|
|
92
|
+
"protects": "Run retained ADR lifecycle gate",
|
|
93
|
+
"exemptible": false,
|
|
94
|
+
"notes": "DOC-001"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "docs.english-only",
|
|
98
|
+
"protects": "Run retained English-only gate",
|
|
99
|
+
"exemptible": false,
|
|
100
|
+
"notes": "DOC-002"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "docs.index-updated",
|
|
104
|
+
"protects": "Run retained docs-index gate",
|
|
105
|
+
"exemptible": false,
|
|
106
|
+
"notes": "DOC-004"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "docs.markdown-ast",
|
|
110
|
+
"protects": "Parse Markdown through the retained AST gate",
|
|
111
|
+
"exemptible": false,
|
|
112
|
+
"notes": "DOC-005"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "docs.okf-profile",
|
|
116
|
+
"protects": "Require documents to satisfy their OKF profile",
|
|
117
|
+
"exemptible": false,
|
|
118
|
+
"notes": "DOC-006"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "docs.semantics",
|
|
122
|
+
"protects": "Run retained documentation semantics gate",
|
|
123
|
+
"exemptible": false,
|
|
124
|
+
"notes": "DOC-007"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "docs.indexes",
|
|
128
|
+
"protects": "Run retained knowledge-index gate",
|
|
129
|
+
"exemptible": false,
|
|
130
|
+
"notes": "DOC-008"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "docs.ledger",
|
|
134
|
+
"protects": "Run retained knowledge-ledger gate",
|
|
135
|
+
"exemptible": false,
|
|
136
|
+
"notes": "DOC-009"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "docs.closed-set",
|
|
140
|
+
"protects": "Require the declared docs/ folder shape",
|
|
141
|
+
"exemptible": false,
|
|
142
|
+
"notes": "DOC-010"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "docs.filename",
|
|
146
|
+
"protects": "Require docs/ Markdown stems to be lower-kebab",
|
|
147
|
+
"exemptible": false,
|
|
148
|
+
"notes": "DOC-011"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "docs.directory-size",
|
|
152
|
+
"protects": "Cap each docs/ directory's page count via the directory ratchet",
|
|
153
|
+
"exemptible": false,
|
|
154
|
+
"notes": "DOC-012"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"id": "layout.agents-layout",
|
|
158
|
+
"protects": "Run retained AGENTS layout gate",
|
|
159
|
+
"exemptible": false,
|
|
160
|
+
"notes": "LAY-001"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "layout.ci-paths",
|
|
164
|
+
"protects": "Run retained CI paths gate",
|
|
165
|
+
"exemptible": false,
|
|
166
|
+
"notes": "LAY-002"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"id": "layout.directory-ratchet",
|
|
170
|
+
"protects": "Prevent directory shape growth across every registered tree",
|
|
171
|
+
"exemptible": false,
|
|
172
|
+
"notes": "LAY-004"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"id": "layout.markdown-trees",
|
|
176
|
+
"protects": "Require Markdown in approved documentation trees",
|
|
177
|
+
"exemptible": false,
|
|
178
|
+
"notes": "LAY-006"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "layout.placement",
|
|
182
|
+
"protects": "Reject throwaway files and undeclared image placement",
|
|
183
|
+
"exemptible": false,
|
|
184
|
+
"notes": "LAY-008"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"id": "layout.plans-layout",
|
|
188
|
+
"protects": "Run retained plans-layout gate",
|
|
189
|
+
"exemptible": false,
|
|
190
|
+
"notes": "LAY-009"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "layout.references",
|
|
194
|
+
"protects": "Run retained references gate",
|
|
195
|
+
"exemptible": false,
|
|
196
|
+
"notes": "LAY-011"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "layout.root-closed-set",
|
|
200
|
+
"protects": "Require the declared repository root shape",
|
|
201
|
+
"exemptible": false,
|
|
202
|
+
"notes": "LAY-012"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "layout.root-markdown-allowlist",
|
|
206
|
+
"protects": "Run retained root Markdown allowlist gate",
|
|
207
|
+
"exemptible": false,
|
|
208
|
+
"notes": "LAY-013"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "layout.scripts-size-depth",
|
|
212
|
+
"protects": "Bound workflow script directory size and depth",
|
|
213
|
+
"exemptible": false,
|
|
214
|
+
"notes": "LAY-014"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"id": "layout.open-work-cap",
|
|
218
|
+
"protects": "Cap open plans at ten",
|
|
219
|
+
"exemptible": false,
|
|
220
|
+
"notes": "LAY-016"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "lfs.integrity",
|
|
224
|
+
"protects": "Every blob over 1 MiB enters Git through LFS",
|
|
225
|
+
"exemptible": false,
|
|
226
|
+
"notes": "LFS-001"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"id": "repository.license-declared",
|
|
230
|
+
"protects": "Repository ships the licence it declares",
|
|
231
|
+
"exemptible": false,
|
|
232
|
+
"notes": "REP-001"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"id": "repository.lockfile-integrity",
|
|
236
|
+
"protects": "Require present and Cargo-valid lockfiles",
|
|
237
|
+
"exemptible": false,
|
|
238
|
+
"notes": "REP-002"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "repository.no-legacy-search",
|
|
242
|
+
"protects": "Forbid standalone legacy search in shell scripts and justfiles",
|
|
243
|
+
"exemptible": false,
|
|
244
|
+
"notes": "REP-004"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"id": "repository.ignored-paths",
|
|
248
|
+
"protects": "Never commit a path .gitignore excludes",
|
|
249
|
+
"exemptible": false,
|
|
250
|
+
"notes": "REP-005"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "repository.no-vcs-in-scripts",
|
|
254
|
+
"protects": "Forbid version-control calls in shell scripts and justfiles",
|
|
255
|
+
"exemptible": false,
|
|
256
|
+
"notes": "REP-006"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"id": "repository.no-multiline-comments",
|
|
260
|
+
"protects": "Forbid multi-line comments in code files",
|
|
261
|
+
"exemptible": false,
|
|
262
|
+
"notes": "REP-007"
|
|
263
|
+
}
|
|
264
|
+
]
|
|
265
|
+
}
|
|
@@ -3,9 +3,19 @@ name = "adl-compliance"
|
|
|
3
3
|
version = "0.1.0"
|
|
4
4
|
description = "The adl enforcement package: registry rows, checks, verdicts."
|
|
5
5
|
readme = "AGENTS.md"
|
|
6
|
-
# 3.15
|
|
7
|
-
#
|
|
8
|
-
|
|
6
|
+
# 3.15 is final as of 3.15.2, so the floor is 3.15 — not 3.14.
|
|
7
|
+
#
|
|
8
|
+
# The floor is not a preference, it is what makes `uv.lock` portable. A
|
|
9
|
+
# lock resolved for the lowest supported interpreter selects that
|
|
10
|
+
# interpreter's wheels, and `pydantic-core 2.46.5` publishes cp39-cp314
|
|
11
|
+
# only — so on a 3.15 host uv had to COMPILE it. The agent's compile
|
|
12
|
+
# produced a Mach-O with an inconsistent __LINKEDIT, the compliance
|
|
13
|
+
# engine could not be imported, and every build that graded a repository
|
|
14
|
+
# failed as if it were a product defect. Raising the floor to 3.15 moves
|
|
15
|
+
# the lock's resolution to cp315, where pydantic-core 2.50.1 ships a
|
|
16
|
+
# prebuilt wheel: no compile, no toolchain, no damaged artifact.
|
|
17
|
+
# See Bug 717.
|
|
18
|
+
requires-python = ">=3.15"
|
|
9
19
|
dependencies = ["PyYAML>=6.0.2", "pydantic>=2.9"]
|
|
10
20
|
|
|
11
21
|
[project.scripts]
|