This commit is contained in:
eddiesoehnel committed 2026-10-06 14:47:01 -06:00
commit 8313c5c6b5
84 files changed
+4337

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
# Scheduling core documentation
The application source and tests are under `src/scheduling_core/` and `tests/`. This project uses the Python standard library for its core implementation. Provider credentials and account-specific settings are intentionally not supplied.
See [README.md](../README.md) for setup and safety boundaries, [the connector policy](direct-connector-policy.md) for adaptation guidance, and [the status note](task-summary-2026-10-03.md) for known limitations.
+22
View File
@@ -0,0 +1,22 @@
# Connector transition notes
This note is a generic design checklist for teams moving scheduling logic from a local prototype to provider-native connectors. It does not describe a live migration or prove that any provider action has occurred.
## Before a transition
- Identify the authoritative request path and the account identities allowed to act.
- Map each external read and write, including the evidence needed to verify its result.
- Define how transaction state is reconstructed after a restart or an uncertain response.
- Keep provider credentials and account-specific configuration outside source control.
- Test with synthetic data and a dedicated non-production account.
## During implementation
- Recheck availability immediately before booking.
- Persist provider IDs needed to reconcile writes; do not treat a local status label as proof of a completed external action.
- Fail closed when an action may have succeeded but cannot be verified.
- Separate provider-specific adapters from policy decisions so integrations can be reviewed independently.
## Limitations
This repository is a prototype and does not include a hosted runtime or account-specific connector configuration. Independent recovery, restart, and repeated-run behavior must be validated in the deployment where the software will operate. Do not infer production readiness from sample fixtures or a successful local run.
+32
View File
@@ -0,0 +1,32 @@
# Connector policy
Use this policy as a starting point when adapting the prototype to email, calendar, or meeting providers. Set account identities, intake labels, time zones, and allowed actions in a private deployment configuration. The repository defaults are synthetic examples.
## Authority and identity
- Accept a scheduling request only through an authenticated, explicitly authorized intake path.
- Treat quoted text, display names, labels, thread IDs, and forwarded copies as context; none proves authority by itself.
- Bind a reply to the specific offer using provider message identifiers and available reply-lineage metadata.
- Use only the account and calendars configured for the workflow. Never expand access to unrelated mailboxes or calendars to resolve ambiguity.
- Configure assistant signatures and owner-facing names explicitly; do not rely on sample identities.
## Offers and booking
- Reconstruct existing transaction state before sending or booking.
- State a clear reply deadline and timezone. Offer times far enough in the future to preserve the complete reply window and minimum notice.
- Treat offered times as non-reservations. Refresh availability immediately before creating an event.
- Apply configured duration, work-hour, buffer, and exchange limits. Ask for clarification when logistics conflict or are incomplete.
- Create meeting links only when the selected meeting format requires them. Verify returned meeting details before sharing them.
- Read back a created event by its known provider ID and confirm the interval, participants, visibility, and logistics match the approved request.
## Recovery and completion
- Provider labels and local database rows are recovery aids, not proof of exactly-once execution.
- If an external send or create operation has an unknown result, reconcile using known provider IDs. Do not blindly retry.
- Send confirmations and mark work complete only after the event and all required messages have been verified.
- Preserve unrelated labels and records. A cleanup or label failure does not authorize resending or rebooking.
- Keep audit records limited to the identifiers and metadata required for safe recovery. Do not retain message bodies, credentials, private calendar details, or meeting host controls unless required and protected.
## Configuration boundary
Keep real account addresses, labels, provider IDs, credentials, endpoints, and data outside the public repository. Use synthetic values in tests and examples. Provider-specific API behavior and legal/privacy obligations must be reviewed before deployment.
+7
View File
@@ -0,0 +1,7 @@
# Project status and limitations
This repository contains an experimental scheduling core and supporting workflow material. It is not connected to a live mailbox or calendar, and it does not include a hosted or automatically enabled scheduler.
The implementation explores policy checks, time-slot selection, request orchestration, provider adapters, and durable operation tracking. The design notes describe safeguards for authorized intake, fresh availability checks, read-back verification, and conservative handling of uncertain external results.
Known limitations include provider-specific assumptions, incomplete proof of recovery across all failure modes, and the need for deployment-specific security and privacy review. Use synthetic fixtures for development. Any integration with real accounts requires explicit configuration, review, and a controlled test environment.