Ratchet manifest + manifest_agent coverage to >=90% (ADR 0004) #299
Open
didericis-claude
wants to merge 1 commits from
ratchet-manifest-90 into ratchet-git-gate-90
pull from: ratchet-manifest-90
merge into: didericis:ratchet-git-gate-90
didericis:main
didericis:core-coverage-badge
didericis:ratchet-supervise-90
didericis:ratchet-git-gate-90
didericis:ratchet-egress-core-90
didericis:ratchet-yaml-subset-90
didericis:ratchet-egress-addon-90
didericis:cover-global-90
didericis:table-drive-dlp-tests
didericis:flatten-deep-nesting
didericis:decompose-egress-dlp-config
didericis:cover-egress-addon-adapter
didericis:prd-egress-control-plane
didericis:prd-smolmachines-linux
didericis:fix-integration-test-failures
didericis:fix/macos-container-relative-dockerfile
didericis:prd-0054-install-script
didericis:commit-bottle-state
didericis:pr-211
didericis:move-codex-auth-to-contrib
didericis:feat/pipelock-skip-scan-extensions
didericis:prd-0049-named-labelled-agents
didericis:harden-git-gate-shell-rendering
1 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
74060192e0 |
test(manifest): ratchet manifest + manifest_agent to >=90%
Fifth per-module ratchet under ADR 0004. Drive the validation rejection and edge paths: - ManifestBottle.from_dict: unknown key, non-string env value, non-bool supervise, removed `runtime` field. - ManifestAgentProvider.from_dict: unknown key, empty template, non-string dockerfile, auth_token / forward_host_credentials template constraints. - _parse_provider_settings: pass-through for non-built-in templates, startup_args shape, and the pi-specific string/int/bool/models/ max_tokens_field/api-key-conflict checks. - ManifestAgent.from_dict: bottle empty/undefined, skills shape, prompt type, agent-level git-gate.repos rejection, empty git-gate allowed. - Eager ManifestIndex: empty bottles section, unknown-agent load, has_agent / require_agent, git_identity_summary (set and empty). manifest_agent.py: 84% -> 99%; manifest.py: 86% -> 94%. Remaining manifest.py misses are the lazy on-disk loader paths exercised by the integration suite. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NkwFXLFff9PYPy4wgVBJp9 |