You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/sow/current/SOW-0014-20260603-maintainability-hotspots.md
+53Lines changed: 53 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1150,6 +1150,59 @@ Raw cache, Go typed-facade, apps lookup builder, cgroups lookup builder, apps lo
1150
1150
- End-user/operator skills: no update needed because exported/operator workflow is unchanged.
1151
1151
- SOW lifecycle: target remains part of active `SOW-0014`; SOW remains in progress pending metric re-check and next selected hotspot.
1152
1152
1153
+
### 2026-06-04 Rust And Go Lookup Codec File Split
1154
+
1155
+
- The user requested continuing the code-organization fix after the C protocol split.
1156
+
- Implemented Rust and Go source splits to match the approved rule that each service-kind codec owns its own implementation file:
1157
+
- Rust `src/crates/netipc/src/protocol/lookup.rs` is now a small module wrapper.
1158
+
- Rust shared lookup helpers live in `src/crates/netipc/src/protocol/lookup/common.rs`.
1159
+
- Rust cgroups lookup implementation lives in `src/crates/netipc/src/protocol/lookup/cgroups_lookup.rs`.
1160
+
- Rust apps lookup implementation lives in `src/crates/netipc/src/protocol/lookup/apps_lookup.rs`.
1161
+
- Go `src/go/pkg/netipc/protocol/lookup.go` is now a package stub retained to avoid deleting the file.
1162
+
- Go shared lookup helpers live in `src/go/pkg/netipc/protocol/lookup_common.go`.
1163
+
- Go cgroups lookup implementation lives in `src/go/pkg/netipc/protocol/cgroups_lookup.go`.
1164
+
- Go apps lookup implementation lives in `src/go/pkg/netipc/protocol/apps_lookup.go`.
1165
+
- Go `src/go/pkg/netipc/protocol/lookup_test.go` was left unchanged in this pass because its largest remaining mixed tests deliberately exercise shared lookup validation, bounds, and dispatch behavior across both lookup codecs.
1166
+
-`docs/code-organization.md` now reflects the Rust and Go protocol layout.
1167
+
- Size result:
1168
+
- Rust before: `src/crates/netipc/src/protocol/lookup.rs` had 1987 lines.
-`codacy-analysis analyze --output-format json` passed with 0 issues and 0 errors across Checkov, Opengrep/Semgrep, Trivy, cppcheck, ShellCheck, and Spectral.
1196
+
-`git diff --check` passed.
1197
+
-`bash .agents/sow/audit.sh` passed and reported SOW initialization complete and clean.
1198
+
- Artifact impact:
1199
+
-`AGENTS.md`: no workflow or guardrail change.
1200
+
- Runtime project skills: no reusable workflow change.
1201
+
- Specs: no update needed because public protocol/API behavior and wire bytes are unchanged.
1202
+
- End-user/operator docs: `docs/code-organization.md` updated because repository layout changed.
1203
+
- End-user/operator skills: no update needed because exported/operator workflow is unchanged.
1204
+
- SOW lifecycle: target remains part of active `SOW-0014`; SOW remains in progress pending metric re-check and next selected hotspot.
0 commit comments