Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
378 changes: 378 additions & 0 deletions .agents/cloud-setup.sh

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .changeset/modern-fans-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
19 changes: 19 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"attribution": {
"commit": "",
"pr": ""
},
"hooks": {
"SessionStart": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "if [ \"${CLAUDE_CODE_REMOTE:-}\" = \"true\" ]; then\n cloud_setup_incomplete() {\n printf '%s\\n' 'Cloud setup could not establish a verified session environment. From the repository root, run bash .agents/cloud-setup.sh install and then bash .agents/cloud-setup.sh start. Do not assume pinned tools or services are ready until start succeeds.'\n printf '%s\\n' \"cloud-setup: $1\" >&2\n exit 0\n }\n bash \"$CLAUDE_PROJECT_DIR/.agents/cloud-setup.sh\" start >&2 || cloud_setup_incomplete 'startup failed; run install'\n if [ -n \"${CLAUDE_ENV_FILE:-}\" ]; then\n if [ ! -s /etc/profile.d/stll-cloud.sh ]; then\n cloud_setup_incomplete 'cloud shell profile is unavailable; run install'\n fi\n cloud_shell_exports=\"$(cat /etc/profile.d/stll-cloud.sh)\" || cloud_setup_incomplete 'cloud shell profile could not be read; run install'\n [ -n \"$cloud_shell_exports\" ] || cloud_setup_incomplete 'cloud shell profile is unavailable; run install'\n printf '\\n%s\\n' \"$cloud_shell_exports\" >> \"$CLAUDE_ENV_FILE\" || cloud_setup_incomplete 'session environment could not be persisted; check its write access and rerun start'\n fi\nfi"
}
]
}
]
}
}
90 changes: 89 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
version: 2
updates:
- package-ecosystem: bun
directory: /
directories:
- /
- /fixtures/benign/basic
- /fixtures/malicious/install-hook
schedule:
interval: weekly
day: saturday
Expand All @@ -18,15 +21,55 @@ updates:
- patch
ignore:
- dependency-name: oxlint
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: oxlint-tsgolint
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: "@oxlint/plugins"
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: "@stll/oxlint-plugin"
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: oxfmt
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: lefthook
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: typescript
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: "@typescript/native"
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: typescript-compat
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: bun-types
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- package-ecosystem: github-actions
directory: /
schedule:
Expand All @@ -45,12 +88,57 @@ updates:
- patch
ignore:
- dependency-name: actions/checkout
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: oven-sh/setup-bun
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: actions/setup-node
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: actions/setup-python
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: astral-sh/setup-uv
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: actions/cache
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: actions/cache/restore
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: actions/cache/save
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: actions/upload-artifact
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: actions/download-artifact
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
- dependency-name: stella/.github/.github/workflows/package-consumer-compat.yml
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch
25 changes: 10 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,12 @@ jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
BASE_REF: ${{ (github.event_name == 'pull_request' && github.event.pull_request.base.sha) || (github.event_name == 'push' && github.event.before) || 'unavailable-toolchain-base' }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
Expand All @@ -70,23 +73,15 @@ jobs:
- run: bun run lint:ws
- run: bun run typecheck
- name: Verify typecheck rejects a seeded error
shell: bash
run: bunx --no-install stll-typecheck-probe --project packages/core/tsconfig.json --seed-dir packages/core/src -- bun run typecheck
- name: Detect toolchain changes
id: toolchain
run: |
fixture=packages/core/src/typecheck-proof.ts
test ! -e "$fixture"
trap 'rm -f "$fixture"' EXIT
printf 'export const typecheckProof: number = "wrong";\n' > "$fixture"
if bun run typecheck > "$RUNNER_TEMP/typecheck-proof.log" 2>&1; then
cat "$RUNNER_TEMP/typecheck-proof.log"
echo "Typecheck accepted a seeded type error"
exit 1
fi
cat "$RUNNER_TEMP/typecheck-proof.log"
grep -q 'TS2322' "$RUNNER_TEMP/typecheck-proof.log"
rm "$fixture"
trap - EXIT
bun run typecheck
bunx --no-install stll-toolchain-changed --since "$BASE_REF" > "$RUNNER_TEMP/toolchain-changes.json"
node --input-type=module -e 'import fs from "node:fs"; const result = JSON.parse(fs.readFileSync(process.argv[1], "utf8")); if (typeof result.changed !== "boolean") throw new Error("Missing toolchain changed result"); fs.appendFileSync(process.env.GITHUB_OUTPUT, `changed=${result.changed}\n`);' "$RUNNER_TEMP/toolchain-changes.json"
- run: bun run check:typecheck-parity
if: steps.toolchain.outputs.changed == 'true'
- run: bun test scripts/tooling-adoption.test.ts
- run: bun run lint
- run: bun run format:check
- run: bun run test
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/quarantine-policy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Package quarantine policy

on:
pull_request:
merge_group:

permissions:
contents: read

jobs:
enforce:
name: Enforce package quarantine
if: github.repository == 'stella/skillguard'
permissions:
contents: read
uses: stella/.github/.github/workflows/quarantine-policy.yml@5764ab66e4df84cfd2e642c7d7e4678261e668f8
19 changes: 19 additions & 0 deletions .github/workflows/quarantine-prune.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Package quarantine prune

on:
schedule:
- cron: "47 * * * *"

permissions:
contents: read

jobs:
prune:
name: Remove expired quarantine exceptions
if: github.repository == 'stella/skillguard'
permissions:
contents: read
uses: stella/.github/.github/workflows/quarantine-prune.yml@5764ab66e4df84cfd2e642c7d7e4678261e668f8
secrets:
CHANGELOG_APP_ID: ${{ secrets.CHANGELOG_APP_ID }}
CHANGELOG_APP_PRIVATE_KEY: ${{ secrets.CHANGELOG_APP_PRIVATE_KEY }}
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
26.10.0
Loading
Loading