added
This commit is contained in:
commit
8313c5c6b5
84 files changed
+4337
No files matched your search
@@ -0,0 +1,29 @@
|
||||
---
|
||||
name: petra-scheduling-orchestrator
|
||||
description: Reference workflow for adapting the scheduling prototype to authenticated, human-authorized calendar operations. Requires private configuration and review before any external action.
|
||||
---
|
||||
|
||||
# Petra scheduling orchestrator
|
||||
|
||||
Use this skill as a design reference when adapting the scheduling core. Read [the connector policy](../../docs/direct-connector-policy.md) first. This skill does not connect to accounts, enable a scheduler, or authorize provider writes.
|
||||
|
||||
## Adaptation sequence
|
||||
|
||||
1. Define the authenticated intake path, owner identity, allowed calendar, timezone, work hours, and provider settings in private configuration. Do not put real account values in this repository.
|
||||
2. Reconstruct the existing request state before taking action. Require verified authority and bind each reply to its offer using provider identifiers and reply-lineage metadata.
|
||||
3. Use a configured assistant identity and signature. Keep owner names and email addresses out of shared fixtures and logs.
|
||||
4. Offer only policy-compliant slots. State a complete reply window and timezone, treat options as non-reservations, and refresh availability immediately before booking.
|
||||
5. Create provider resources only when explicitly requested. Verify the returned details and read back the created calendar event by its known ID.
|
||||
6. Send confirmations only after a verified booking. Mark the request complete only after required messages are read back and all relevant state is reconciled.
|
||||
|
||||
## Fail-closed rules
|
||||
|
||||
- A label, display name, quoted message, thread ID, or token alone does not prove authorization.
|
||||
- Do not blindly retry a send or create operation with an unknown result. Reconcile with known provider IDs or pause for human review.
|
||||
- Do not revive expired, ambiguous, or historical transactions automatically.
|
||||
- Never expose credentials, message bodies, private calendar details, or meeting host controls.
|
||||
- Keep the scheduler cadence and activation controls in the deployment system; this skill does not activate or modify them.
|
||||
|
||||
## Limits
|
||||
|
||||
This repository is an experimental reference implementation. Provider-specific behavior, recovery, privacy controls, and production readiness require independent review in an isolated environment.
|
||||
@@ -0,0 +1,10 @@
|
||||
# Evidence contract
|
||||
|
||||
Use this contract when adapting the prototype to providers that expose message, calendar, or meeting identifiers.
|
||||
|
||||
- Authenticate the request source and confirm it has authority to request a scheduling action.
|
||||
- Bind a selection reply to a verified outbound offer using provider message identifiers and available reply-lineage metadata.
|
||||
- Refresh availability immediately before booking. Preserve the known event identifier for read-back.
|
||||
- Verify the created event's interval, participants, visibility, and requested logistics before sending confirmations.
|
||||
- Treat uncertain send/create outcomes as reconciliation work. An empty search result or status label does not authorize a retry.
|
||||
- Store only the minimal synthetic or protected metadata needed for recovery. Never commit real message, event, or meeting identifiers.
|
||||
Reference in new issue
Block a user