Skip to content

docs(feature-flows): sync flows for #2638/#2670 and bring the index back under its own cap - #2753

Merged
vybe merged 1 commit into
devfrom
docs/sync-feature-flows-2026-09-13
Sep 14, 2026
Merged

vybe merged 1 commit into
devfrom
docs/sync-feature-flows-2026-09-13

Conversation

@trinity-ability

Copy link
Copy Markdown
Contributor

Summary

/sync-feature-flows over the last five dev commits (#2638, #2703, #2571, #2670, #2661). Three of the five shipped complete flow updates in-PR; two left the feature's home doc stale while the change was documented elsewhere. Docs only — no code.

fan-out.md — the FANOUT-001 home learns #2670

Untouched since April; #2670 landed only in mcp-orchestration.md, so the doc that owns routers/fan_out.py still said "Entry Points: POST only". Now documents GET /api/agents/{name}/fan-out/{fan_out_id}, build_fan_out_batch_status status-derivation rules, the on_started hook, FanOutBatchTask/FanOutBatchStatus, get_fan_out_executions and its dual-scope reason, the bounded client.ts::fanOut() + get_fan_out_result MCP tool (receipt rationale summarized in three lines with a pointer to mcp-orchestration.md → Route three, not duplicated).

Drift repaired while there: db/schedules.py:NNN paths → the #1481 db/schedules/ package; migration ordinal #30 → #33 (verified against the MIGRATIONS list); tool registration via addAllTools; X-MCP-Key-* headers documented as inert per #2389 (the router derives from current_user).

subscription-auto-switch.md — tables reconciled with the #2638 prose

The #2638 section was complete but the three catalog tables weren't updated: Files (added subscription_headroom_service.py, execution_envelope.py, client_portal/service.py, the #2638 test; the toggle lives in SubscriptionsPanel.vue + stores/subscriptions.js, not views/Settings.vue), System Setting (subscription_api_key_fallback), API Endpoints (GET/PUT /settings/api-key-fallback).

feature-flows.md — 547 → 444 lines

Verified, no change needed

telemetry-sharing.md (#2571), skill-injection.md + skill-assignment.md (#2703), mcp-orchestration.md (#2661, #2670) — each PR shipped its flow update and every changed file is covered.

Left as-is (pre-existing, flagging)

Three index rows point at docs that don't exist in HEAD: AUDIT-001-execution-origin-tracking.md, skills-crud.md, mcp-skill-tools.md. Not touched here — say the word if they should be dropped or repointed.

Test plan

  • Every feature-flows/*.md has a Documented Flows row (scripted check: 190/190)
  • Every Documented Flows row has exactly 3 cells
  • Recent Updates row count = 20
  • Added lines clean under the enterprise-docs-guard pattern and the git safety checklist (no emails/keys/internal hosts)
  • Analyzer's changed claims spot-checked against code: migration ordinal (MIGRATIONS[32] = execution_fan_out_id), feat(auth): bound, attribute and fail-closed the machine credential for admin/ops APIs (#2323) #2389 header handling in routers/fan_out.py:129-131

🤖 Generated with Claude Code

https://claude.ai/code/session_01168enK9QL4DNuVSN6taw2E

…ack under its own cap

/sync-feature-flows over the last five dev commits (#2638, #2703, #2571,
two left the feature's *home* doc stale while the change was documented
elsewhere.

fan-out.md (FANOUT-001 home, untouched since April) — #2670 only landed
in mcp-orchestration.md, so the doc that owns routers/fan_out.py still
said "POST only". Now documents GET /api/agents/{name}/fan-out/{fan_out_id},
build_fan_out_batch_status status derivation, the on_started hook,
FanOutBatchTask/FanOutBatchStatus, get_fan_out_executions and its
dual-scope reason, the bounded client.ts::fanOut() + get_fan_out_result
MCP tool (receipt rationale summarized, pointer to mcp-orchestration.md).
Drift repaired while there: db/schedules.py:NNN paths -> the #1481
db/schedules/ package, migration ordinal #30 -> #33 (verified against
MIGRATIONS), tool registration via addAllTools, X-MCP-Key-* headers
documented as inert per #2389.

subscription-auto-switch.md — the #2638 prose was complete but its three
catalog tables were not reconciled: Files (subscription_headroom_service,
execution_envelope, client_portal/service, the #2638 test; the toggle
lives in SubscriptionsPanel.vue + stores/subscriptions.js, not
views/Settings.vue), System Setting (subscription_api_key_fallback),
API Endpoints (GET/PUT /settings/api-key-fallback).

feature-flows.md — 547 -> 444 lines. Recent Updates trimmed 137 -> 20
rows, matching its own "newest ~20" header (#1360); one-line rows added
for #2638, #2703, #2670, which had none. 17 flow docs had no Documented
Flows category row — subscription-auto-switch.md among them, reachable
only via a June Recent Updates row the trim would have removed — so
every one of the 190 flow docs now has a category row. Skill Injection
row refreshed for delivery-on-assign (#2703). Three links that were
already broken in HEAD (AUDIT-001-execution-origin-tracking, skills-crud,
mcp-skill-tools) are left as-is.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01168enK9QL4DNuVSN6taw2E
@vybe
vybe force-pushed the docs/sync-feature-flows-2026-09-13 branch from b2af670 to d670f53 Compare September 13, 2026 09:20
@github-actions

Copy link
Copy Markdown

⚠️ Nightly unit-suite check skipped — merge conflict against dev.

Resolve by running git merge dev locally and pushing the result. The next nightly run will re-test once the conflict is gone.

@github-actions

Copy link
Copy Markdown

⚠️ Live-instance suite skipped — merge conflict against dev.

Resolve by merging dev locally and pushing the result; the next nightly re-tests.

@vybe vybe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge-train: batch validated on train/20260914-0901 (train PR #2765, full suite green)

@vybe

vybe commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

merge-train: close/reopen to re-fire the pull_request workflows — eight of them (CodeQL included) hit a GitHub-side startup_failure on this head, and the required CodeQL contexts never reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants