Skip to content

Commit b294811

Browse files
chore: merge main into validation branch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 parents 975878b + 499f14b commit b294811

4,117 files changed

Lines changed: 34117 additions & 510139 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/TEAM_MEMBERS

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,30 @@
1-
adamdotdevin
2-
Brendonovich
3-
fwang
4-
Hona
5-
iamdavidhill
6-
jayair
7-
jlongster
8-
kitlangton
9-
kommander
10-
MrMushrooooom
11-
nexxeln
12-
R44VC0RP
13-
rekram1-node
14-
RhysSullivan
15-
thdxr
1+
aidtya
2+
aloks98
3+
altimateanas
4+
anandgupta42
5+
ankitksharma
6+
anusha-sharma
7+
arora-saurabh448
8+
dvanaken
9+
frasermarlow
10+
gaurpulkit
11+
govindpawa
12+
jontsai
13+
kulvirgit
14+
mdesmet
15+
mhallida
16+
ppradnesh
17+
rakendd
18+
ralphstodomingo
19+
ravik-aai
20+
robertmaybin
21+
sahrizvi
22+
sanjaykr5
23+
saravmajestic
24+
sgvarsh
25+
shreyastelkar
26+
sourabhchrs93
27+
suryaiyer95
28+
tshreyas
29+
vivekvenkatareddy
30+
yukthagv

.github/actions/setup-bun/action.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@ description: "Setup Bun with caching and install dependencies"
33
runs:
44
using: "composite"
55
steps:
6-
- name: Cache Bun dependencies
7-
uses: actions/cache@v4
8-
with:
9-
path: ~/.bun/install/cache
10-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
11-
restore-keys: |
12-
${{ runner.os }}-bun-
13-
146
- name: Get baseline download URL
157
id: bun-url
168
shell: bash
@@ -31,6 +23,23 @@ runs:
3123
bun-version-file: ${{ !steps.bun-url.outputs.url && 'package.json' || '' }}
3224
bun-download-url: ${{ steps.bun-url.outputs.url }}
3325

26+
- name: Get cache directory
27+
id: cache
28+
shell: bash
29+
run: echo "dir=$(bun pm cache)" >> "$GITHUB_OUTPUT"
30+
31+
- name: Cache Bun dependencies
32+
uses: actions/cache@v4
33+
with:
34+
path: ${{ steps.cache.outputs.dir }}
35+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
36+
restore-keys: |
37+
${{ runner.os }}-bun-
38+
39+
- name: Install setuptools for distutils compatibility
40+
run: python3 -m pip install setuptools || pip install setuptools || true
41+
shell: bash
42+
3443
- name: Install dependencies
3544
run: bun install
3645
shell: bash

.github/actions/setup-git-committer/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: "Setup Git Committer"
22
description: "Create app token and configure git user"
33
inputs:
44
opencode-app-id:
5-
description: "OpenCode GitHub App ID"
5+
description: "Altimate Code GitHub App ID"
66
required: true
77
opencode-app-secret:
8-
description: "OpenCode GitHub App private key"
8+
description: "Altimate Code GitHub App private key"
99
required: true
1010
outputs:
1111
token:

.github/meta/commit.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
docs: update site-wide docs for training and new agent modes
2+
3+
- Homepage: update from "Four agents" to "Seven agents" — add Researcher,
4+
Trainer, Executive cards with descriptions
5+
- Getting Started: update training link to match new pitch
6+
"Corrections That Stick"
7+
- Tools index: add Training row (3 tools + 3 skills) with link
8+
- All references now consistent with simplified training system
9+
10+
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

.github/workflows/beta.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
name: beta
22

3+
# Disabled — upstream beta branch syncing workflow, not needed for our fork.
4+
# To re-enable, uncomment the triggers below.
35
on:
46
workflow_dispatch:
5-
schedule:
6-
- cron: "0 * * * *"
7+
# schedule:
8+
# - cron: "0 * * * *"
79

810
jobs:
911
sync:
@@ -27,8 +29,8 @@ jobs:
2729
opencode-app-id: ${{ vars.OPENCODE_APP_ID }}
2830
opencode-app-secret: ${{ secrets.OPENCODE_APP_SECRET }}
2931

30-
- name: Install OpenCode
31-
run: bun i -g opencode-ai
32+
- name: Install Altimate Code
33+
run: bun i -g @altimateai/altimate-code
3234

3335
- name: Sync beta branch
3436
env:

.github/workflows/ci.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,43 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14+
# ---------------------------------------------------------------------------
15+
# Detect which areas of the codebase changed to skip unaffected jobs.
16+
# On push to main, all jobs run unconditionally (safety net).
17+
# ---------------------------------------------------------------------------
18+
changes:
19+
name: Detect Changes
20+
runs-on: ubuntu-latest
21+
timeout-minutes: 2
22+
outputs:
23+
typescript: ${{ steps.filter.outputs.typescript }}
24+
python: ${{ steps.filter.outputs.python }}
25+
lint: ${{ steps.filter.outputs.lint }}
26+
steps:
27+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
28+
29+
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
30+
id: filter
31+
with:
32+
filters: |
33+
typescript:
34+
- 'packages/opencode/**'
35+
- 'packages/plugin/**'
36+
- 'packages/sdk/**'
37+
- 'packages/util/**'
38+
- 'packages/script/**'
39+
- 'bun.lock'
40+
- 'package.json'
41+
- 'tsconfig.json'
42+
python:
43+
- 'packages/altimate-engine/**'
44+
lint:
45+
- 'packages/altimate-engine/src/**'
46+
1447
typescript:
1548
name: TypeScript
49+
needs: changes
50+
if: needs.changes.outputs.typescript == 'true' || github.event_name == 'push'
1651
runs-on: ubuntu-latest
1752
timeout-minutes: 60
1853
steps:
@@ -42,8 +77,43 @@ jobs:
4277
run: bun test
4378
working-directory: packages/opencode
4479

80+
marker-guard:
81+
name: Marker Guard
82+
runs-on: ubuntu-latest
83+
if: github.event_name == 'pull_request'
84+
timeout-minutes: 5
85+
steps:
86+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
87+
with:
88+
fetch-depth: 0
89+
90+
- uses: oven-sh/setup-bun@ecf28ddc73e819eb6fa29df6b34ef8921c743461 # v2
91+
with:
92+
bun-version: "1.3.10"
93+
94+
- name: Add upstream remote
95+
run: |
96+
git remote add upstream https://github.com/anomalyco/opencode.git || true
97+
git fetch upstream --quiet --no-tags
98+
99+
- name: Install merge tooling deps
100+
run: bun install
101+
working-directory: script/upstream
102+
103+
- name: Check for missing altimate_change markers
104+
run: |
105+
# Skip strict marker enforcement for upstream merge PRs — all changes come from upstream
106+
if [[ "${{ github.head_ref }}" == merge-upstream-* ]] || [[ "${{ github.head_ref }}" == upstream/merge-* ]]; then
107+
echo "Upstream merge PR detected — running marker check in non-strict mode"
108+
bun run script/upstream/analyze.ts --markers --base ${{ github.event.pull_request.base.ref }}
109+
else
110+
bun run script/upstream/analyze.ts --markers --base ${{ github.event.pull_request.base.ref }} --strict
111+
fi
112+
45113
lint:
46114
name: Lint
115+
needs: changes
116+
if: needs.changes.outputs.lint == 'true' || github.event_name == 'push'
47117
runs-on: ubuntu-latest
48118
timeout-minutes: 60
49119
steps:
@@ -62,6 +132,8 @@ jobs:
62132

63133
python:
64134
name: Python ${{ matrix.python-version }}
135+
needs: changes
136+
if: needs.changes.outputs.python == 'true' || github.event_name == 'push'
65137
runs-on: ubuntu-latest
66138
timeout-minutes: 60
67139
strategy:

.github/workflows/compliance-close.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.

.github/workflows/containers.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)