Skip to content

Move tax newsletter functionality to separate submodule repository#2

Draft
chris-han with Copilot wants to merge 8 commits into
mainfrom
copilot/update-us-tax-regulations
Draft

Move tax newsletter functionality to separate submodule repository#2
chris-han with Copilot wants to merge 8 commits into
mainfrom
copilot/update-us-tax-regulations

Conversation

Copilot AI commented Feb 12, 2026

Copy link
Copy Markdown

Moves the tax newsletter functionality to a separate repository (chris-han/KATPN_rss) and integrates it as a git submodule, as it is unrelated to CopilotKit's core purpose as an AI SDK framework for building agent-native applications.

Changes Made

All tax newsletter-related files have been removed from the repository:

  • GitHub Action workflow (.github/workflows/tax_newsletter.yml)
  • Newsletter utility directory (utilities/tax-newsletter/)
  • Generated newsletters directory (newsletters/)
  • Utilities README

Added chris-han/KATPN_rss as a git submodule:

  • Submodule configured at utilities/tax-newsletter/
  • .gitmodules file created with submodule reference
  • MIGRATION_GUIDE.md added with detailed instructions for populating the submodule

Rationale

The US-China tax regulations newsletter generator was not appropriate for the CopilotKit repository since CopilotKit is an AI SDK framework, not a tax information service. This functionality is now maintained in a separate repository and can be optionally included via git submodule.

Migration Path

The fully working tax newsletter implementation is preserved in commit 0e74fcd and can be extracted to populate the submodule. The MIGRATION_GUIDE.md provides detailed instructions:

  1. Extract files from commit 0e74fcd
  2. Add them to the chris-han/KATPN_rss repository
  3. Commit and push to complete the setup

The submodule structure allows the tax newsletter to:

  • Maintain its own independent development lifecycle
  • Be optionally included in CopilotKit when needed
  • Keep CopilotKit focused on its core AI SDK mission

Users cloning CopilotKit can initialize the submodule with git submodule update --init --recursive if they need the tax newsletter functionality.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits February 12, 2026 14:02
Co-authored-by: chris-han <2083175+chris-han@users.noreply.github.com>
Co-authored-by: chris-han <2083175+chris-han@users.noreply.github.com>
Co-authored-by: chris-han <2083175+chris-han@users.noreply.github.com>
Copilot AI changed the title [WIP] Update IRS tax regulations for nonresident aliens Add automated US-China tax regulations newsletter generator Feb 12, 2026
Copilot AI requested a review from chris-han February 12, 2026 14:10
@chris-han

Copy link
Copy Markdown
Owner

@copilot move the newsletter and RSS out of the CopilotKit project too a new submodule

1 similar comment
@chris-han

Copy link
Copy Markdown
Owner

@copilot move the newsletter and RSS out of the CopilotKit project too a new submodule

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Author

@copilot move the newsletter and RSS out of the CopilotKit project too a new submodule

I understand you want to move the newsletter functionality to a separate submodule. However, I cannot create new GitHub repositories or initialize external git repositories due to my access limitations.

Here are the options:

Option 1: You create the new repository (e.g., chris-han/tax-newsletter), and I can:

  • Remove all newsletter files from CopilotKit
  • Add a .gitmodules entry pointing to your new repository
  • Update the GitHub Action to work with the submodule

Option 2: I can restructure the files to be more isolated (e.g., move everything to a separate directory with independent configuration) to make it easier for you to extract into a submodule manually later.

Which approach would you prefer?

Co-authored-by: chris-han <2083175+chris-han@users.noreply.github.com>

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Author

@copilot move the newsletter and RSS out of the CopilotKit project too a new submodule

Removed all tax newsletter files from CopilotKit in commit 3037bfa.

To create the separate repository:

  1. Create a new GitHub repository (e.g., us-china-tax-newsletter)

  2. Extract the files from commit 0e74fcd:

git show 0e74fcd:.github/workflows/tax_newsletter.yml > .github/workflows/tax_newsletter.yml
git show 0e74fcd:utilities/tax-newsletter/package.json > package.json
git show 0e74fcd:utilities/tax-newsletter/src/index.ts > src/index.ts
# ... repeat for other files

Or use:

git checkout 0e74fcd -- utilities/tax-newsletter newsletters .github/workflows/tax_newsletter.yml
# Then move files to repository root structure as needed
  1. Update the workflow to commit to the new repo instead of CopilotKit

If you'd like to add it back as a submodule:

git submodule add https://github.com/chris-han/us-china-tax-newsletter utilities/tax-newsletter

@copilot move the newsletter and RSS out of the CopilotKit project too a new submodule

Removed all tax newsletter files from CopilotKit in commit 3037bfa.

To create the separate repository:

  1. Create a new GitHub repository (e.g., us-china-tax-newsletter)

  2. Extract the files from commit 0e74fcd:

git show 0e74fcd:.github/workflows/tax_newsletter.yml > .github/workflows/tax_newsletter.yml
git show 0e74fcd:utilities/tax-newsletter/package.json > package.json
git show 0e74fcd:utilities/tax-newsletter/src/index.ts > src/index.ts
# ... repeat for other files

Or use:

git checkout 0e74fcd -- utilities/tax-newsletter newsletters .github/workflows/tax_newsletter.yml
# Then move files to repository root structure as needed
  1. Update the workflow to commit to the new repo instead of CopilotKit

If you'd like to add it back as a submodule:

git submodule add https://github.com/chris-han/us-china-tax-newsletter utilities/tax-newsletter

Copilot AI changed the title Add automated US-China tax regulations newsletter generator Remove tax newsletter functionality from CopilotKit repository Feb 13, 2026
@chris-han

Copy link
Copy Markdown
Owner

@copilot gh repo clone chris-han/KATPN_rss

@chris-han

Copy link
Copy Markdown
Owner

@copilot here's the repo chris-han/KATPN_rss

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Author

@copilot gh repo clone chris-han/KATPN_rss

I've cloned the KATPN_rss repository. It's currently empty.

What would you like me to do next?

Option A: Extract the tax newsletter code from commit 0e74fcd and add it to the KATPN_rss repository (but I cannot push to external repositories)

Option B: Add KATPN_rss as a submodule to the CopilotKit repository and you'll manually populate it with the tax newsletter code

Option C: Something else?

Please clarify so I can help you complete this setup.

Co-authored-by: chris-han <2083175+chris-han@users.noreply.github.com>

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Author

@copilot here's the repo chris-han/KATPN_rss

Added chris-han/KATPN_rss as a submodule at utilities/tax-newsletter/ in commit 2ab3167.

Created MIGRATION_GUIDE.md with detailed instructions for populating the submodule with the tax newsletter code from commit 0e74fcd.

Next steps:

  1. Follow the migration guide to extract files from commit 0e74fcd
  2. Add them to the KATPN_rss repository
  3. Push to complete the setup

The submodule is configured and ready to use.

Copilot AI changed the title Remove tax newsletter functionality from CopilotKit repository Move tax newsletter functionality to separate submodule repository Feb 13, 2026
@chris-han

Copy link
Copy Markdown
Owner

@copilot add as submodule to synagentic

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Author

@copilot add as submodule to synagentic

Could you clarify what you'd like me to do?

Are you asking me to:

  1. Add something as a submodule to a repository called "synagentic"?
  2. Add the KATPN_rss submodule to a different location?
  3. Something else?

Please provide more details about what you need.

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