Skip to content

feat(env): Phase 1b thin target_host validation - #80

Merged
SaikrishnaGundeti merged 6 commits into
mainfrom
feat/phase1b-target-host-p0
Sep 14, 2026
Merged

SaikrishnaGundeti merged 6 commits into
mainfrom
feat/phase1b-target-host-p0

Conversation

@SaikrishnaGundeti

Copy link
Copy Markdown
Member

Summary

  • Env YAML app entries may include optional target_host.
  • CLI fail-fast: must be a non-empty string when set.
  • DAP still owns membership check vs destination inventory_group at compile.

Stacked on Phase 0 allowlist: #79.

Test plan

  • cargo test --lib target_host
  • CI green

Made with Cursor

SaikrishnaGundeti and others added 2 commits September 13, 2026 22:16
Expand VALID_DEST_DIRS for peer/slave/users scopes, reject legacy
master-apps with a manager-apps suggestion, and document that DAP owns
role defaults and identity aliasing.

Co-authored-by: Cursor <cursoragent@cursor.com>
Thin authoring check: non-empty string when present. DAP verifies
inventory_group membership at compile (Phase 1b).

Co-authored-by: Cursor <cursoragent@cursor.com>
@SaikrishnaGundeti
SaikrishnaGundeti requested a review from a team as a code owner September 13, 2026 22:21
Co-authored-by: Cursor <cursoragent@cursor.com>
SaikrishnaGundeti and others added 3 commits September 14, 2026 13:01
Those scopes are Observer observation/parse paths (CM push receive side
and per-user apps), not GitOps deploy targets. Keep CLI allowlist aligned
with D4 deploy destinations only.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep thin authoring allowlist (apps, deployment-apps, manager-apps,
shcluster/apps) without peer/slave/users; preserve target_host tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@SaikrishnaGundeti
SaikrishnaGundeti merged commit d995de3 into main Sep 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants