forge-integrations: External integrations
Engine: Forge native
Purpose
Audit outbound and inbound integrations for authentication, validation, failure isolation, drift, and replay safety.
Deterministic runtime composition
Before loading any provider procedure, run:
Resolve ../../runtime/cli/src/composition-entry.js relative to this SKILL.md, then run:
node "<resolved-absolute-runner-path>" integrations compose --workflow audit --root "<repository-root>" --dry-run --json
Add one repeatable --request <provider-or-source> flag for each explicit user request. Add
--condition <task-condition> or --risk-surface <surface> only for a task fact you directly
proved; never infer one from generic wording. The command above is the default for this
audit-oriented module; for implementation use --workflow build, and for a fix, retest, or
release gate use --workflow fix, verify, or ship respectively. Read the JSON response,
keep the Forge contract at index zero, and resolve paths against the absolute runtime_root
reported in that response. Read eager[].runtimePath when entering the module. The full
selected[] list is availability/provenance; load only deferred[].runtimePath when the task
reaches that concern, in tier order. Refuse any path that escapes the root. Respect every reported
suppression and context budget. If missing is non-empty, stop and report the installation as
damaged; do not improvise a prose fallback. The runner and specialist content may live in a plugin
cache or global installation; never assume they are inside the audited repository.
Resolve and read ../fullstack-forge/references/shared/module-contract.md (applicability,
execution, mutation, verification, completion) and
../fullstack-forge/references/shared/evidence-rules.md (statuses, standards, tools, findings via
../fullstack-forge/references/PROTOCOL.md) relative to this module SKILL.md before reporting.
Never hide failed checks or claim that an operation ran when it did not.
Automatic activation signals
Activate when a request or direct repository evidence involves external integrations, when
the user explicitly names forge-integrations, or when discovery proves an applicable boundary.
- Third-party APIs, webhooks, SDKs, and service-to-service calls
When not to activate
- Self-contained applications with no external dependency
Automated support
Relevant discovery inputs are:
- integration inventory
- SDK manifests
- webhook routes and secrets
Deterministic support, bounded evidence only:
Agent inspection procedure
- Inventory outbound calls and inbound webhooks with their providers, credentials, and code locations.
- For each outbound call verify timeout, retry policy with idempotency, rate-limit handling, and response validation before use.
- For each inbound webhook trace signature verification over raw bytes before parsing, then duplicate and out-of-order delivery handling.
- Check environment separation: sandbox versus production credentials, endpoints, and event routing.
- Probe failure isolation: determine what user-visible behavior results when the provider is down, slow, or returns malformed data.
Manual inspection requirements:
- Review provider dashboards, quotas, and deprecation notices
- Confirm contractual retention and incident obligations
Stack-specific guidance:
- Prefer official SDK verification primitives while validating their configured options
Evidence to collect
Standards used as criteria:
- OWASP API Security Top 10 2023
- RFC 9110
Common production failures
- Inspect timeouts, bounded retries, jitter, circuit behavior, rate limits, and fallback
- Verify webhook signatures against raw bytes, freshness, replay defense, and event idempotency
- Check credential scope, version pinning, data minimization, sandbox separation, and error redaction
Missing-control checks
Each item needs direct evidence or one reasoned status.
- Timeouts
- Retry strategy
- Idempotency keys
- Signature verification
- Replay prevention
- Provider outages
- Rate-limit handling
- Request validation
- Response validation
- Secret rotation
- Sandbox versus production separation
- Duplicate events
- Out-of-order events
- API version changes
- Data mapping
- Logging
- Fallback behavior
- Circuit breaking
- Partial failures
Commands and tools
- Run
forge integrations audit --json or fullstack-forge integrations audit --json when
an explicit audit is requested and the CLI is installed. Normal feature work does not require it.
Safe fixes
- Add explicit timeouts, payload validation, and secret redaction
- Pin a compatible SDK version after tests
Approval-required changes
- Changing provider, credentials, contractual data flow, or failure policy
Verification
- Replay signed and tampered payloads
- Simulate timeout, rate limit, and provider error responses
Completion contract
Follow fullstack-forge/references/shared/completion.md and the limitations below.
Known limitations
- Provider-side state and contracts require external evidence
1---2name: forge-integrations-33description: Audit outbound and inbound integrations for authentication, validation, failure isolation, drift, and replay safety.4---56# forge-integrations: External integrations78Engine: Forge native910## Purpose1112Audit outbound and inbound integrations for authentication, validation, failure isolation, drift, and replay safety.131415## Deterministic runtime composition1617Before loading any provider procedure, run:1819Resolve `../../runtime/cli/src/composition-entry.js` relative to this `SKILL.md`, then run:2021`node "<resolved-absolute-runner-path>" integrations compose --workflow audit --root "<repository-root>" --dry-run --json`2223Add one repeatable `--request <provider-or-source>` flag for each explicit user request. Add24`--condition <task-condition>` or `--risk-surface <surface>` only for a task fact you directly25proved; never infer one from generic wording. The command above is the default for this26audit-oriented module; for implementation use `--workflow build`, and for a fix, retest, or27release gate use `--workflow fix`, `verify`, or `ship` respectively. Read the JSON response,28keep the Forge contract at index zero, and resolve paths against the absolute `runtime_root`29reported in that response. Read `eager[].runtimePath` when entering the module. The full30`selected[]` list is availability/provenance; load only `deferred[].runtimePath` when the task31reaches that concern, in tier order. Refuse any path that escapes the root. Respect every reported32suppression and context budget. If `missing` is non-empty, stop and report the installation as33damaged; do not improvise a prose fallback. The runner and specialist content may live in a plugin34cache or global installation; never assume they are inside the audited repository.353637Resolve and read `../fullstack-forge/references/shared/module-contract.md` (applicability,38execution, mutation, verification, completion) and39`../fullstack-forge/references/shared/evidence-rules.md` (statuses, standards, tools, findings via40`../fullstack-forge/references/PROTOCOL.md`) relative to this module `SKILL.md` before reporting.4142Never hide failed checks or claim that an operation ran when it did not.4344## Automatic activation signals4546Activate when a request or direct repository evidence involves external integrations, when47the user explicitly names `forge-integrations`, or when discovery proves an applicable boundary.4849- Third-party APIs, webhooks, SDKs, and service-to-service calls5051## When not to activate5253- Self-contained applications with no external dependency5455## Automated support5657Relevant discovery inputs are:5859- integration inventory60- SDK manifests61- webhook routes and secrets6263Deterministic support, bounded evidence only:6465- `inspect-routes`6667## Agent inspection procedure68691. Inventory outbound calls and inbound webhooks with their providers, credentials, and code locations.702. For each outbound call verify timeout, retry policy with idempotency, rate-limit handling, and response validation before use.713. For each inbound webhook trace signature verification over raw bytes before parsing, then duplicate and out-of-order delivery handling.724. Check environment separation: sandbox versus production credentials, endpoints, and event routing.735. Probe failure isolation: determine what user-visible behavior results when the provider is down, slow, or returns malformed data.7475Manual inspection requirements:7677- Review provider dashboards, quotas, and deprecation notices78- Confirm contractual retention and incident obligations7980Stack-specific guidance:8182- Prefer official SDK verification primitives while validating their configured options8384## Evidence to collect8586Standards used as criteria:8788- OWASP API Security Top 10 202389- RFC 91109091## Common production failures9293- Inspect timeouts, bounded retries, jitter, circuit behavior, rate limits, and fallback94- Verify webhook signatures against raw bytes, freshness, replay defense, and event idempotency95- Check credential scope, version pinning, data minimization, sandbox separation, and error redaction9697## Missing-control checks9899Each item needs direct evidence or one reasoned status.100101- Timeouts102- Retry strategy103- Idempotency keys104- Signature verification105- Replay prevention106- Provider outages107- Rate-limit handling108- Request validation109- Response validation110- Secret rotation111- Sandbox versus production separation112- Duplicate events113- Out-of-order events114- API version changes115- Data mapping116- Logging117- Fallback behavior118- Circuit breaking119- Partial failures120121## Commands and tools122123- Run `forge integrations audit --json` or `fullstack-forge integrations audit --json` when124 an explicit audit is requested and the CLI is installed. Normal feature work does not require it.125126## Safe fixes127128- Add explicit timeouts, payload validation, and secret redaction129- Pin a compatible SDK version after tests130131## Approval-required changes132133- Changing provider, credentials, contractual data flow, or failure policy134135## Verification136137- Replay signed and tampered payloads138- Simulate timeout, rate limit, and provider error responses139140## Completion contract141142Follow `fullstack-forge/references/shared/completion.md` and the limitations below.143144## Known limitations145146- Provider-side state and contracts require external evidence