Skip to content

P36.4#14

Merged
Sellafield merged 58 commits into
developfrom
p36.4
May 29, 2026
Merged

P36.4#14
Sellafield merged 58 commits into
developfrom
p36.4

Conversation

@Sellafield
Copy link
Copy Markdown
Contributor

No description provided.

Sellafield and others added 30 commits May 25, 2026 08:21
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…to ensure source updates before Queue Save (ISSUE-023)

DataGridCheckBoxColumn defers binding source updates to CommitCellEdit, which
is not reliably triggered when clicking the Queue Save button in the same row.
The IsDaily property was never updated on the row object before QueueSaveObjective
read it, so the old value was written to the database.

Replacing with DataGridTemplateColumn + CheckBox (UpdateSourceTrigger=PropertyChanged)
ensures IsDaily is set immediately on toggle, independent of DataGrid edit state.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…uncements

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…enerService (IMPROVEMENT-029)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Addresses gap identified in IMPROVEMENT-029 session: graph checks were
not included in the written plan, allowing subagents to skip them. Plan
now has explicit query-graph.ps1 steps before Tasks 4 and 5. CLAUDE.md
step 7 now requires graph check steps in plans for interface/class edits.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Covers NIC injection control (daily budget cap, fractional buy quantity),
zone-aware gather tracking (is_pvp flag), dynamic risk-aware raw material
pricing (plasma-anchored supply/demand formula), and AutoMarket performance
and thread-safety refactoring scope.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…es (IMPROVEMENT-030)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…+ PvP-risk formula (IMPROVEMENT-030)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…osts (IMPROVEMENT-030)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…freshAutoMarketOrders (IMPROVEMENT-030)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… loop (IMPROVEMENT-030)

Callbacks on TimerList fire synchronously on the MainLoop thread; wrap
ConsolidateStatistics and RecalculatePricesAndRenewOrders in Task.Run
with Logger.Exception to prevent stalling the process loop.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… wrappers (IMPROVEMENT-030)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sellafield and others added 28 commits May 28, 2026 08:54
…rService error logging, add IMPROVEMENT-030 migration

- Replace correlated subquery with CROSS JOIN for max_scarcity_price in v_all_production_costs
- Replace swallowed catch blocks with Logger.Error in EventListenerService
- Add migration SQL for IMPROVEMENT-030 automarket overhaul
- Add automarket overhaul plan doc
- Sync SP file encodings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ers; fix RefreshCommand name (Async suffix stripped by MVVM Toolkit)
…or remaining views)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… stubs)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ove stubs)

- Create AutoMarketStatisticsView.xaml/.cs with NIC Flow, Pricing Trace and Gather Breakdown DataGrids
- Create AutoMarketOrdersView.xaml/.cs with order-type/category filter ComboBoxes and orders DataGrid
- Add OrderTypeOptionsList/CategoryOptionsList instance forwarders to AutoMarketOrdersViewModel to avoid XAML build-time x:Static resolution failure (CommunityToolkit.Mvvm source-gen incompatibility)
- Delete AutoMarketStatisticsView.Stub.xaml.cs and AutoMarketOrdersView.Stub.xaml.cs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds AutoMarketViewModel to MainViewModel and a TabItem to MainWindow.xaml.
Marks IMPROVEMENT-031 as DONE in the backlog.
…arket Statistics

- Fix InvalidCastException in LoadPricingTraceAsync: SUM(bigint)/7.0
  returns decimal in SQL Server (7.0 is numeric literal, not float);
  use GetDecimal() + explicit cast on affected columns
- Add DisplayName to AutoMarketPricingTraceRow and AutoMarketGatherRow;
  resolved from TranslationStore at load time (English lang 0)
- Pass TranslationsViewModel through AutoMarketViewModel to Statistics
- Bind DisplayName instead of ResourceName in both Statistics DataGrids

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Sellafield Sellafield merged commit e6b74f7 into develop May 29, 2026
3 checks passed
@Sellafield Sellafield deleted the p36.4 branch May 29, 2026 06: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.

1 participant