Skip to content

feat(profile): X4 — selective-up profile resolver (Q-PROFILE resolved) - #53

Merged
gustavobertoi merged 1 commit into
mainfrom
nightly/X4
Jun 29, 2026
Merged

feat(profile): X4 — selective-up profile resolver (Q-PROFILE resolved)#53
gustavobertoi merged 1 commit into
mainfrom
nightly/X4

Conversation

@gustavobertoi

Copy link
Copy Markdown
Contributor

Chunk X4 (M6)

internal/profile.Resolve(model, requested) → the active service set + the shared instances they transitively use, per the resolved Q-PROFILE decision: both planes (per-service profiles: + workspace groups:) unioned by name; defaultProfile opt-in; reserved all = no-config default. An explicit --profile X activates exactly the X slice (group members + tagged services), not the whole workspace. --profile a,b--profile a --profile b.

Pure logic. Unblocks X5 (saga slices compose-up to Active) + profile-aware DAG pruning (X2/spec 10). The saga --profile wiring is next.

Tests

default-profile slice, explicit tag slice + shared union, comma/repeat union, reserved all, no-config-default=all, Has/shared.

Gate

make ci green (race).

🤖 Generated with Claude Code

… RESOLVED)

New internal/profile.Resolve(model, requested) → the active service set + the
shared instances those services transitively use, per the resolved Q-PROFILE
decision: both planes (per-service `profiles:` tags + workspace `groups:`),
unioned by name; `defaultProfile` opt-in; the reserved `all` is the no-config
default. An explicit `--profile X` activates exactly the X slice (group members +
tagged services), not the whole workspace — selective-up. `--profile a,b` and
`--profile a --profile b` union identically.

Pure logic, no daemon. Unblocks X5 (saga slices compose-up to Active) and the
profile-aware DAG pruning (X2 + spec 10). The saga `--profile` wiring is the next
step.

Tests: default-profile slice, explicit tag slice (+ its shared union),
comma/repeat union, reserved `all`, no-config default = all, Has/shared.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gustavobertoi
gustavobertoi merged commit 3b18885 into main Jun 29, 2026
2 checks passed
@gustavobertoi
gustavobertoi deleted the nightly/X4 branch June 29, 2026 17:42
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.

1 participant