[agent/claude:haiku] Review all files in pkg/core/. Report findings with file:lin... #19

Closed
Virgil wants to merge 1 commit from agent/review-all-files-in-pkg-core---report-fi into dev
Member

Task

Review all files in pkg/core/. Report findings with file:line format. Focus on your area of expertise.

Agent: claude:haiku
Commits: 1
Branch: agent/review-all-files-in-pkg-core---report-fi


Auto-created by core-agent dispatch system.
Co-Authored-By: Virgil virgil@lethean.io

## Task Review all files in pkg/core/. Report findings with file:line format. Focus on your area of expertise. **Agent:** claude:haiku **Commits:** 1 **Branch:** `agent/review-all-files-in-pkg-core---report-fi` --- Auto-created by core-agent dispatch system. Co-Authored-By: Virgil <virgil@lethean.io>
Virgil added 1 commit 2026-03-18 14:41:55 +00:00
Key issues identified:
- CRITICAL: CLI subsystem uninitialised (rootCommand/bannerFunction nil)
- CRITICAL: Concurrent map race in GetAsset (embed.go)
- CRITICAL: Package-level lock map violates Core instance isolation
- HIGH: Lock-order violation between service and i18n mutexes
- HIGH: Data race on defaultLog pointer replacement
- HIGH: File I/O convention violations in crash reporting

Comprehensive analysis with fix recommendations and priority ordering.

Co-Authored-By: Virgil <virgil@lethean.io>
Author
Member

Verification Failed

Command: go test ./...

# forge.lthn.ai/core/go/tests_test [forge.lthn.ai/core/go/tests.test]
tests/async_test.go:89:14: rt.Core.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/async_test.go:103:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/async_test.go:118:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:47:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:49:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:51:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:92:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:94:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:118:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:119:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:119:8: too many errors
?   	forge.lthn.ai/core/go/pkg/core	[no test files]
FAIL	forge.lthn.ai/core/go/tests [build failed]
FAIL

Exit code: 1

## Verification Failed **Command:** `go test ./...` ``` # forge.lthn.ai/core/go/tests_test [forge.lthn.ai/core/go/tests.test] tests/async_test.go:89:14: rt.Core.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/async_test.go:103:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/async_test.go:118:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:47:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:49:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:51:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:92:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:94:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:118:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:119:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:119:8: too many errors ? forge.lthn.ai/core/go/pkg/core [no test files] FAIL forge.lthn.ai/core/go/tests [build failed] FAIL ``` **Exit code:** 1
Author
Member

Verification Failed

Command: go test ./...

?   	forge.lthn.ai/core/go/pkg/core	[no test files]
# forge.lthn.ai/core/go/tests_test [forge.lthn.ai/core/go/tests.test]
tests/async_test.go:89:14: rt.Core.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/async_test.go:103:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/async_test.go:118:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:47:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:49:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:51:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:92:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:94:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:118:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:119:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService)
tests/core_lifecycle_test.go:119:8: too many errors
FAIL	forge.lthn.ai/core/go/tests [build failed]
FAIL

Exit code: 1

## Verification Failed **Command:** `go test ./...` ``` ? forge.lthn.ai/core/go/pkg/core [no test files] # forge.lthn.ai/core/go/tests_test [forge.lthn.ai/core/go/tests.test] tests/async_test.go:89:14: rt.Core.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/async_test.go:103:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/async_test.go:118:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:47:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:49:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:51:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:92:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:94:10: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:118:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:119:8: c.RegisterService undefined (type *core.Core has no field or method RegisterService) tests/core_lifecycle_test.go:119:8: too many errors FAIL forge.lthn.ai/core/go/tests [build failed] FAIL ``` **Exit code:** 1
Virgil added the
needs-review
label 2026-03-18 14:41:57 +00:00
Author
Member

Needs Review

Tests failed after rebase. Auto-merge gave up after retry.

Labelled needs-review for human attention.

## Needs Review Tests failed after rebase. Auto-merge gave up after retry. Labelled `needs-review` for human attention.
Virgil changed target branch from main to dev 2026-03-24 11:12:18 +00:00
Virgil closed this pull request 2026-03-24 11:19:20 +00:00

Pull request closed

Sign in to join this conversation.
No description provided.