Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 31, 2025

  • Understand current implementation (bootstrap in frontmatter)
  • Design new approach (bootstrap in separate files named <markdown-file-without-md-suffix>-bootstrap)
  • Update main.go to look for bootstrap files alongside markdown files
  • Remove frontmatter bootstrap parsing logic
  • Add tests for new bootstrap file loading
  • Update documentation to reflect new bootstrap file structure
  • Verify the changes work with manual testing
  • Address code review feedback
  • Fix build by skipping non-existent directories
  • Use strings.TrimSuffix for clearer code
Original prompt

Rather than keep the bootstrap in a frontmatter, lets have it in a file. The file should be named '-bootstrap.


✨ 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 self-assigned this Oct 31, 2025
Copilot AI and others added 3 commits October 31, 2025 03:31
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Copilot AI changed the title [WIP] Move bootstrap to separate file Move bootstrap scripts from frontmatter to separate files Oct 31, 2025
Copilot AI requested a review from alexec October 31, 2025 03:36
@alexec alexec marked this pull request as ready for review October 31, 2025 03:38
@alexec
Copy link
Contributor

alexec commented Oct 31, 2025

@copilot fix the broken build.

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Oct 31, 2025

@copilot fix the broken build.

Fixed in dc188ea. The build was failing because the code tried to walk default memory directories that didn't exist. Added a check to skip non-existent directories before attempting to walk them.

Copilot AI requested a review from alexec October 31, 2025 03:44
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Copilot AI requested a review from alexec October 31, 2025 03:51
@alexec alexec merged commit 17dc5bd into main Oct 31, 2025
2 checks passed
@alexec alexec deleted the copilot/move-bootstrap-to-file branch October 31, 2025 03:54
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