Skip to content

Normalize dependencies to .NET 10.0.5 and make marker-v1 signature self-describing#37

Closed
sharpninja wants to merge 1 commit intodevelopfrom
claude/dreamy-brahmagupta
Closed

Normalize dependencies to .NET 10.0.5 and make marker-v1 signature self-describing#37
sharpninja wants to merge 1 commit intodevelopfrom
claude/dreamy-brahmagupta

Conversation

@sharpninja
Copy link
Copy Markdown
Owner

Summary

  • Dependency normalization: Bumps all EF Core, ASP.NET Core, and Microsoft.Extensions.* packages from 9.x to 10.0.5, upgrades Npgsql.EntityFrameworkCore.PostgreSQL to 10.0.1 (EF Core 10 track), pins Microsoft.Build family to 18.0.2 to override a vulnerable 17.12.6 transitive dep from Nuke.Common, and removes a redundant Microsoft.Extensions.Http ref from McpServer.Services (already provided by the ASP.NET Core framework reference).
  • Self-describing marker signature: Adds SignaturePayloadFields (27-field ordered array) and MarkerSignatureFormat constant to MarkerFileService as the single source of truth for the marker-v1 canonical payload. The generated AGENTS-README-FIRST.yaml now embeds the field list and encoding contract directly in the signature block so any agent can reconstruct and verify the HMAC-SHA256 without consulting server source code or helper modules. Fixes the root cause of the trust bootstrap failure diagnosed in this session.
  • Requirements: Adds FR-MCP-081 and TR-MCP-SEC-005.
  • CLAUDE.md: Updates session start step 2 to mandate Initialize-McpSession or fields-list-driven manual verification instead of inferred payload shapes.
  • Tests: Adds 3 new MarkerFileServiceTests covering field/payload order alignment, YAML fields emission, and encoding contract.

Test plan

  • ./build.ps1 Test — all 1292 tests pass (668 unit + 580 Repl.Core + 44 Build), 0 failures
  • ./build.ps1 UpdateService — service deployed, health HTTP 200, workspace health OK
  • Signature verification confirmed against live marker file (PowerShell HMAC cross-check)

🤖 Generated with Claude Code

…lf-describing

- Bump all EF Core, ASP.NET Core, and Microsoft.Extensions packages to 10.0.5
- Upgrade Npgsql.EntityFrameworkCore.PostgreSQL to 10.0.1 (EF Core 10 track)
- Pin Microsoft.Build family to 18.0.2 to override vulnerable 17.12.6 transitive dep from Nuke.Common
- Remove redundant Microsoft.Extensions.Http ref from McpServer.Services (provided by framework ref)
- Add SignaturePayloadFields array and Format constant to MarkerFileService as single source of truth for marker-v1 canonical payload
- Embed fields list and format string in generated AGENTS-README-FIRST.yaml signature block so any agent can reconstruct HMAC-SHA256 without consulting source code
- Add FR-MCP-081 and TR-MCP-SEC-005 requirements
- Update CLAUDE.md session start instructions to mandate module usage or fields-list-driven manual verification
- Add three new MarkerFileServiceTests covering field order alignment, YAML fields emission, and encoding contract

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sharpninja
Copy link
Copy Markdown
Owner Author

Closed — PR should have been created in Azure DevOps only.

@sharpninja sharpninja closed this Apr 10, 2026
@sharpninja sharpninja deleted the claude/dreamy-brahmagupta branch April 10, 2026 02:47
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