Repository navigation
Document connectors and formalize authority boundaries with TLA+ - #79098
Conversation
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
|
@copilot cross correlate with webhook gateway specification |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Added reciprocal references and a connector/gateway crosswalk clarifying field mappings and authority boundaries, including that webhook deliveries do not grant connector access. Commit: |
|
🚀 PR Specification Reviewer has started processing this pull request |
|
✅ Test Quality Sentinel completed test quality analysis. Warning Threat detection engine error Threat detection could not complete its analysis due to a tooling error. This is not a security finding. What happenedThe threat detection engine failed to produce results. Review the workflow run logs to troubleshoot the error. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🧠 Matt Pocock Skills Reviewer is reviewing this pull request using Matt Pocock's engineering skills... |
|
✅ Ponytail Reviewer completed successfully! Warning Threat detection engine error Threat detection could not complete its analysis due to a tooling error. This is not a security finding. What happenedThe threat detection engine failed to produce results. Review the workflow run logs to troubleshoot the error. Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🔎 PR Code Quality Reviewer is reviewing code quality for this pull request... |
|
@copilot merge main |
There was a problem hiding this comment.
🟡 Changes recommended
The workflow introduces out-of-scope production ledger mutations, and the modified Linear code fence causes the connector import test to fail.
5 open issues
What changed in this PR
Documents declaration-only connectors in gh-aw and formalizes their compiler and execution-host authority boundaries with bounded TLA+ models.
Changes:
- Expands consumer examples, credential lifecycle guidance, conformance procedures, and gateway boundary documentation.
- Adds a safety model, 10 negative controls, five reachability witnesses, and reproduction instructions.
- Adds scheduled ledger-compaction planning and write-enabled application to repository maintenance.
| File | Description |
|---|---|
specs/connectors/WitnessWrongGrantedIdentity.cfg |
Probes rejection of a wrong-but-granted response ID. |
specs/connectors/WitnessWrite.cfg |
Checks reachability of authorized writes. |
specs/connectors/WitnessStaged.cfg |
Checks reachability of zero-access staging. |
specs/connectors/WitnessRead.cfg |
Checks reachability of authorized reads. |
specs/connectors/WitnessAuthorizationDenied.cfg |
Checks reachability of terminal authorization denial. |
specs/connectors/ControlWriterIsolation.cfg |
Negative control for writer credential isolation. |
specs/connectors/ControlWriteAuthorization.cfg |
Negative control for host write authorization. |
specs/connectors/ControlStagedSecret.cfg |
Negative control for staged credential access. |
specs/connectors/ControlStagedNetwork.cfg |
Negative control for staged network access. |
specs/connectors/ControlResponseIdentity.cfg |
Negative control for response identity validation. |
specs/connectors/ControlPhasePruning.cfg |
Negative control for exact phase plans. |
specs/connectors/ControlNetworkApproval.cfg |
Negative control for network approval. |
specs/connectors/ControlGrant.cfg |
Negative control for grant checks before credential access. |
specs/connectors/ControlEndpoint.cfg |
Negative control for fixed request destinations. |
specs/connectors/ControlAuthorizationRetry.cfg |
Negative control for retries after authorization denial. |
specs/connectors/ConnectorBoundary.tla |
Models selection, phase isolation, grants, staging, and responses. |
specs/connectors/ConnectorBoundary.cfg |
Checks the combined safety invariant. |
docs/src/content/docs/specs/webhook-gateway-specification.md |
Clarifies connector and gateway authority boundaries. |
docs/src/content/docs/specs/connector-specification.md |
Adds conformance requirements, procedures, and formal-model documentation. |
docs/src/content/docs/reference/connectors.md |
Expands staged consumer, credential, and testing guidance. |
.github/workflows/agentics-maintenance.yml |
Adds ledger-compaction inputs and planning/application jobs. |
Review effort: Max (adaptive)
| if: ${{ !cancelled() && needs.ledger_compaction_plan.outputs.plans_uploaded == 'true' && needs.ledger_compaction_plan.outputs.plan_created == 'true' }} | ||
| runs-on: ubuntu-slim | ||
| # Applying a validated plan commits updated ledger content. | ||
| permissions: | ||
| contents: write # Create or update repository contents. |
There was a problem hiding this comment.
After merging latest main (ffd5bc5), ledger compaction is identical to origin/main and absent from the PR-specific diff, so this PR no longer introduces those production mutations.
| one comment; it does not post the comment: | ||
|
|
||
| ```aw wrap | ||
| ```aw wrap title=".github/workflows/linear-review.md" |
There was a problem hiding this comment.
Restored the original aw wrap opening fence expected by the connector import test. Commit: 51aef13.
| /\ pc = "respond" | ||
| /\ \E status \in {"ok", "unauthorized", "redirect", "uncertain"}, | ||
| identity \in IDs, valid \in BOOLEAN : | ||
| /\ returnedID' = identity /\ evidenceOK' = valid |
There was a problem hiding this comment.
Gated evidenceOK on successful status and valid evidence, then reran the documented model checks. Commit: 51aef13.
| | --- | --- | | ||
| | `verificationProfile`, `nativeEvents` | Frozen `verification_profile` and `native_events`; the receiver authenticates the enrolled source and original event before projection. Declaration alone is not source authentication. | | ||
| | `match`, `resources` | Encoded equality conditions and projected matched literals; the receiver checks original evidence, while the destination validates the projection. A canonical URL or its origin does not prove resource membership. | | ||
| | `types` | Selected activity values in the compiled subscription; the receiver forwards only activities established by the original delivery and selected by the declaration. Activity selection is not a resource grant. | |
There was a problem hiding this comment.
Corrected the crosswalk to describe the frozen connector.types JSON Pointer-to-primitive-type map and native field validation by ProjectEvent. Commit: 51aef13.
| The [Connector Specification](/gh-aw/specs/connector-specification/) defines the | ||
| declaration, selected reader, exact resource grant, endpoint, and credential | ||
| authority represented by this metadata. This gateway contract governs source | ||
| authentication, predicate evaluation, projection, and dispatch. A matched | ||
| subscription or canonical URL MUST NOT be treated as a connector reader | ||
| selection or provider-access grant. |
There was a problem hiding this comment.
Clarified that subscription metadata contains trigger rules and resource constraints but grants no provider-reader permissions. Commit: 51aef13.
…-documentation Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Merged |
|
Warning Threat detection engine error Threat detection could not complete its analysis due to a tooling error. This is not a security finding. What happenedThe threat detection engine failed to produce results. Review the workflow run logs to troubleshoot the error. 🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:
Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering. Structured data{
"completed_task": 0,
"head": "313d2a772ea79066a22d22e379bcf439eaf57f3e",
"kind": "requested",
"schema_version": "1",
"state": "55b7868cc2b45c2334133a02e910486a263c38b54fa9c12355e6c380781ee4ab",
"work": [
"02566aaedc011349d2973d996efb286381cb1f887e802390eafc4c58f3064be7",
"0e6c36a2caf891e74d45f6c46539911a52d4c0b1e889d1bc5e6d2482be1c59f6",
"0f91ead97bebd0ddf6e2f651d3c8638752d95dc5568fff378ad9196203110098",
"8b8e96afa57abc9c0b1273828ac899c27c0a396da52d9fa477a1de8b83e81d0b",
"91afa44cd0304f7f1f077064cf9acd076a3c6116aed84cc48be2adfbf98a30ec",
"d7d73572af850fd61b03a6f68d4fe006b0c69b39cdea3c138ebe3d9c3c65ac67"
],
"workflow": "pr-sous-chef"
}
|
…-documentation Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Merged latest
Merged the latest |



Expand connector documentation and the W3C-style specification, with executable TLA+ models of connector authority boundaries.
The models are bounded abstractions, not proofs of implementation correctness or provider delivery. No production runtime changes.