Skip to content

cycle/0007: release prep for 0.1.0#3

Merged
flyingrobots merged 8 commits into
mainfrom
cycle/0007-release-prep
Apr 3, 2026
Merged

cycle/0007: release prep for 0.1.0#3
flyingrobots merged 8 commits into
mainfrom
cycle/0007-release-prep

Conversation

@flyingrobots
Copy link
Copy Markdown
Owner

Summary

All pre-release items resolved:

  • bin/graft.js: CLI entry point — npx @flyingrobots/graft starts MCP server
  • run_capture: implemented (was a stub since cycle 0002) — tee to log + tail
  • MCP tool descriptions: all 10 tools have agent-facing descriptions
  • Lang detection fix: .js files now correctly parsed as JS (not TS) in diff/changed_since paths
  • VISION.md: regenerated with 7 cycles, 227 tests, 10 tools, 3 legends
  • CHANGELOG: versioned as 0.1.0
  • README: install instructions, MCP config setup

Test plan

  • 227 tests passing across 20 files
  • Lint + typecheck clean
  • bin/graft.js tested end-to-end via MCP client (10 tools, all with descriptions)
  • Language detection extracted to shared src/parser/lang.ts

After merge

Tag v0.1.0 and npm publish.

- bin/graft.js starts MCP stdio server via --import tsx
- package.json: version 0.1.0, files field, updated description
- tsx moved to runtime dependency (needed by bin entry point)
- README: install instructions, MCP config setup, updated tool table
- ESLint ignores bin/ (entry script, not linted)
- VISION.md: updated to 7 cycles, 227 tests, 10 tools, 3 legends,
  added cycles 0003-0007 summaries, CLEAN_CODE legend
- CHANGELOG: versioned as 0.1.0, added graft_diff, run_capture,
  tool descriptions, bin entry point
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 3, 2026

Warning

Rate limit exceeded

@flyingrobots has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 13 minutes and 31 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 13 minutes and 31 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 02d0c023-7c33-45ac-bb76-c3b3e5e265c1

📥 Commits

Reviewing files that changed from the base of the PR and between 80dbb1b and 1fbc598.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (20)
  • .github/workflows/release.yml
  • CHANGELOG.md
  • README.md
  • bin/graft.js
  • docs/VISION.md
  • docs/design/0007-release-prep/design.md
  • docs/method/backlog/asap/CORE_lang-detection-missing-in-server.md
  • docs/method/backlog/asap/CORE_live-study-design.md
  • docs/method/backlog/asap/CORE_mcp-tool-descriptions.md
  • docs/method/backlog/asap/CORE_outline-quality-audit.md
  • docs/method/backlog/asap/CORE_release-prep.md
  • docs/method/backlog/asap/CORE_run-capture-stub.md
  • docs/method/backlog/asap/CORE_stale-vision-doc.md
  • docs/method/backlog/up-next/CORE_non-read-burden.md
  • docs/method/backlog/up-next/CORE_token-usage-comparison.md
  • eslint.config.js
  • package.json
  • src/mcp/server.ts
  • src/operations/graft-diff.ts
  • src/parser/lang.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cycle/0007-release-prep

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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: 999e36b93e

ℹ️ 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".

Comment thread bin/graft.js Outdated
@@ -0,0 +1,11 @@
#!/usr/bin/env node --import tsx
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Use env -S so bin/graft.js can start via npx

The shebang currently passes node --import tsx as a single argument to env, so the published bin fails to launch on standard Unix setups (in this repo, ./bin/graft.js exits with /usr/bin/env: ‘node --import tsx’: No such file or directory). That makes the advertised npx @flyingrobots/graft entrypoint non-functional until the shebang is changed to a split form (for example using env -S).

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

✅ Fixed in 1fbc598. Shebang now uses #!/usr/bin/env -S node --import tsx for Linux compatibility.

Comment thread src/mcp/server.ts
Comment on lines +458 to +460
return Promise.resolve(textResultWithReceipt("run_capture", {
error: msg,
stderr: typeof stderr === "string" ? stderr.slice(0, 2000) : "",
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 Return captured stdout when run_capture command fails

In the error path, run_capture only returns stderr and drops the command's stdout, even though many failing commands emit the primary diagnostics on stdout; it also omits the normal captured-output payload fields. This makes failure analysis inconsistent with the tool contract of returning tailed command output and can hide actionable output whenever the exit code is non-zero.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

✅ Fixed in 1fbc598. Error path now returns captured stdout (tailed) alongside stderr.

ASAP:
- Outline quality audit (if outlines are weak, agents fight the tool)
- Live 5-metric study design (burden, completion, churn, recovery,
  evasion — turns thesis into defensible infrastructure)

Up-next:
- Non-read burden sources (shell output, search results, subagent
  bloat — don't overfit to file reads alone)
- Token usage comparison updated to reference the full study

Key insight: proof requires showing agents don't get WORSE, not
just that bytes get smaller.
Two-phase workflow triggered by vX.Y.Z tags on main:

Phase 1 (sanity):
- Tag version matches package.json version
- Lockfile in sync (frozen install)
- package.json has required fields (name, version, description,
  license, repository, bin, files, engines)
- Lint, typecheck, tests pass
- Dry-run pack verifies publishable contents

Phase 2 (release):
- Extracts changelog section for the tagged version
- Creates GitHub release with changelog notes
- bin/graft.js: use #!/usr/bin/env -S node --import tsx (Linux
  needs -S to split args)
- run_capture: error path now returns captured stdout alongside
  stderr (commands that produce output before failing)
@flyingrobots flyingrobots merged commit 642c425 into main Apr 3, 2026
2 of 3 checks passed
@flyingrobots flyingrobots deleted the cycle/0007-release-prep branch April 5, 2026 12:04
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