Skip to content

ci: add CI, restore engineering docs, document the build - #1

Merged
jmanoj0905 merged 2 commits into
mainfrom
ci-and-docs
Aug 10, 2026
Merged

jmanoj0905 merged 2 commits into
mainfrom
ci-and-docs

Conversation

@jmanoj0905

Copy link
Copy Markdown
Owner

Docs/ was gitignored wholesale in a257b2c to drop AI-tooling artifacts, which also removed the engineering documentation. Track the three docs that describe the system and keep the working notes ignored:

  • Docs/DESIGN.md append-only decision log
  • Docs/BUILD.md Docker and Linux enforcement profiles
  • Docs/ENFORCEMENT_PROOF.md Phase 0 evidence that blocking precedes completion

DESIGN.md referenced TRUTH.md, which stays untracked; those references now point at the equivalent README sections.

Two workflows, split so the headline badge tracks the Go logic and cannot go red because the BPF toolchain shifted:

  • ci.yml gofmt, go vet, go test -race over bus/ and internal/
  • bpf-build.yml clang + bpf2go, go build ./..., probe/ tests

make test-unit claimed to need no BPF toolchain but included ./probe/, which cannot compile until build-bpf generates the object that probes_bpfel.go embeds. Dropped ./probe/ from that target; make test still covers it.

README gains a Build & Run section: package layout, toolchain prerequisites, the make targets, and how to run the root-only integration test.

Docs/ was gitignored wholesale in a257b2c to drop AI-tooling artifacts, which
also removed the engineering documentation. Track the three docs that describe
the system and keep the working notes ignored:

- Docs/DESIGN.md          append-only decision log
- Docs/BUILD.md           Docker and Linux enforcement profiles
- Docs/ENFORCEMENT_PROOF.md  Phase 0 evidence that blocking precedes completion

DESIGN.md referenced TRUTH.md, which stays untracked; those references now
point at the equivalent README sections.

Two workflows, split so the headline badge tracks the Go logic and cannot go
red because the BPF toolchain shifted:

- ci.yml         gofmt, go vet, go test -race over bus/ and internal/
- bpf-build.yml  clang + bpf2go, go build ./..., probe/ tests

make test-unit claimed to need no BPF toolchain but included ./probe/, which
cannot compile until build-bpf generates the object that probes_bpfel.go
embeds. Dropped ./probe/ from that target; make test still covers it.

README gains a Build & Run section: package layout, toolchain prerequisites,
the make targets, and how to run the root-only integration test.
Hand-aligned struct literal columns in the field-offset and domain type
tables; gofmt collapses them to single spaces. Whitespace only, no
behaviour change.
@jmanoj0905
jmanoj0905 merged commit 098b6c2 into main Aug 10, 2026
3 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