Repository navigation
feat: generalize side effect taxonomy for multi-language support - #184
Merged
Merged
Conversation
config.Load accepted out-of-range and inverted classification thresholds from .gaze.yaml without error, silently degrading classification output. The [1,99] range check and coherence check existed only in the CLI layer, bypassed by config-file and non-CLI callers (loadGazeConfigBestEffort). - Add contractual/incidental range validation [1, 99] - Add coherence check (contractual > incidental) - Add 10 unit tests with dedicated YAML fixtures - Update CLI test assertion for new error path Closes unbound-force#114
- Add 10 universal SideEffectType constants (ErrorSignal, GeneratorYield, ContainerMutation, StreamOutput, AsyncGeneratorYield, MetaprogrammingMutation, DescriptorEffect, ResourceManagement, ImportSideEffect, MonkeyPatch) - Add 11 language-neutral aliases for Go-specific types - Add Detail field to SideEffect and protocol types for language-specific metadata passthrough - Add ValidTypes set and IsKnownType function replacing hardcoded isKnownP4 switch - Update JSON Schema enum and protocol docs with 48-type reference table - Bump protocol version to 1.1.0 - Update porting docs with expanded type counts and tier tables Closes unbound-force#96
em-redhat
force-pushed
the
opsx/universal-taxonomy
branch
from
July 3, 2026 14:09
4657ca3 to
1713b43
Compare
This was referenced Jul 8, 2026
yvonnedevlinrh
added a commit
to yvonnedevlinrh/gaze
that referenced
this pull request
Jul 9, 2026
Fix two gofmt formatting issues introduced by recent PRs: - internal/adapter/sideeffect.go: trailing blank line (PR unbound-force#180) - internal/taxonomy/types_test.go: misaligned struct field tags (PR unbound-force#184) Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Yvonne Devlin <[email protected]>
jflowers
pushed a commit
to jflowers/gaze
that referenced
this pull request
Jul 24, 2026
Fix two gofmt formatting issues introduced by recent PRs: - internal/adapter/sideeffect.go: trailing blank line (PR unbound-force#180) - internal/taxonomy/types_test.go: misaligned struct field tags (PR unbound-force#184) Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Yvonne Devlin <[email protected]>
sonupreetam
pushed a commit
to sonupreetam/gaze
that referenced
this pull request
Aug 12, 2026
Fix two gofmt formatting issues introduced by recent PRs: - internal/adapter/sideeffect.go: trailing blank line (PR unbound-force#180) - internal/taxonomy/types_test.go: misaligned struct field tags (PR unbound-force#184) Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Yvonne Devlin <[email protected]> Signed-off-by: sonupreetam <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Generalizes Gaze's side effect taxonomy for multi-language support, completing the taxonomy layer of Issue #96.
SideEffectTypeconstants for language-neutral effects (ErrorSignal,GeneratorYield,ContainerMutation,StreamOutput,AsyncGeneratorYield,MetaprogrammingMutation,DescriptorEffect,ResourceManagement,ImportSideEffect,MonkeyPatch)AsyncTaskSpawn = GoroutineSpawn,FFICall = CgoCall)Detail map[string]anyfield totaxonomy.SideEffectandprotocol.AnalyzedSideEffectfor language-specific metadata passthrough from external analyzersValidTypesset andIsKnownTypefunction replacing the hardcodedisKnownP4switch in the adapterdetailpropertydocs/protocol.mdwith comprehensive 48-type reference table organized by tier, bump protocol version to 1.1.0docs/porting/guides with expanded type counts and tier tablesTotal canonical types: 48 (38 existing + 10 new).
Closes #96