altimate-code
altimate-code copied to clipboard
chore: open-source release cleanup
Summary
Comprehensive cleanup needed before the repository goes public. This covers secrets removal, internal file cleanup, CI/CD fixes, and branding consistency.
Audit was performed across 4 dimensions: secrets/sensitive data, internal references/branding, directory structure, and configuration files.
Critical — Must fix before release
~~1. Remove hardcoded Azure Application Insights connection string~~
- Status: OK as-is. Client-side telemetry instrumentation keys are designed to be public (write-only). Already has an explanatory comment in code.
~~2. Move production API endpoint to config~~
- File: `packages/opencode/src/server/server.ts:560`
- Status: Deferred — `app.altimate.ai` is the intended public endpoint for the product. Not a secret.
~~3. Delete `.github/TEAM_MEMBERS` file~~
- Status: Done in #208
~~4. Remove or rework PR enforcement workflows~~
- Status: Done in #208
- `pr-standards.yml` kept (gracefully handles missing TEAM_MEMBERS, applies equally to all contributors)
- `pr-management.yml` stripped broken `check-duplicates` job, kept `add-contributor-label`
~~5. Replace self-hosted runners with GitHub-hosted~~
- Status: Done in #208
- `opencode.yml`: `blacksmith` → `ubuntu-latest`
- `beta.yml`: removed entirely (referenced deleted `script/beta.ts`)
- `stats.yml`: removed entirely (internal PostHog analytics)
~~6. Remove `experiments/` directory~~
- Status: Kept — user decided to keep experiments in the repo
High — Should fix before release
~~7. Standardize internal placeholder URLs~~
- Status: Done in #208 — all `opencode.internal` → `altimate-code.internal`
~~8. Remove `stats.yml` workflow~~
- Status: Done in #208
~~9. Review `beta.yml` workflow~~
- Status: Done in #208 — removed (script dependency deleted)
Medium — Should address
~~10. Decide on `@opencode-ai/*` npm scope~~
- Status: Keeping as-is — upstream-compatible internal packages, renaming would break imports across codebase
~~11. Rename root `package.json` name~~
- Status: Keeping as-is — root is `private: true`, name has no external impact
~~12. Review and remove internal docs~~
- Status: Done in #208 — `docs/design/ai-teammate-repositioning.md` removed. No `docs/research/` or `docs/strategy/` directories exist.
Completed (pre-PR)
- [x] Squash upstream history (12,800 → 99 commits)
- [x] Delete stale remote branches (329 → 22)
- [x] Remove upstream remote
- [x] Enforce squash-merge-only on main
- [x] Remove internal planning docs (FEATURES_*.md, IMPLEMENTATION_PLAN.md, PLATFORM_ENGINEER_SIMULATION.md, STATS.md)
- [x] Remove internal scripts (stats.ts, beta.ts, duplicate-pr.ts)
- [x] Remove .zed/ (single dev's editor config)
- [x] Move RELEASING.md to docs/
- [x] Push backup branch to remote
Completed (in #208)
- [x] #3 — Delete `.github/TEAM_MEMBERS`
- [x] #4 — Rework PR enforcement workflows
- [x] #5 — Replace self-hosted runners / remove broken workflows
- [x] #7 — Standardize internal placeholder URLs
- [x] #8 — Remove `stats.yml` workflow
- [x] #9 — Remove `beta.yml` workflow
- [x] #12 — Remove internal docs (`docs/design/`)
Won't Do / Deferred
- ~~#1~~ — Azure App Insights key is public by design
- ~~#2~~ — `app.altimate.ai` is the intended product endpoint
- ~~#6~~ — `experiments/` kept per user decision
- ~~#10~~ — `@opencode-ai/*` scope kept for upstream compatibility
- ~~#11~~ — Root package name kept (private, no external impact)