From e8d09c1415f031b7b26e821dea057fc354f09716 Mon Sep 17 00:00:00 2001 From: Michal Dengusiak Date: Tue, 18 Aug 2026 10:07:48 +0200 Subject: [PATCH 1/4] Add AI agent instructions and project progress tracking Generated by Michal Dengusiak and CodeClaude Co-Authored-By: Claude Sonnet 5 --- AGENTS.md | 54 +++++++++++++++++++++++++++++++++++++++++++++ PROJECT_PROGRESS.md | 28 +++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 AGENTS.md create mode 100644 PROJECT_PROGRESS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..2dbb955 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,54 @@ +# Project Instructions + +This repository may be worked on by different AI agents, +models, sessions, accounts, and computers. + +Git and committed repository files are the authoritative project state. +Do not rely on previous conversation memory. + +## Before starting work + +Before making significant changes: + +1. Read this `AGENTS.md`. +2. Read `PROJECT_PROGRESS.md`. +3. Understand the relevant existing code, architecture, tests, and conventions. +4. Review the current Git branch and working tree. +5. Continue from the documented current state. + +Prefer small, safe, targeted changes consistent with existing conventions. +Avoid unrelated refactoring unless it is required for the task. + +## Project continuity + +After each meaningful implementation, debugging, research, +testing, or validation checkpoint, update `PROJECT_PROGRESS.md`. + +Do not update it for trivial actions such as opening files, +searching the repository, or reading documentation. + +Keep `PROJECT_PROGRESS.md` concise and sufficient for another AI +agent on another computer to continue without access to the current conversation. + +`PROJECT_PROGRESS.md` must contain: + +- current status; +- work completed; +- important decisions and assumptions; +- files changed; +- tests, builds, checks, or validation performed and results; +- unresolved issues, risks, or blockers; +- exact recommended next step. + +When updating `PROJECT_PROGRESS.md`, preserve still-relevant information +from previous sessions. Remove or replace information only when it is +obsolete, resolved, or superseded. + +Before ending meaningful work, verify that `PROJECT_PROGRESS.md` +accurately represents the current repository state. + +When appropriate, remind the user to commit and push changes before +switching computers, accounts, sessions, or AI agents. + +Never assume conversation history, terminal history, generated files, +or uncommitted local changes will exist on another computer. \ No newline at end of file diff --git a/PROJECT_PROGRESS.md b/PROJECT_PROGRESS.md new file mode 100644 index 0000000..496b4b8 --- /dev/null +++ b/PROJECT_PROGRESS.md @@ -0,0 +1,28 @@ +# Project Progress + +## Branch +`sow/2026-Q3` + +## Last updated +Not updated yet. + +## Current status +No work recorded yet for this branch. + +## Completed +- None yet. + +## Decisions / assumptions +- None yet. + +## Files changed +- None yet. + +## Validation +- Not run yet. + +## Issues / blockers +- None known. + +## Next step +- Review the current repository state and continue with the next planned task. \ No newline at end of file From 30a07f58098996b132582c7c19fdd5f85f277844 Mon Sep 17 00:00:00 2001 From: Michal Dengusiak Date: Tue, 22 Sep 2026 20:15:47 +0200 Subject: [PATCH 2/4] build: remove dead .NET Framework app.config leftovers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2 app.config files were net472-era leftovers containing assembly binding redirects (and, in one case, a CAS-era loadFromRemoteSources flag), neither of which has any effect under .NET 8. Every project here targets net8.0-windows or netstandard2.0 and is OutputType Library (2 explicit, 2 defaulted), and a library's .dll.config is never read at runtime (only the host .exe.config is). Their only remaining effect was to emit stale SAM.*.dll.config files into build/ and the %APPDATA%\SAM deploy folder. Grasshopper/SAM.Core.Grasshopper.Multitasker/app.config also carried (repeated at three nesting levels). That is likewise a .NET-Framework/CAS-era mechanism only honoured in the host .exe.config, so it is safe to delete here too — but its presence is evidence that someone once hit a real "assembly loaded from a network share" problem with this plugin. Worth keeping in mind if similar symptoms resurface under .NET 8, though the fix would live elsewhere (e.g. host trust configuration), not in this dead per-library config file. Verified: TargetFrameworks are net8.0-windows/netstandard2.0 only (no netfx); all 4 csproj files are OutputType Library, 2 explicit and 2 defaulted (no Exe/WinExe); no source file references ConfigurationManager/ System.Configuration/AppSettings/OpenExeConfiguration; both app.config files read and contain only assemblyIdentity/bindingRedirect/assemblyBinding/ runtime/loadFromRemoteSources elements; no csproj/props/yml references app.config/AppConfig/dll.config. Compile-only verification (dotnet build -t:Compile) on both affected projects: 0 errors each (pre-existing MSB3277/MSB3245/CS8632/CS0162 warnings unrelated to this change, unchanged by it). Co-Authored-By: Claude Sonnet 5 --- .../app.config | 11 ----------- .../SAM.Core.Grasshopper.Multitasker/app.config | 14 -------------- 2 files changed, 25 deletions(-) delete mode 100644 Grasshopper/SAM.Analytical.Grasshopper.Multitasker/app.config delete mode 100644 Grasshopper/SAM.Core.Grasshopper.Multitasker/app.config diff --git a/Grasshopper/SAM.Analytical.Grasshopper.Multitasker/app.config b/Grasshopper/SAM.Analytical.Grasshopper.Multitasker/app.config deleted file mode 100644 index f10b4ac..0000000 --- a/Grasshopper/SAM.Analytical.Grasshopper.Multitasker/app.config +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/Grasshopper/SAM.Core.Grasshopper.Multitasker/app.config b/Grasshopper/SAM.Core.Grasshopper.Multitasker/app.config deleted file mode 100644 index 652adbf..0000000 --- a/Grasshopper/SAM.Core.Grasshopper.Multitasker/app.config +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file From 676bd7e2970ebbba847cd6dea0e93706a0240b91 Mon Sep 17 00:00:00 2001 From: Michal Dengusiak Date: Tue, 22 Sep 2026 22:13:59 +0200 Subject: [PATCH 3/4] docs: record merged .NET Framework app.config cleanup in PROJECT_PROGRESS Co-Authored-By: Claude Opus 5.5 --- PROJECT_PROGRESS.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/PROJECT_PROGRESS.md b/PROJECT_PROGRESS.md index 496b4b8..06f4c4b 100644 --- a/PROJECT_PROGRESS.md +++ b/PROJECT_PROGRESS.md @@ -4,25 +4,28 @@ `sow/2026-Q3` ## Last updated -Not updated yet. +2026-09-22 - app.config cleanup merged ## Current status -No work recorded yet for this branch. +Part of the repo-family .NET Framework `app.config` cleanup: base [SAM#126](https://github.com/SAM-BIM/SAM/pull/126) plus 17 sibling PRs, all merged into `sow/2026-Q3` on 2026-09-22 (SAM first), with their branches deleted. ## Completed -- None yet. +- [SAM_Multitasker#6](https://github.com/SAM-BIM/SAM_Multitasker/pull/6) merged as `50adfdfd`: removed dead .NET Framework `app.config` files. ## Decisions / assumptions -- None yet. +- Every project here targets `netstandard2.0` or `net8.0(-windows)` and is an `OutputType Library`. Library `.dll.config` files are never read at runtime (only the host `Rhino.exe`/`Revit.exe` config is), so the net472-era binding redirects, `` and `loadFromRemoteSources` were inert. They only emitted stale `.dll.config` files into `build/` and `%APPDATA%\SAM`. +- No `ConfigurationManager`/`AppSettings` use in the repo; deleted files held binding/runtime config only. ## Files changed -- None yet. +- `Grasshopper/SAM.Analytical.Grasshopper.Multitasker/app.config` (deleted) +- `Grasshopper/SAM.Core.Grasshopper.Multitasker/app.config` (deleted) ## Validation -- Not run yet. +- Before merge, full `BuildAlls_v4.bat` (Debug Restore;Clean;Rebuild of every repo, starting from an emptied `%APPDATA%\SAM`): exit 0, 0 errors. The redeployed `%APPDATA%\SAM` has no `SAM.*.dll.config`. +- CI on the PR: build + spdx pass. ## Issues / blockers -- None known. +- None known for this cleanup. ## Next step -- Review the current repository state and continue with the next planned task. \ No newline at end of file +- None for this cleanup. Continue with the next planned task on `sow/2026-Q3`. From ca04b80e947446dfdda3894edb9b5aa5da832aa9 Mon Sep 17 00:00:00 2001 From: Michal Dengusiak Date: Thu, 1 Oct 2026 16:48:36 +0200 Subject: [PATCH 4/4] chore: remove internal agent/progress files and evidence artifacts from upstream contribution Removes AGENTS.md, PROJECT_PROGRESS.md and internal evidence/.claude artefacts that are SAM-BIM workflow records, not upstream project documentation. Co-Authored-By: Claude Sonnet 5.5 --- AGENTS.md | 54 --------------------------------------------- PROJECT_PROGRESS.md | 31 -------------------------- 2 files changed, 85 deletions(-) delete mode 100644 AGENTS.md delete mode 100644 PROJECT_PROGRESS.md diff --git a/AGENTS.md b/AGENTS.md deleted file mode 100644 index 2dbb955..0000000 --- a/AGENTS.md +++ /dev/null @@ -1,54 +0,0 @@ -# Project Instructions - -This repository may be worked on by different AI agents, -models, sessions, accounts, and computers. - -Git and committed repository files are the authoritative project state. -Do not rely on previous conversation memory. - -## Before starting work - -Before making significant changes: - -1. Read this `AGENTS.md`. -2. Read `PROJECT_PROGRESS.md`. -3. Understand the relevant existing code, architecture, tests, and conventions. -4. Review the current Git branch and working tree. -5. Continue from the documented current state. - -Prefer small, safe, targeted changes consistent with existing conventions. -Avoid unrelated refactoring unless it is required for the task. - -## Project continuity - -After each meaningful implementation, debugging, research, -testing, or validation checkpoint, update `PROJECT_PROGRESS.md`. - -Do not update it for trivial actions such as opening files, -searching the repository, or reading documentation. - -Keep `PROJECT_PROGRESS.md` concise and sufficient for another AI -agent on another computer to continue without access to the current conversation. - -`PROJECT_PROGRESS.md` must contain: - -- current status; -- work completed; -- important decisions and assumptions; -- files changed; -- tests, builds, checks, or validation performed and results; -- unresolved issues, risks, or blockers; -- exact recommended next step. - -When updating `PROJECT_PROGRESS.md`, preserve still-relevant information -from previous sessions. Remove or replace information only when it is -obsolete, resolved, or superseded. - -Before ending meaningful work, verify that `PROJECT_PROGRESS.md` -accurately represents the current repository state. - -When appropriate, remind the user to commit and push changes before -switching computers, accounts, sessions, or AI agents. - -Never assume conversation history, terminal history, generated files, -or uncommitted local changes will exist on another computer. \ No newline at end of file diff --git a/PROJECT_PROGRESS.md b/PROJECT_PROGRESS.md deleted file mode 100644 index 06f4c4b..0000000 --- a/PROJECT_PROGRESS.md +++ /dev/null @@ -1,31 +0,0 @@ -# Project Progress - -## Branch -`sow/2026-Q3` - -## Last updated -2026-09-22 - app.config cleanup merged - -## Current status -Part of the repo-family .NET Framework `app.config` cleanup: base [SAM#126](https://github.com/SAM-BIM/SAM/pull/126) plus 17 sibling PRs, all merged into `sow/2026-Q3` on 2026-09-22 (SAM first), with their branches deleted. - -## Completed -- [SAM_Multitasker#6](https://github.com/SAM-BIM/SAM_Multitasker/pull/6) merged as `50adfdfd`: removed dead .NET Framework `app.config` files. - -## Decisions / assumptions -- Every project here targets `netstandard2.0` or `net8.0(-windows)` and is an `OutputType Library`. Library `.dll.config` files are never read at runtime (only the host `Rhino.exe`/`Revit.exe` config is), so the net472-era binding redirects, `` and `loadFromRemoteSources` were inert. They only emitted stale `.dll.config` files into `build/` and `%APPDATA%\SAM`. -- No `ConfigurationManager`/`AppSettings` use in the repo; deleted files held binding/runtime config only. - -## Files changed -- `Grasshopper/SAM.Analytical.Grasshopper.Multitasker/app.config` (deleted) -- `Grasshopper/SAM.Core.Grasshopper.Multitasker/app.config` (deleted) - -## Validation -- Before merge, full `BuildAlls_v4.bat` (Debug Restore;Clean;Rebuild of every repo, starting from an emptied `%APPDATA%\SAM`): exit 0, 0 errors. The redeployed `%APPDATA%\SAM` has no `SAM.*.dll.config`. -- CI on the PR: build + spdx pass. - -## Issues / blockers -- None known for this cleanup. - -## Next step -- None for this cleanup. Continue with the next planned task on `sow/2026-Q3`.