added
This commit is contained in:
commit
8313c5c6b5
84 files changed
+4337
No files matched your search
@@ -0,0 +1,71 @@
|
||||
# AI Calendar Scheduling Toolkit
|
||||
|
||||
A Python prototype for AI-assisted calendar scheduling workflows. It combines scheduling policy, time-slot selection, orchestration, a durable SQLite ledger, provider-oriented helpers, a local MCP interface, and synthetic fixtures.
|
||||
|
||||
This repository is a reference implementation. It is not a hosted scheduler, does not include a live account connection, and does not automatically authorize calendar or email changes. Some optional scripts can contact external services when deliberately enabled and supplied with credentials. Review them before use and test with accounts and data you control.
|
||||
|
||||
## Start here
|
||||
|
||||
- Setup and safety guidance: this README
|
||||
- AI-agent entrypoint: [AGENTS.md](AGENTS.md)
|
||||
- Repository metadata: [repository.json](repository.json)
|
||||
- Searchable document catalog: [content-index.json](content-index.json)
|
||||
- Scheduling workflow skill: [skills/petra-scheduling-orchestrator/SKILL.md](skills/petra-scheduling-orchestrator/SKILL.md)
|
||||
- Design and policy notes: [docs/](docs/)
|
||||
|
||||
## What is included
|
||||
|
||||
- `src/scheduling_core/`: policy evaluation, slotting, orchestration, provider adapters, and a SQLite-backed operation ledger.
|
||||
- `config/`: a sample scheduling policy with synthetic identities and labels.
|
||||
- `fixtures/` and `tests/`: sample inputs and the project's existing test suite.
|
||||
- `scripts/`: local development helpers and explicitly gated integration examples. Read each script before running it.
|
||||
- `skills/`: an AI workflow guide and its evidence contract.
|
||||
- `archive/`: historical design notes retained for context. Archived procedures are not a deployment guide.
|
||||
|
||||
The connector design notes describe general safeguards and do not report a live or hosted service in this repository.
|
||||
|
||||
## Requirements
|
||||
|
||||
- Python 3.11 or newer.
|
||||
- SQLite support from the Python standard library.
|
||||
- Provider credentials only if you intentionally configure an integration example.
|
||||
|
||||
## Local setup
|
||||
|
||||
From the repository root, create an isolated Python environment and install the project:
|
||||
|
||||
```text
|
||||
python -m venv .venv
|
||||
python -m pip install -e .
|
||||
```
|
||||
|
||||
The package requires Python 3.11 or newer. For direct source-tree development, set `PYTHONPATH=src` in your shell; PowerShell users can use `$env:PYTHONPATH = "src"`.
|
||||
|
||||
Copy and adapt `config/scheduling-policy.json` for your own use. Replace every `example.test` address, sample label, timezone, and placeholder with values for an account you control. Store credentials outside the repository. Never commit secrets, account exports, calendar data, or a live SQLite ledger.
|
||||
|
||||
## Safety boundaries
|
||||
|
||||
- The sample configuration is not connected to any real account.
|
||||
- Scripts named `send-*` or `send_*` can cause external effects if configured and explicitly run. Their environment-variable gates are not a substitute for reviewing the target account, recipient, content, and operation scope.
|
||||
- Do not use archived local-tunnel or token-management procedures as production setup instructions.
|
||||
- Unknown results from an external write require manual reconciliation; do not repeat an action merely because a response is missing.
|
||||
- This prototype has not been independently security-reviewed or declared production-ready.
|
||||
|
||||
## License and attribution
|
||||
|
||||
The repository is provided under the MIT License. See [LICENSE](LICENSE) and [AUTHOR.md](AUTHOR.md).
|
||||
|
||||
## Validation
|
||||
|
||||
Check repository structure and metadata with:
|
||||
|
||||
```powershell
|
||||
python scripts/audit_repository.py --profile software-automation --json .
|
||||
```
|
||||
|
||||
Run the existing unit suite in an isolated environment with:
|
||||
|
||||
```powershell
|
||||
python -m unittest discover -s tests -p "test_*.py"
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user