Skip to content

Conversation

@lpcox
Copy link
Collaborator

@lpcox lpcox commented Jan 23, 2026

No description provided.

lpcox added 4 commits January 21, 2026 20:34
The JSON schema now requires 'container' instead of 'command' for stdio
servers. This change updates all launcher tests to use a new helper
function 'newTestConfig' that creates config directly without schema
validation, allowing tests to continue testing internal behavior with
arbitrary command configurations.

Changes:
- Add newTestConfig helper in launcher_test.go for creating test configs
  directly without JSON parsing/schema validation
- Update all getorlaunch_stdio_test.go tests to use newTestConfig
- Keep TestGetOrLaunch_ContainerFieldConversion using loadConfigFromJSON
  since it tests the actual schema-compliant config conversion
- Add apiKey to gateway config in ContainerFieldConversion test to satisfy
  schema requirements
…s documentation

- Fix evaluator.go: secrecy checks were swapped between read and write
  - Read secrecy: resource.Secrecy.CheckFlow(agentSecrecy) for R ⊆ A
  - Write secrecy: agentSecrecy.CheckFlow(&resource.Secrecy) for A ⊆ R
- Fix evaluator_test.go: ReadWrite test needed matching secrecy tags
- Add internal/difc/DIFC_RULES.md: comprehensive reference for DIFC rules
  - Core rules with mathematical notation
  - Examples for common scenarios
  - Implementation notes on CheckFlow semantics
  - Testing guidelines for agents
@lpcox lpcox merged commit 8bf2907 into main Jan 23, 2026
3 checks passed
@lpcox lpcox deleted the lpcox/fix-launcher-tests branch January 23, 2026 17:11
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