Ratchet manifest + manifest_agent coverage to >=90% (ADR 0004) #299
Reference in New Issue
Block a user
Delete Branch "ratchet-manifest-90"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stacked on #298 (base =
ratchet-git-gate-90). Fifth per-module ratchet under ADR 0004 — the manifest validation pair.Summary
Drives the validation rejection / edge paths across both manifest modules:
ManifestBottle.from_dict— unknown key, non-string env value, non-bool supervise, removedruntimefield.ManifestAgentProvider.from_dict— unknown key, empty template, non-string dockerfile,auth_token/forward_host_credentialstemplate constraints._parse_provider_settings— pass-through for non-built-in templates,startup_argsshape, 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-levelgit-gate.reposrejection, emptygit-gateallowed.ManifestIndex— empty bottles section, unknown-agent load,has_agent/require_agent,git_identity_summary(set and empty).Coverage
manifest_agent.pymanifest.pyRemaining
manifest.pymisses are the lazy on-disk loader paths (exercised by the integration suite). 36 new tests; full suite (1478) passes; pyright clean; pylint 10.00.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.