Workspace Restructure (Math Foundations) - Phases 1 & 2#25
Merged
Conversation
Move domain-specific instructions into .github/instructions/ with applyTo front matter so they load only when editing relevant files: - docs.instructions.md (docs/**): LaTeX conventions, MathWorld links, doc structure - testing.instructions.md (test/**): CI strategy, plotting patterns, test organization - source.instructions.md (src/**): module structure, coding standards, function signatures, dependencies - notebooks.instructions.md (notebooks/**): notebook setup and guidelines Main copilot-instructions.md trimmed from 394 to 126 lines, keeping only universal content: project overview, workflows, git/PR conventions, communication patterns, Azure integration.
Add missing shared content to instruction files for cross-project consistency: docs.instructions.md: - Add extra bullet point examples for bullet point style (item 1) - Add MathJax3 Configuration section (item 2) - Add 'follow existing pattern' line (item 3) - Add Cross-Document Section Links section (item 4) - Add project-specific grouping example (item 7) testing.instructions.md: - Add CI-Compatible Plotting with ENV detection pattern (item 8) - Add smarter catch block with rethrow for non-plotting errors (item 9) - Add atol=1e-10 numerical precision guidance (item 10) source.instructions.md: - Add Documentation & Comments subsection (item 15) - Add Code Organization subsection (item 16)
Add three Julia kernel gotchas learned while working on Linear_Algebra: - Stale variable slot after failed assignment (restart kernel to fix) - Building matrix from row vectors (use v' not v for stacking) - Stale cell state from mutated variables across cells (re-run from top)
…e.js 24 for Actions - Revert .github/instructions/notebooks.instructions.md to main's version (draft content saved locally at _research/notebooks-instructions-draft.md for a dedicated instructions pass after merge) - Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true workflow-level env var to address actions/checkout@v4 Node.js 20 deprecation before the June 16 2026 deadline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restructures Math_Foundations to use Julia 1.10+ workspace layout with separate test, docs, and notebook environments. Also upgrades CI actions and opts into Node.js 24.
Phase 1 — Dependency cleanup and workspace setup
[workspace]and[compat]sections to rootProject.tomltest/Project.tomldocs/Project.tomlnotebooks/Project.tomltest/runtests.jlanddocs/make.jldocs/make.jlto self-activate the docs environmentManifest.tomlfiles via.gitignorePhase 2 — CI workflow updates
Pkg.instantiate()+Pkg.test()(workspace-aware)--project=docscommand pathProject.tomlfiles onlyCI actions upgrade
actions/checkout@v4→@v5in all three CI jobs (natively targets Node.js 24)FORCE_JAVASCRIPT_ACTIONS_TO_NODE24env var (no longer needed)Closes
Closes FOU-13, FOU-14, FOU-15, FOU-16, FOU-17, FOU-18, FOU-19, FOU-20, FOU-21, FOU-22, FOU-24, FOU-25, FOU-27, FOU-23, FOU-26, FOU-28, FOU-30, FOU-42