Skip to content

docs(rfc): apply §6 review findings to continue-work-signal-v2#548

Closed
ronan-dandelion-cult wants to merge 15 commits intofrond-scribe/20260429/v3-cohort-fixesfrom
frond-scribe/20260503/rfc-apply-copilot
Closed

docs(rfc): apply §6 review findings to continue-work-signal-v2#548
ronan-dandelion-cult wants to merge 15 commits intofrond-scribe/20260429/v3-cohort-fixesfrom
frond-scribe/20260503/rfc-apply-copilot

Conversation

@ronan-dandelion-cult
Copy link
Copy Markdown

Summary

Applies the §6 review findings from #544 into docs/design/continue-work-signal-v2.md and retires the intermediate review document.

Key changes:

  1. Tightens the RFC structure around terminology/scope, primitive semantics, substrate behavior, security, validation evidence, applicability, and future work.
  2. Corrects stale implementation claims for continue_delegate() schema, TaskFlow persistence/failure behavior, earlyWarningBand, /new reset semantics, post-compaction delegate delivery, security boundaries, and continuation observability.
  3. Adds lifecycle diagrams for delegate dispatch, trigger taxonomy, post-compaction relay, gateway broker role, and trace/chain correlation.
  4. Reframes the register around the elective successor-turn substrate and removes the intermediate scientific-review scaffold.

Reviewer-elect: @ronan-dandelion-cult 🌊

Refs #547 and #544.

Verification

  • pnpm tsgo passed locally after pnpm install restored missing dependencies.
  • pnpm check passed locally.
  • Testbox warmup was unavailable because the Blacksmith CLI was not authenticated in this environment.

Final pushed HEAD: 4ee47f22a3352085c56a695b45fc1457a8b87af8

frond-scribe and others added 9 commits May 2, 2026 19:19
…lot lane

Apply phase for #544 RFC scientific-literature review. Folds §6 review findings
into docs/design/continue-work-signal-v2.md directly; review document is
intermediate scaffolding and gets deleted in §4.

Per figs's directive: copilot does brute-mechanical line-edits NOW; 🌊's
`continue_work` scheduled apply pickup re-purposed → review-of-output. Frees
🌊 to pick a different lane from the gh-issue backlog tonight.

Tracking: #547
Workorder: /home/figs/flesh_beast_best_beast/WORKORDER-rfc-apply-20260503.md
Reviewer-elect: 🌊 Ronan
Heartbeat: frond-scribe-rfc-apply-hook to #sprites-of-thornfield
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ed to continue-work-signal-v2.md

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4ee47f22a3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -0,0 +1,196 @@
# RFC apply journal: continue-work-signal-v2
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove temporary RFC apply journal from repository

tmp-drop-me-rfc-apply.md is an ephemeral worklog (it even uses a tmp-drop-me name) that captures branch-local execution notes and one-off verification context rather than durable project documentation. Keeping this file in the tree introduces stale guidance over time and makes future readers treat transient process notes as source-of-truth docs, so it should be dropped from the commit or moved to external review artifacts.

Useful? React with 👍 / 👎.

@ronan-dandelion-cult
Copy link
Copy Markdown
Author

Loopback note: §4 diagrams need update against #537 surfaces

Per figs's directive (frond-scribe relay 2026-05-03 ~02:34Z): the §4 trace / lifecycle / delegate / broker / dispatch diagrams added in commit 06927314b9 were authored before silas's continuation-queue diagnostics PR #537 merged.

#537 has now merged at dda74a79f0 on frond-scribe/20260429/v3-cohort-fixes — adds:

  • run-provenance.ts (run-spawn provenance classification)
  • diagnostic-continuation-queues.ts (queue-depth + drain metrics)
  • new metrics provider seam
  • diagnostic events on delegate-store.ts / agent-runner.ts / heartbeat-wake.ts instrumentation hooks

Required follow-up before this PR merges (or as a follow-up commit on this branch): a copilot loopback pass that:

  1. Re-pulls the latest frond-scribe/20260429/v3-cohort-fixes tip into this branch (rebase or merge)
  2. Updates the §4 diagrams to reflect instrumentation: surface continuation-queue depth + run-spawn provenance for #532 #537's new substrate surfaces — particularly the trace-correlation diagram and the dispatch diagram, where instrumentation: surface continuation-queue depth + run-spawn provenance for #532 #537's diagnostic events become observable surfaces the diagrams should name
  3. Verifies the §3 claims-validation table doesn't have new claims that should reference instrumentation: surface continuation-queue depth + run-spawn provenance for #532 #537's instrumentation

This comment exists so future-copilot picking up the loopback has the full context. 🌊 Ronan (RFC primary author) is the reviewer-elect for both this PR and any loopback pass.

Tracking: this loopback work belongs to either (a) this PR's scope expansion via additional commits before merge, OR (b) a separate narrow follow-up PR after this merges. figs's call on which shape.

frond-scribe and others added 5 commits May 2, 2026 19:46
Preserves the existing PR branch history while bringing in the #537/#542/#545 cohort tip for the RFC loopback.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

# Conflicts:
#	docs/design/continue-work-signal-v2.md
Reflects #537 run provenance classification and continuation queue metrics provider samples in the delegate dispatch sequence.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reflects #537 continuation queue depth/drain metrics and run-spawn provenance on the post-compaction lifecycle.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reflects #537 diagnostic continuation queue metrics provider seam and diagnostic event surface on the lifecycle broker.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reflects #537 run fireReason provenance, parentRunId linkage, and continuation queue diagnostic sample events alongside the OTel trace flow.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ronan-dandelion-cult
Copy link
Copy Markdown
Author

Follow-up to issuecomment-4365228544: loopback is pushed at ff9454f.

What changed:

  • Refreshed the delegate dispatch diagram for instrumentation: surface continuation-queue depth + run-spawn provenance for #532 #537 TaskFlow queue metrics samples and fireReason=continuation-chain run provenance.
  • Refreshed the post-compaction lifecycle diagram for continuation queue depth/drain/failed metrics, parentRunId linkage, and continuation-chain run provenance.
  • Refreshed the gateway lifecycle broker diagram to show the diagnostic continuation queue metrics provider seam and the diagnostic event surface.
  • Refreshed the trace propagation diagram to show run fireReason categories, parentRunId, and diagnostic.continuation_queue.sample alongside the OTel trace flow.
  • Left the capability-tier and compaction trigger taxonomy diagrams unchanged; instrumentation: surface continuation-queue depth + run-spawn provenance for #532 #537 does not alter their decision topology.

#537 surfaces reflected: resolveReplyRunFireReason() categories (timer, external-trigger, continuation-chain), registerDiagnosticContinuationQueueMetricsProvider(), queue metrics shape (totalQueued, pending/runnable/scheduled/staged/invalid counts, enqueued/drained/failed rates, top queues, history), and diagnostic events on message/session/run/liveness sampling.

Rebase/branch note: the RFC §3.6 conflict was resolved by keeping this lane's narrowed continuation-substrate claims while preserving the v3/#537 failed-record cleanup/pruning details. A direct non-force push rejected after the local rebase, so the pushed branch preserves the existing PR history with merge commit c0674b1 and then adds the four loopback diagram commits on top.

Validation: pnpm tsgo; pnpm check.

…fc-apply-journal.md

Per Codex P2 review on PR #548:
> tmp-drop-me-rfc-apply.md is an ephemeral worklog (it even uses a tmp-drop-me name)
> that captures branch-local execution notes... it should be dropped from the commit
> or moved to external review artifacts.

Applying the same canonical pattern from #542 (where tmp-drop-me-v29-uptake.md
was moved to docs/design/541-v29-uptake-journal.md). Audit trail preserved at
durable home matching existing <issue>-<descriptor>-journal.md naming convention.

Refs #547, #548 codex-review
ronan-dandelion-cult pushed a commit that referenced this pull request May 3, 2026
Folds RFC scientific-literature review apply work + #537-aware §4 diagram
refreshes into the v52 successor candidate, per figs's directive:
v52 candidate becomes the complete rotation surface (v5.2 base + tonight's
wave + RFC apply substrate).

Source: frond-scribe/20260503/rfc-apply-copilot @ e624547
- Apply lane DECLARE-DONE (4ee47f2): folded #544 review findings into
  docs/design/continue-work-signal-v2.md; retired intermediate review doc
- Loopback DECLARE-DONE (ff9454f): refreshed §4 diagrams against
  #537's run-provenance + queue-diagnostics + metrics provider seam surfaces
- frond-scribe cleanup (e624547): moved tmp-drop-me-rfc-apply.md to
  docs/design/547-rfc-apply-journal.md per Codex P2

Refs #544, #547, #548
@ronan-dandelion-cult
Copy link
Copy Markdown
Author

Closing — work folded into PR #549

Per figs's directive (frond-scribe relay 2026-05-03 ~03:25Z): the RFC apply lane work (this PR's content) has been folded into the v52 successor candidate (PR #549). Single review surface for cohort + reviewer-elect.

What carried over to #549:

Where to review now: PR #549 (the rolled-up v52 successor candidate). Single byte-walk surface; 🌊's reviewer-elect cycle re-routes to #549 when his continue_work +1hr wake fires.

Branch frond-scribe/20260503/rfc-apply-copilot preserved as savegame; not deleted.

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.

1 participant