Commit Graph

3 Commits

Author SHA1 Message Date
Jon Chery e1b538575c feat(P06): CoreCI release flow with .coreci.yml and tea integration
- .coreci.yml: 4 pipelines (validate, build, test, release).
  Release gated on refs/tags/v*; builds tarball, generates CHANGELOG,
  publishes via `tea releases create`.
- scripts/release.sh: standalone wrapper that builds, tars, generates
  notes from ---ci--- commit blocks, and publishes via tea. Sources
  GITEA_TOKEN from .env if present.
- Makefile: target paths fixed for ldflags injection (cli package path);
  added `version`, `changelog`, `release` targets.
- .gitignore: exclude *.tar.gz (build artifacts, regenerated on release).
- CHANGELOG.md: auto-generated from commit log.

Version injection: -ldflags targets internal/cli package vars so
`orca version` reports the correct tag, commit, and build time.

---ci---
project: orca
phase: 6
milestone: v0.1
status: execute
requirements:
  covered: [REQ-007, REQ-014]
  partial: []
---/ci---
2026-06-03 19:27:21 +00:00
Jon Chery 46e929e4c6 chore(P01): source .env in trigger_coreci.sh for GITEA_TOKEN
---ci---
project: orca
phase: 1
milestone: v0.1
status: ship
---/ci---
2026-06-03 12:34:55 +00:00
Jon Chery aa3cccead5 feat(P01): CLI skeleton with Cobra, subcommand stubs, pre-push hook
Implements Phase 1 of v0.1 Foundation:
- go.mod with Go 1.25
- cmd/orca/main.go entry point
- internal/cli/root.go with global --json flag
- internal/cli/version.go (orca version)
- internal/cli/init.go (orca init - creates ~/.orca/)
- internal/cli/status.go (orca status - shows daemon info)
- internal/cli/node.go (orca node {join,leave,list} - stubs)
- internal/cli/job.go (orca job {run,list,stop,logs} - stubs)
- Makefile (build, test, lint, fmt, release)
- LICENSE (MIT)
- README.md with quickstart
- .gitignore
- .githooks/pre-push + scripts/trigger_coreci.sh (CoreCI trigger)
- Smoke tests in internal/cli/root_test.go

Verified: go build, go test, go vet, gofmt all pass.

---ci---
project: orca
phase: 1
milestone: v0.1
status: execute
req_covered:
  - REQ-001
  - REQ-002
  - REQ-013
  - REQ-015
  - REQ-016
  - REQ-019
  - REQ-024
---/ci---
2026-06-03 12:23:37 +00:00