Skip to content

chore: remove demo/ctx directory#2071

Merged
maxprilutskiy merged 1 commit intomainfrom
demo-remove
Apr 17, 2026
Merged

chore: remove demo/ctx directory#2071
maxprilutskiy merged 1 commit intomainfrom
demo-remove

Conversation

@sumitsaurabh927
Copy link
Copy Markdown
Contributor

@sumitsaurabh927 sumitsaurabh927 commented Apr 17, 2026

Summary

  • Removes the demo/ctx directory which contained the CTX AI context engine demo
  • Adds an empty changeset since this is a non-release change

Test plan

  • No functional code changes — verify CI passes

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Removed the ctx demo tool and associated utilities previously used for generating and managing localization context.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 17, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: fb9fcecc-8168-465c-bafc-6decb27c10b9

📥 Commits

Reviewing files that changed from the base of the PR and between 3238880 and f2f8fd0.

📒 Files selected for processing (14)
  • .changeset/orange-lines-thank.md
  • demo/ctx/.gitignore
  • demo/ctx/README.md
  • demo/ctx/agent.ts
  • demo/ctx/package.json
  • demo/ctx/src/agent-loop.ts
  • demo/ctx/src/cli.ts
  • demo/ctx/src/files.ts
  • demo/ctx/src/i18n.ts
  • demo/ctx/src/jsonc.ts
  • demo/ctx/src/research.ts
  • demo/ctx/src/state.ts
  • demo/ctx/src/ui.ts
  • demo/ctx/src/voices.ts
💤 Files with no reviewable changes (13)
  • demo/ctx/.gitignore
  • demo/ctx/package.json
  • demo/ctx/README.md
  • demo/ctx/agent.ts
  • demo/ctx/src/i18n.ts
  • demo/ctx/src/research.ts
  • demo/ctx/src/cli.ts
  • demo/ctx/src/ui.ts
  • demo/ctx/src/files.ts
  • demo/ctx/src/agent-loop.ts
  • demo/ctx/src/voices.ts
  • demo/ctx/src/state.ts
  • demo/ctx/src/jsonc.ts

📝 Walkthrough

Walkthrough

The demo/ctx package is entirely removed, including its CLI entry point, supporting modules for agent interaction, i18n integration, JSONC comment generation, file operations, terminal UI, and brand voice generation. A changeset file is added with minimal metadata.

Changes

Cohort / File(s) Summary
Changeset metadata
.changeset/orange-lines-thank.md
New changeset file with empty body; placeholder for release notes.
Package configuration and documentation
demo/ctx/package.json, demo/ctx/README.md, demo/ctx/.gitignore
Deleted package metadata, CLI binary mappings, dependencies (@anthropic-ai/sdk, tsx), and project documentation.
CLI entry point
demo/ctx/agent.ts
Deleted executable TypeScript entrypoint that orchestrated mode detection, Anthropic client initialization, context generation, JSONC injection, and i18n provider sync.
Core implementation modules
demo/ctx/src/agent-loop.ts, demo/ctx/src/cli.ts, demo/ctx/src/files.ts, demo/ctx/src/i18n.ts, demo/ctx/src/jsonc.ts, demo/ctx/src/research.ts, demo/ctx/src/state.ts, demo/ctx/src/ui.ts, demo/ctx/src/voices.ts
Removed all supporting modules for agent control flow, CLI argument parsing, filesystem operations, i18n parsing and provider updates, JSONC comment generation/injection, research agent and questionnaire, state persistence, terminal UI formatting, and brand voice generation.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

community

Poem

A rabbit hops back through the code,
Bidding ctx farewell on the road,
Tools and voices fade to dust,
When deletion is the only thrust,
Less is more in the dev mode. 🐰

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore: remove demo/ctx directory' clearly and concisely describes the main change—removal of the demo/ctx directory—matching the primary objective and file deletions shown in the changeset.
Description check ✅ Passed The description includes a summary and test plan aligned with the template structure, but omits detailed 'Changes' list items and does not fully populate the 'Checklist' section with all required fields as shown in the template.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch demo-remove

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.

@sumitsaurabh927
Copy link
Copy Markdown
Contributor Author

sumitsaurabh927 commented Apr 17, 2026

Community note: removing this demo project, as it includes incorrect claims about the capabilities of the platform.

@maxprilutskiy maxprilutskiy merged commit ab701a7 into main Apr 17, 2026
8 checks passed
@maxprilutskiy maxprilutskiy deleted the demo-remove branch April 17, 2026 15:46
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