mirror of
https://github.com/joelhooks/joelclaw.git
synced 2026-09-19 01:24:04 +08:00
016dccc295
- Titles wrap fully instead of truncating - Relevance text shows complete (no line-clamp) - Date shown as relative time (2d ago) above title, not stealing width - Single type badge (repo/article/video) replaces full tag list - Source URL removed from index (shown on detail page) - Tighter card spacing for better scan density - Re-removed duplicate self-hosting discovery (also from Vault source)
81 lines
2.0 KiB
YAML
81 lines
2.0 KiB
YAML
name: Policy Validators
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "packages/**"
|
|
- "apps/**"
|
|
- "docs/**"
|
|
- "scripts/validate-cli-contracts.ts"
|
|
- "scripts/validate-llm-observability-guards.ts"
|
|
- "scripts/validate-no-legacy-worker-clone.ts"
|
|
- "docs/agent-contracts/**"
|
|
- "package.json"
|
|
- "pnpm-lock.yaml"
|
|
- ".github/workflows/agent-contracts.yml"
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "packages/**"
|
|
- "apps/**"
|
|
- "docs/**"
|
|
- "scripts/validate-cli-contracts.ts"
|
|
- "scripts/validate-llm-observability-guards.ts"
|
|
- "scripts/validate-no-legacy-worker-clone.ts"
|
|
- "docs/agent-contracts/**"
|
|
- "package.json"
|
|
- "pnpm-lock.yaml"
|
|
- ".github/workflows/agent-contracts.yml"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
policy-validators:
|
|
name: Shared policy validators
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 9
|
|
|
|
- name: Setup Bun
|
|
uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: latest
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Validate CLI contract baseline
|
|
run: bun run validate:cli-contracts
|
|
|
|
- name: Validate LLM observability guards
|
|
run: bun run validate:llm-observability-guards
|
|
|
|
- name: Validate no legacy worker-clone references
|
|
run: bun run validate:no-legacy-worker-clone
|
|
|
|
- name: Envelope contract tests
|
|
run: bun test packages/cli/src/commands/contract-envelope.test.ts
|
|
|
|
- name: Capabilities tests
|
|
run: bun test packages/cli/src/commands/capabilities.test.ts
|
|
|
|
- name: Search predictability tests
|
|
run: bun test packages/cli/src/commands/search.test.ts
|
|
|
|
- name: CLI typecheck
|
|
run: pnpm --filter @joelclaw/cli check-types
|