mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
* feat(agent): add bounded managed dynamic workflows and verified lifecycle observation * feat(plugins): integrate managed workflows with mod policy and capability discovery * feat(managed): unify console runs and verified advisory learning * fix(managed): hydrate native recall receipts validated on ruOS * docs(managed): record authenticated console host blocker * docs(managed): qualify installed console and compatible native host * feat(managed): integrate verified cycles and isolate native memory * fix(managed): enforce offline native models and qualify feedback E2E * fix(managed): independent security and correctness review findings - gate managed_agent_interrupt through the managed_agent_control policy; terminate obeys the allowlist and deletes only its own environment when RUFLO_MANAGED_CONTROL=1 - track only events from the acknowledged message so a later poll cannot report the previous turn as finished - require the canonical base64 verifier signature so one receipt cannot fill the ledger - register RUFLO_MANAGED_AGENTS_BASE_URL as a trust-boundary env var (env-precedence audit) and key the credential scope marker with a per-process HMAC (CodeQL) - best-effort local snapshot writes; report messageId when a prompt fails after it was sent - console: rescheduling is running, budget/action-blocked sessions are active, not finished - document the remaining known limits in ADR 0004 Co-Authored-By: RuFlo <ruv@ruv.net> * docs: user guide section for managed cloud agents; correct ruflo-agent README counts Co-Authored-By: RuFlo <ruv@ruv.net> * fix(managed): scope marker is a generation number, never a hash of the API key (CodeQL) Co-Authored-By: RuFlo <ruv@ruv.net> --------- Co-authored-by: r <r@x>
50 lines
3.2 KiB
YAML
50 lines
3.2 KiB
YAML
name: Managed dynamic workflows contract
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'v3/@claude-flow/cli/src/mcp-tools/managed-agent-tools.ts'
|
|
- 'v3/@claude-flow/cli/src/services/managed*.ts'
|
|
- 'plugins/ruflo-console/**'
|
|
- 'v3/@claude-flow/cli/__tests__/managed*.test.ts'
|
|
- 'plugins/ruflo-agent/**'
|
|
- 'plugins/ruflo-workflows/**'
|
|
- 'scripts/managed-outcome-verifier.mts'
|
|
- 'scripts/e2e-managed-*.mts'
|
|
- '.github/workflows/managed-dynamic-workflows.yml'
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
contract:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node: ['20', '22']
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- name: Install isolated test tooling without lifecycle scripts
|
|
run: |
|
|
npm install --prefix "$RUNNER_TEMP/managed-tools" --ignore-scripts --no-audit --no-fund vitest@3.2.6 typescript@5.9.3 @types/node@22 @claude-flow/cli-core@3.7.5
|
|
ln -s "$RUNNER_TEMP/managed-tools/node_modules" node_modules
|
|
- name: Type check the adapter boundary
|
|
run: node node_modules/typescript/lib/tsc.js --target es2022 --module nodenext --moduleResolution nodenext --strict --skipLibCheck --types node --noEmit v3/@claude-flow/cli/src/mcp-tools/managed-agent-tools.ts
|
|
- name: Offline provider and adjacent workflow regressions
|
|
working-directory: v3/@claude-flow/cli
|
|
run: node ../../../node_modules/vitest/vitest.mjs run --maxWorkers=2 --config vitest.config.ts __tests__/managed-agent-tools.test.ts __tests__/managed-workflows.test.ts __tests__/managed-mod-integration.test.ts __tests__/managed-learning.test.ts __tests__/managed-learning-loop.test.ts __tests__/managed-memory-isolation.test.ts __tests__/managed-run-collector.test.ts __tests__/managed-run-store.test.ts __tests__/workflow-validation-runtime.test.ts __tests__/workflow-resume-dispatch-r50.test.ts __tests__/workflow-progress-ownership-r50.test.ts
|
|
- name: Executable independent verifier and feedback cycle
|
|
run: |
|
|
node node_modules/typescript/lib/tsc.js --target es2022 --module nodenext --moduleResolution nodenext --strict --skipLibCheck --types node --outDir "$RUNNER_TEMP/managed-e2e" scripts/e2e-managed-loop.mts scripts/managed-outcome-verifier.mts v3/@claude-flow/cli/src/services/managed-memory-worker.ts
|
|
node "$RUNNER_TEMP/managed-e2e/scripts/e2e-managed-loop.mjs"
|
|
- name: Plugin and registration contracts
|
|
run: |
|
|
bash plugins/ruflo-agent/scripts/smoke.sh
|
|
bash plugins/ruflo-workflows/scripts/smoke.sh
|
|
node scripts/audit-cli-mcp-tools.mjs
|
|
|
|
- name: Focused console managed integration and rendering
|
|
run: node node_modules/vitest/vitest.mjs run --maxWorkers=2 plugins/ruflo-console/tests/managed.spec.ts plugins/ruflo-console/tests/managed-palette.spec.ts plugins/ruflo-console/tests/model-tools.spec.ts plugins/ruflo-console/tests/palette-view.spec.ts plugins/ruflo-console/tests/workflows.spec.ts plugins/ruflo-console/tests/mods-section.spec.ts plugins/ruflo-console/tests/render-smoke.spec.ts plugins/ruflo-console/tests/tui-actions.spec.ts
|