This repository builds the Core IDE runtime. It is a Go module that exposes the
same capabilities through Core actions, MCP tools, and the optional GUI shell.
The active packages live under pkg/: workspace inspection, OpenBrain memory,
subagent relay, navigation, marketplace installation, chat integration, and the
server transports that compose them.
Use dappco.re/go primitives in new Go code. Direct imports of stdlib helper
packages such as fmt, errors, strings, path/filepath, os, log,
encoding/json, and bytes are not part of this repository's current style;
the Core wrapper package provides the formatting, error wrapping, string,
path, filesystem, JSON, and buffer APIs expected by the compliance audit.
Tests are file-local. When a source file exports a symbol, its Good, Bad, and
Ugly triplet tests belong in the sibling <file>_test.go, and its runnable
example belongs in <file>_example_test.go. Test bodies should exercise the
symbol they name directly enough that the symbol token appears in the body.
Examples print through core.Println, not fmt.Println, and their // Output:
blocks must match the real output.
Do not add AX7 catch-all test files, versioned test files, or stdlib-shaped compatibility packages. If a package needs a shared helper, keep it in the normal package test file where the surrounding tests already live, and keep the helper small enough that the named tests still show their actual behaviour.
The local verification contract is:
GOWORK=off go mod tidy
GOWORK=off go vet ./...
GOWORK=off go test -count=1 ./...
gofmt -l .
bash /Users/snider/Code/core/go/tests/cli/v090-upgrade/audit.sh .The audit script is the compliance source of truth for this lane. A change is not ready while any audit dimension reports a non-zero counter.