Add check-ssm-path validator for the /<org>/<repo>/<tier>/<tail> SSM convention #95
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/agentic-os#95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Context
SSM parameter paths across the fleet are moving to a structured schema:
org- controlled vocabulary, currently the literalcoilysirenrepo- lowercase repo slug[a-z0-9-]+tier- access tieradmin | write | read(the IAM/KMS gate)tail- freeform leaf[a-z0-9-]+, single segmentThe tier segment is load-bearing: IAM gates on
parameter/*/*/<tier>/*and the per-tier KMS keys wrap by the same position, so a malformed path silently falls outside every policy instead of failing loudly. A validator catches that at authoring time.This issue
Add
agentic_os.check_ssm_path(console scriptcheck-ssm-path) that validates a path against the schema and collects all violations, register it inpyproject.toml, and cover it with pytest. Also add pytest as adevdependency group souv run pytestis hermetic on every host.Follow-up (tracked separately)
check-ssm-pathas a blocking pre-commit hook against an auto-scan source (terraformaws_ssm_parameternames or a migrated-paths manifest).