Skip to content

Handle unknown claw-api principal verbs without crash-looping#143

Merged
mostlydev merged 2 commits intomasterfrom
issue-120-claw-api-unknown-verbs
Apr 10, 2026
Merged

Handle unknown claw-api principal verbs without crash-looping#143
mostlydev merged 2 commits intomasterfrom
issue-120-claw-api-unknown-verbs

Conversation

@mostlydev
Copy link
Copy Markdown
Owner

@mostlydev mostlydev commented Apr 10, 2026

Summary

  • make claw-api tolerate forward-unknown principal verbs at runtime instead of failing startup
  • filter unrecognized verbs out of the loaded principal store and emit warnings on service startup
  • keep strict compiler-side validation intact and add regression coverage for tolerant runtime loading

Testing

  • go test ./internal/clawapi ./cmd/claw-api
  • go test ./...

Notes

This addresses the outage-class runtime behavior from #120. It does not yet add a separate claw up compatibility warning for skew against an older deployed claw-api image.

@mostlydev
Copy link
Copy Markdown
Owner Author

Addressed the structural review follow-up in 13d0530.

Changes made:

Verification:

  • go test ./internal/clawapi ./cmd/claw-api
  • go test ./...

@mostlydev mostlydev merged commit eebe773 into master Apr 10, 2026
1 check passed
@mostlydev mostlydev deleted the issue-120-claw-api-unknown-verbs branch April 10, 2026 21:37
mostlydev added a commit that referenced this pull request Apr 10, 2026
Add v0.8.6 changelog entry for the claw-api principal-verb crash-loop
fix (#143, closes #120). Bump the nav dropdown to v0.8.6 and move the
Latest badge off v0.8.5.
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