Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
6a6e6d9
feat: queue Endor reachability scans for plugin releases
jesse-merhi Sep 15, 2026
ceeaf1b
fix: preserve Endor targets and failure diagnostics
jesse-merhi Sep 16, 2026
392fd97
fix(security): retain primary verdict when Endor fails
jesse-merhi Sep 16, 2026
19a4222
test(security): separate Endor timeout and redaction guarantees
jesse-merhi Sep 16, 2026
87c71e7
fix(security): clean cancelled Endor scans and preserve errors
jesse-merhi Sep 21, 2026
19ce4c0
test(security): make timeout cleanup identity deterministic
jesse-merhi Sep 21, 2026
d4a07d6
test(security): isolate Docker in mocked worker scans
jesse-merhi Sep 21, 2026
c3b64a6
fix(security): count Endor timeouts in worker health
jesse-merhi Sep 21, 2026
9fd9c44
refactor(security): keep Endor scans summary-only
jesse-merhi Sep 22, 2026
308107f
refactor(security): run Endor through custom scanner config
jesse-merhi Sep 22, 2026
dc6a163
fix(security): include Claw packages in custom Endor scans
jesse-merhi Sep 22, 2026
d8315fc
chore(security): prepare released Endor scanner rollout
jesse-merhi Sep 23, 2026
75c831c
feat(security): include Endor evidence in plugin judge
jesse-merhi Sep 25, 2026
3e0347a
refactor(security): simplify Endor scan pipeline
jesse-merhi Sep 30, 2026
8540da4
Prepare guarded Endor plugin scans on Test
jesse-merhi Sep 30, 2026
445046b
fix(security): preserve Test worker credentials
jesse-merhi Oct 1, 2026
5f205bc
fix(security): constrain scan dispatch and retain Endor results
Patrick-Erichsen Oct 2, 2026
282cf1c
fix(security): preserve staging worker relay
Patrick-Erichsen Oct 2, 2026
8d49ea0
fix(security): bound worker subprocess output
Patrick-Erichsen Oct 2, 2026
bc8780a
fix(security): harden Endor worker isolation
Patrick-Erichsen Oct 2, 2026
08f23e0
fix(security): retain Endor diagnostics and stop fatal scan refills
jesse-merhi Oct 13, 2026
4549fd4
fix(ci): validate Endor workflow and match native Markdown formatting
jesse-merhi Oct 13, 2026
6247912
style: preserve nested billing example line width
jesse-merhi Oct 13, 2026
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
2 changes: 1 addition & 1 deletion .agents/skills/clawhub-moderation/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal mutations directly for staff actions.
- For `email send`, the user must explicitly ask for the email and sign off on
the final recipient, subject, and body. Dry-run is fine for drafting. Never
send until both are true, and only use `--send --confirm-user-request
--confirm-user-signoff` after that approval.
--confirm-user-signoff` after that approval.
- Prefer handles for humans. Use `--id` only when the user provides a user id.
- Never bypass API-token auth, server role checks, or audit logging.
- After the write, verify state with the CLI/API and report the result.
Expand Down
8 changes: 4 additions & 4 deletions .agents/skills/convex-billing/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,28 @@ Wire Stripe to Convex using @convex-dev/stripe: a checkout action, an httpAction
1. Install the component: `npm install @convex-dev/stripe`.
2. Create `convex/convex.config.ts`:
```ts
import { defineApp } from "convex/server";
import stripe from "@convex-dev/stripe/convex.config.js";
import { defineApp } from "convex/server";
const app = defineApp();
app.use(stripe);
export default app;
```
3. Store Stripe keys in Convex env (use the `env` micro power): `STRIPE_SECRET_KEY` (sk_test_… / sk_live_…) and `STRIPE_WEBHOOK_SECRET` (whsec_…).
4. Create `convex/http.ts` to register the webhook route (the component handles signature verification automatically):
```ts
import { registerRoutes } from "@convex-dev/stripe";
import { httpRouter } from "convex/server";
import { components } from "./_generated/api";
import { registerRoutes } from "@convex-dev/stripe";
const http = httpRouter();
registerRoutes(http, components.stripe, { webhookPath: "/stripe/webhook" });
export default http;
```
5. Create `convex/billing.ts` with a checkout action and a subscription-gate query:
```ts
import { action, query } from "./_generated/server";
import { components } from "./_generated/api";
import { StripeSubscriptions } from "@convex-dev/stripe";
import { v } from "convex/values";
import { components } from "./_generated/api";
import { action, query } from "./_generated/server";
const stripeClient = new StripeSubscriptions(components.stripe, {});
export const createSubscriptionCheckout = action({
args: { priceId: v.string() },
Expand Down
26 changes: 21 additions & 5 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
github.event.pull_request.head.repo.full_name == github.repository &&
github.actor == 'Patrick-Erichsen' &&
github.event.pull_request.head.sha != '') ||
(github.event_name == 'workflow_dispatch' &&
github.ref == 'refs/heads/codex/endor-plugin-scan-main-20261001' &&
github.actor == 'Patrick-Erichsen' &&
inputs.branch_test_confirm == 'deploy-endor-to-permanent-test' &&
inputs.expected_sha == github.sha) ||
(github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push')
runs-on: ubuntu-latest
Expand All @@ -80,6 +85,9 @@ jobs:
}}

- name: Resolve deployment revision
env:
ENDOR_TEST_CONFIRM: ${{ inputs.branch_test_confirm }}
ENDOR_TEST_SHA: ${{ inputs.expected_sha }}
id: revision
run: |
set -euo pipefail
Expand All @@ -88,6 +96,14 @@ jobs:
main_sha="$(git rev-parse origin/main)"
if [[ "$deploy_sha" != "$main_sha" ]]; then
branch_test_allowed=false
if [[ "$GITHUB_EVENT_NAME" == workflow_dispatch ]] &&
[[ "$GITHUB_REF" == refs/heads/codex/endor-plugin-scan-main-20261001 ]] &&
[[ "$GITHUB_ACTOR" == Patrick-Erichsen ]] &&
[[ "$ENDOR_TEST_CONFIRM" == deploy-endor-to-permanent-test ]] &&
[[ "$ENDOR_TEST_SHA" == "$deploy_sha" ]]
then
branch_test_allowed=true
fi
if [[ "$GITHUB_EVENT_NAME" == workflow_dispatch ]] &&
[[ "$GITHUB_REF" == refs/heads/pe/claw-563-skills-sh-mirror-10k ]] &&
[[ "$GITHUB_ACTOR" == Patrick-Erichsen ]] &&
Expand Down Expand Up @@ -232,6 +248,11 @@ jobs:
bunx convex env set CLAWHUB_SKILLS_SH_ROLLOUT_MODE test --prod
bunx convex env set CLAWHUB_GITHUB_SKILL_SYNC_ROLLOUT_MODE test --prod

- name: Deploy Convex Test
env:
CONVEX_DEPLOY_KEY: ${{ secrets.CONVEX_DEPLOY_KEY }}
run: bun run convex:deploy

- name: Stamp Convex build SHA
env:
CONVEX_DEPLOY_KEY: ${{ secrets.CONVEX_DEPLOY_KEY }}
Expand All @@ -242,11 +263,6 @@ jobs:
CONVEX_DEPLOY_KEY: ${{ secrets.CONVEX_DEPLOY_KEY }}
run: bunx convex env set APP_DEPLOYED_AT "$(date -u +"%Y-%m-%dT%H:%M:%SZ")" --prod

- name: Deploy Convex Test
env:
CONVEX_DEPLOY_KEY: ${{ secrets.CONVEX_DEPLOY_KEY }}
run: bun run convex:deploy

- name: Verify Convex contract
env:
CONVEX_DEPLOY_KEY: ${{ secrets.CONVEX_DEPLOY_KEY }}
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/endor-scanner-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Endor Scanner Image

on:
workflow_dispatch:

permissions:
contents: read
packages: write

jobs:
publish:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
timeout-minutes: 15
env:
IMAGE: ghcr.io/${{ github.repository_owner }}/clawhub-endor:${{ github.sha }}
ENDORCTL_VERSION: v1.7.1115
ENDORCTL_SHA256: 4022e91a39d04f852f8a6195a5f98297af6cf2738f4012b1591bc87976136d4b
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Build and check scanner image
run: |
set -euo pipefail
curl --fail --location --retry 3 \
"https://api.endorlabs.com/download/endorlabs/$ENDORCTL_VERSION/binaries/endorctl_${ENDORCTL_VERSION}_linux_amd64" \
--output scripts/security/endor/endorctl
docker build --platform linux/amd64 \
--build-arg "ENDORCTL_SHA256=$ENDORCTL_SHA256" \
--label "org.opencontainers.image.source=https://github.com/$GITHUB_REPOSITORY" \
--tag "$IMAGE" scripts/security/endor
sh scripts/security/check-endor-image.sh "$IMAGE"

- name: Publish image and report digest
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
printf '%s' "$GH_TOKEN" | docker login ghcr.io --username "$GITHUB_ACTOR" --password-stdin
docker push "$IMAGE"
digest=$(docker image inspect --format '{{index .RepoDigests 0}}' "$IMAGE")
printf 'Set CODEX_SECURITY_SCAN_ENDOR_IMAGE to %s before enabling Endor.\n' "$digest" >> "$GITHUB_STEP_SUMMARY"
Loading
Loading