Skip to content

feat: STPA resource handle analysis and implementation plans#35

Merged
avrabe merged 1 commit intomainfrom
feat/stpa-resource-analysis
Mar 17, 2026
Merged

feat: STPA resource handle analysis and implementation plans#35
avrabe merged 1 commit intomainfrom
feat/stpa-resource-analysis

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Mar 17, 2026

STPA analysis: H-11 hazard, 13 UCAs, SR-32-38. All 6 fixture failures mapped to UCAs. Key finding: resource_results never consumed (SR-33).

STPA analysis of resource handle management in cross-component adapters:
- H-11 hazard with 8 sub-hazards covering borrow/own handle lifecycle
- 13 UCAs across CTRL-ADAPTER, CTRL-PARSER, CTRL-WRAPPER
- 7 new safety requirements (SR-32 through SR-38)
- All 6 remaining fixture failures mapped to specific UCAs

Key finding: resource_results are collected but never consumed — own<T>
return values crossing component boundaries need resource.new conversion
but the adapter never emits it (SR-33).

Also includes implementation plans for adapter disambiguation and
3-component borrow forwarding.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit 44d0309 into main Mar 17, 2026
3 checks passed
@avrabe avrabe deleted the feat/stpa-resource-analysis branch March 17, 2026 05:38
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