spec: skills may call a plain HTTP API directly; bridges are opt-in
Reframe bridges as a deliberate choice rather than the mandatory path to any third-party system. A skill body may call a service's own HTTP API directly with a stdlib transport; a bridge is warranted only when a simple, repeatable skill file would be inconsistent, inconvenient, or unsafe — state (especially auth state), sanitized connectivity, or a native/heavy protocol. When a bridge fronts a service, the body calls the bridge and must never reach around it. Updates CODEGEN.md, PACKGEN.md, TESTGEN.md, README.md, AGENTS.md, the bridges/__init__.py docstring, the codegen BODY_DIRECTIVES + describe_ bridges() prompt strings, and the tests pinning their wording.
This commit is contained in:
1 parent
f379c0a746
commit
0b02a3feac
10 files changed
+122
-59
No files matched your search
@@ -739,7 +739,7 @@ def test_describe_bridges_renders_service_auth_and_endpoints():
|
||||
assert "/inbox/next" in text
|
||||
assert "/unread" in text
|
||||
assert "/history" in text
|
||||
assert "never speak" in text
|
||||
assert "rather than reaching around it" in text
|
||||
|
||||
|
||||
def test_read_marks_given_items_only():
|
||||
|
||||
Reference in new issue
Block a user