Skip to content

refactor: organize data structure and add research planning prompt#28

Merged
wsxiaoys merged 4 commits intomainfrom
refactor/data-organization-and-planning-prompt
Mar 20, 2026
Merged

refactor: organize data structure and add research planning prompt#28
wsxiaoys merged 4 commits intomainfrom
refactor/data-organization-and-planning-prompt

Conversation

@wsxiaoys
Copy link
Copy Markdown
Member

Summary

  • Moves tasks.json from site/ to a dedicated site.data/ directory to separate data from application code.
  • Establishes a symbolic link from site/data to ../site.data to allow Next.js to access the data while keeping it outside the site/ folder.
  • Updates site/scripts/compute-tasks.ts to output to the new data location.
  • Adds prompt.md which defines the persona and instructions for a research planning assistant.

Test plan

  • Verify that site/data/tasks.json exists through the symlink.
  • Check if the Next.js application still loads task data correctly on the homepage and tasks page.
  • Run the compute-tasks.ts script to ensure it correctly updates site.data/tasks.json.
  • Confirm prompt.md contains the expected content.

🤖 Generated with Pochi | Task

wsxiaoys and others added 4 commits March 20, 2026 11:53
- Move `tasks.json` to `site.data/` to separate data from application code.
- Add a symbolic link `site/data` pointing to `site.data/` to maintain accessibility.
- Update Next.js imports and computation scripts to reflect the new data location.
- Add `prompt.md` with instructions for research planning assistant.

🤖 Generated with [Pochi](https://getpochi.com) | [Task](https://app.getpochi.com/share/p-c7bb887242bf4c6e8dabdb497ac4ecf9)

Co-Authored-By: Pochi <noreply@getpochi.com>
@wsxiaoys wsxiaoys merged commit c1ef193 into main Mar 20, 2026
1 check failed
zwpaper pushed a commit that referenced this pull request Mar 31, 2026
* refactor: move tasks.json to site.data and add planning prompt

- Move `tasks.json` to `site.data/` to separate data from application code.
- Add a symbolic link `site/data` pointing to `site.data/` to maintain accessibility.
- Update Next.js imports and computation scripts to reflect the new data location.
- Add `prompt.md` with instructions for research planning assistant.

🤖 Generated with [Pochi](https://getpochi.com) | [Task](https://app.getpochi.com/share/p-c7bb887242bf4c6e8dabdb497ac4ecf9)

Co-Authored-By: Pochi <noreply@getpochi.com>

* updatE

* update

---------

Co-authored-by: Pochi <noreply@getpochi.com>
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