Skip to content

test(agentflow): retarget compatibility to agentflow v8.4.15 - #700

Merged
lis186 merged 2 commits into
mainfrom
chore/agentflow-8.4.15
Oct 17, 2026
Merged

lis186 merged 2 commits into
mainfrom
chore/agentflow-8.4.15

Conversation

@lis186

@lis186 lis186 commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Summary

Retarget ccxray's agentflow compatibility from upstream 8.4.14 to v8.4.15 (80fcd7f).

  • Fixture generator UPSTREAM_COMMIT, docs and the replyDigest golden-test label now name v8.4.15.
  • server/agentflow/notebook.js: comment-only version bump. Justified: upstream notebook-write.js, round-linter.js and local-time.js (the files its patterns mirror) are unchanged between v8.4.14 and v8.4.15 (checked against the upstream compare), so the parsing patterns still match exactly.
  • New synthetic fixtures + tests (test/agentflow-v8415.test.js, test/fixtures/agentflow/v8.4.15/):
    • a Claude host that captures later owner input with manual append-input, and degrades to window attribution when it does not;
    • compaction that keeps the latest completed Ask live beside the current one.
  • docs/agentflow-report.md: Claude hosts must run append-input manually since v8.4.15, otherwise attribution degrades to window.

Verification

  • Unit group (2 workers): 2052/2052 pass; agentflow e2e files: 52/52 pass.

Bump the upstream compatibility target from 8.4.14 to v8.4.15 (80fcd7f) in
the fixture generator, docs and the replyDigest golden test. notebook-write.js,
round-linter.js and local-time.js are unchanged upstream, so
server/agentflow/notebook.js only updates its version reference.

Add synthetic v8.4.15 fixtures and tests: a Claude host that captures later
owner input with manual append-input (and degrades to window attribution
without it), and compaction that keeps the latest completed Ask live.
Document the Claude manual append-input requirement in agentflow-report.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T14:07:56.790013Z 3335017 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: 33350173de

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

const { spawn, spawnSync, fork, execFileSync } = require('node:child_process');

const UPSTREAM_COMMIT = 'd0a6dd0a00d2d0914c900a0a5851764b32b50fb1'; // agentflow 8.4.14
const UPSTREAM_COMMIT = '80fcd7f81e21b2c1cbcaeda53a40a0ede8fcab1d'; // agentflow 8.4.15

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 Keep the generated-fixture pin in sync

When the fixture generator is run against the newly pinned v8.4.15 checkout, it writes 80fcd7f into generated/manifest.json, but test/agentflow-generated.e2e.test.js:57 still requires d0a6dd0; the committed manifest also remains at that old hash. Consequently, following the documented regeneration command immediately makes the unit suite fail, while the real-runner fixture continues covering v8.4.14 rather than the newly declared compatibility target. Regenerate the fixture and update its guard, or retain the historical pin here.

Useful? React with 👍 / 👎.

@@ -0,0 +1,8 @@
{
"command": "node notebook-write.js append-input --notebook .agentflow/devlog.md --host claude --session S2 --input-stdin",

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 Use the startup session in the manual-capture fixture

In this fixture the startup submission belongs to S1, but the purported follow-up capture passes --session S2. Agentflow v8.4.15 requires later Claude messages to be saved using the startup session_id (upstream Shared notebooks documentation); moreover, the test never executes this command and only uses its text as generic notebook evidence. The passing expectedCaptured branch therefore cannot demonstrate the valid upstream workflow it claims to model; use the startup session consistently and model the later submission in that same Claude session.

Useful? React with 👍 / 👎.

@lis186
lis186 merged commit 74cb889 into main Oct 17, 2026
4 checks passed
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