Skip to content

Commit d0f1e84

Browse files
committed
docs(AGENTS): 📝 add task completion ritual and cross-platform hints
1 parent 34907bc commit d0f1e84

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ This file is **authoritative and persistent** for everything under `/ReferenceRe
1313
5. **Persistence:** Any change to policies/workflow must be reflected here immediately. Subdirectories inherit these rules unless they define their own `AGENTS.md`.
1414
6. **Data model constraints:** This mod must not introduce new FrooxEngine data-model types or `SyncDelegate` definitions. All functionality must be built on existing data-model constructs to avoid sync registration overhead.
1515
7. **Design notes ban:** Do not create standalone design notes or ADR-style docs; instead, keep commits and code self-explanatory and update this AGENTS file if process rules change.
16+
8. **Task completion ritual:** Before declaring any task done, run the following commands in order and address all failures:
17+
- `dotnet format ReferenceReplacement.sln --verify-no-changes --no-restore`
18+
- `dotnet build ReferenceReplacement.sln --no-restore`
19+
- `dotnet test ReferenceReplacement.sln --no-restore`
20+
Capture key failures in the report/PR and rerun after fixes.
21+
9. **WSL / cross-platform NuGet hint:** If `dotnet build`/`test` fails with `Unable to find fallback package folder 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages'`, do one of the following before rerunning the commands:
22+
- Export an override to point at a real folder, e.g. `DOTNET_MSBUILD_SDK_RESOLVER_CLI_FALLBACK_FOLDER=$HOME/.nuget/fallback dotnet build ...` (create the folder first).
23+
- Add a symlink/mount so that the Windows path exists from Linux (`sudo mkdir -p /mnt/c/Program\ Files\ \\(x86\\)/Microsoft\ Visual\ Studio/Shared/NuGetPackages`).
24+
- Remove the Windows-only fallback entry from the active `NuGet.Config`.
25+
Tasks stay “in progress” until at least one of these mitigations succeeds.
1626

1727
## Scope / Status
1828

0 commit comments

Comments
 (0)