Skip to content

Feat/decouple sdk#50

Merged
0xmanhnv merged 6 commits into
developfrom
feat/decouple-sdk
Apr 15, 2026
Merged

Feat/decouple sdk#50
0xmanhnv merged 6 commits into
developfrom
feat/decouple-sdk

Conversation

@0xmanhnv
Copy link
Copy Markdown
Collaborator

No description provided.

BREAKING: API no longer depends on github.com/openctemio/sdk-go.
Instead imports github.com/openctemio/ctis (4K lines, zero deps).

Changes:
- Replace 20 files: sdk-go/pkg/ctis → ctis module
- Replace 2 files: sdk-go/pkg/shared/severity → ctis/severity
- Replace 1 file: sdk-go/pkg/shared/fingerprint → ctis/fingerprint
- Copy adapters (SARIF, Trivy, Nuclei, etc.) into internal/infra/adapters/
- Inline ChunkData struct (1 struct, was only usage of chunk package)
- Remove github.com/openctemio/sdk-go from go.mod entirely

Result:
- API depends on ctis (4K lines, stdlib only) instead of SDK-Go (50K lines, 40 deps)
- SDK-Go updates no longer trigger API rebuilds
- Agent: ZERO changes (still imports SDK-Go normally)
- CLAUDE.md: add Recent Changes section (RFC-001, RFC-002, metadata removal, sub_type, migration count 141)
- asset-ip-hostname-correlation.md: mark as SUPERSEDED by RFC-001
- asset-schema.md: metadata → properties
- asset-properties-schema.md: metadata → properties (single column)
- Remove duplicate RFC-002-remove-sdk-dependency.md
- Add status to RFC-001 appendix
@0xmanhnv 0xmanhnv merged commit 12f627a into develop Apr 15, 2026
13 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.

1 participant