Files
calendar-scheduling-OPEN/tasks/calendar-scheduling-publication/repository-structure-plan.md
T
2026-10-06 14:47:01 -06:00

13 KiB

Repository Structure Plan

Plan Control

  • Task ID: calendar-scheduling-publication
  • Target repository: /path/to/public-repository
  • Repository mode: existing (empty Git repository)
  • Profile: software-automation
  • Revision: 1
  • Status: approved
  • Created: 2026-10-06
  • Updated: 2026-10-06
  • Approval evidence: User approved revision 1 on 2026-10-06.

Outcome

Create a sanitized, downloadable public version of the AI calendar scheduling project that explains its purpose and safe setup to people and AI agents, exposes searchable repository metadata, and preserves reusable scheduling logic without disclosing private operational details.

Identity And Publication

  • Author(s): Eddie Soehnel
  • Publisher: Eddie Soehnel (per user's identity selection)
  • Maintainer: Eddie Soehnel (per user's identity selection)
  • Canonical repository URL: Unset; user selected URL unknown. The observed Git remote is not treated as confirmation of the canonical URL.
  • License: MIT
  • Repository variables: Create repository-variables.json using confirmed identity, software-automation profile, MIT rights, and canonical_url null/unset.
  • Identity source: User response
  • Publication intent: mixed (reusable software, scripts, skill/workflow, and docs)
  • Brand exposure: Keep product and integration names
  • Author exposure: Eddie Soehnel allowed as repository author/publisher/maintainer; sanitize personal identifiers in operational content.
  • Public output branch: codex/calendar-scheduling-publication (requested; create only after this plan is approved)
  • Review receipt folder: <publication-receipt-folder>
  • Source selection: All tracked source files except .git/, runtime state, caches, generated/private data, and machine-specific artifacts; each copied file must pass sanitization review.
  • Anonymization map: Replace private user and host paths with /path/to/project; private addresses with distinct synthetic [email protected] values (or [email protected]/[email protected]); private domains/hostnames with example.org or host.example.internal; IPs with localhost or a marked placeholder; key names/credentials with generic placeholders; private repository URLs with https://code.example.org/organization/calendar-scheduling; redact third-party personal and business identifiers. Keep product/integration names.

Current State

Facts

  • The source repository is <private source repository>; its Git working tree is clean and it has 65 tracked files.
  • The source has a runtime state/ directory excluded by its .gitignore; it will not be copied. .git/, generated caches, and machine-specific artifacts are excluded as well.
  • The source contains Python scheduling code, a scheduling skill, policy/configuration, fixtures, tests, scripts for provider verification and authorized/supervised sends, and historical operational documentation.
  • Several source documents contain private email addresses, personal paths, operational details, dates, and provider/tunnel configuration. These require sanitization before public inclusion. Product and integration names may remain.
  • The destination has no tracked files or working changes and is currently on main. It has an origin remote, but the user selected canonical URL unknown; this plan leaves the canonical URL unset pending explicit confirmation.
  • The template's baseline audit was run with software-automation; it reports the expected required paths missing from the empty destination.
  • The template instructions require a repository-local plan and explicit approval before structural changes. No source files have been copied.

Assumptions

  • software-automation is the smallest suitable template profile for an executable Python scheduling tool with scripts and tests.
  • Documentation is large enough to benefit from content-index.json; the index will list authoritative public docs and skill entry points rather than every code file.
  • All non-excluded tracked source files remain in scope, but any file found to contain sensitive or unsafe live operational defaults will be sanitized or marked for omission with rationale before it is added.
  • MIT applies to the new public repository as instructed; source licensing/provenance will be reviewed before an MIT license file is written.

Baseline Audit

  • Command: python audit_repository.py --profile software-automation --json /path/to/public-repository
  • Result: Failed as expected for an empty repo; 14 findings report missing software-automation profile files and paths.

Profile Decision

Select software-automation: this is a Python scheduling application with reusable source, operational scripts, configuration, tests, documentation, and a workflow skill. A skill-only profile would underdescribe the software; a larger dataset/documentation profile would not fit.

Proposed Structure

calendar-scheduling-OPEN/
├── README.md
├── AUTHOR.md
├── repository-variables.json
├── repository.json
├── content-index.json
├── AGENTS.md
├── CHANGELOG.md
├── UPDATES.md
├── VERSION
├── LICENSE
├── CONTRIBUTING.md
├── SECURITY.md
├── skills.md
├── CITATION.cff
├── .gitignore
├── pyproject.toml
├── src/scheduling_core/          # sanitized reusable scheduler code
├── config/                       # sanitized policy defaults
├── fixtures/orchestration/       # synthetic/anonymized fixtures only
├── docs/                         # public policy, setup, architecture, and migration guidance
├── skills/petra-scheduling-orchestrator/
├── scripts/                      # reviewed, placeholder-based scripts
├── tests/                        # existing tests, sanitized where needed
├── archive/                      # reviewed historical documentation, clearly marked inactive
└── tasks/calendar-scheduling-publication/
    └── repository-structure-plan.md

No files will be committed or pushed. No remote settings or hosting topics will be changed.

File Actions

Path Action Purpose and planned content Existing-content treatment
src/, config/, fixtures/, docs/, skills/, scripts/, tests/, archive/, pyproject.toml create Copy the in-scope tracked software, policy, examples, user docs, skills, scripts, and tests. Copy without .git/; review each file for secrets, private identifiers, unsafe live defaults, and operational history. Replace private values with approved generic placeholders. Preserve useful historical material with clear inactive/archive context.
.gitignore create Exclude secrets, local state, caches, logs, databases, virtual environments, exports, and transient files. Adapt source ignore rules and add public-safe guards.
README.md modify Explain tool purpose, audience, architecture, setup, configuration, safe use, limitations, and human/AI entry points. Rewrite from source overview; remove private run evidence, dates, email addresses, and private scheduler references.
AUTHOR.md, repository-variables.json, repository.json, CITATION.cff, LICENSE create Provide aligned verified identity, machine-readable discoverability, repository metadata, citation, and MIT terms. Use user-confirmed Eddie Soehnel attribution and MIT. Keep canonical URL unset; do not invent a public URL. Confirm source licensing/provenance before assigning MIT.
content-index.json create Catalog the primary setup guide, architecture/policy docs, migration notes, and skill entry point for search and retrieval. Use stable IDs and paths; include only files actually included in the public repo.
AGENTS.md, skills.md create Define safe AI retrieval order and index the scheduling skill and relevant scripts. Scope instructions to the public project; exclude private operations and live credentials.
CHANGELOG.md, UPDATES.md, VERSION create Record initial sanitized publication, future proposals, and aligned initial version. Do not claim a release or publication; mark version as initial pre-release/baseline if supported by repository standard.
CONTRIBUTING.md, SECURITY.md create Explain contribution validation and safe vulnerability reporting. Do not invent a security contact; direct private reports through repository host only if an actual supported route is confirmed, otherwise use a placeholder or omit contact details.
tasks/calendar-scheduling-publication/repository-structure-plan.md create Reviewable implementation plan. Created as the only repository write before approval.
tasks/calendar-scheduling-publication/implementation-receipt.md, tasks/calendar-scheduling-publication/validation-results.md create Record approved implementation actions, validation, deviations, and unresolved items. Create after implementation, after approval.
<publication-receipt-folder>\2026-10-06-calendar-scheduling-publication-receipt.md create Required publication receipt for copied files, sanitization, scans, findings, and remaining risks. Create after sanitation and validation; do not claim safe-to-publish while blockers remain.

Human and AI Entry Points

  • Human starts at: README.md
  • AI agent starts at: AGENTS.md, which directs to README.md, AUTHOR.md, repository-variables.json, repository.json, content-index.json, skills.md, then relevant docs/code.
  • Authoritative manifest: repository.json
  • Verified repository variables: repository-variables.json
  • Retrieve next: content-index.json, skills.md, docs/README.md, then relevant architecture/policy documentation and skills/petra-scheduling-orchestrator/SKILL.md.

Hosting Platform Choices

  • Existing host remote observed: existing origin URL intentionally omitted; user has not confirmed it as canonical, so it stays unset in repository metadata.
  • Prepare branch codex/calendar-scheduling-publication only after approval.
  • Do not push, publish, create a release, or change remote/hosting settings.
  • Add no host-specific issue/CI files unless needed by existing project conventions.

Validation and Definition of Done

  • The approved source scope is copied; excluded state, .git/, caches, and generated/private data are absent.
  • Private identifiers, credentials, paths, service endpoints, and operational details are sanitized or documented as unresolved review items.
  • No live sending or calendar-write behavior is enabled by private defaults; public configuration uses explicit placeholders and safe setup instructions.
  • Template metadata agrees on author, publisher, maintainer, canonical URL state, MIT license, profile, and version.
  • The README, agent entrypoint, manifest, skill index, and content index resolve to actual files.
  • Template structural audit passes for software-automation or any residual findings are explained.
  • Leak scans, generated-file checks, link checks, and repository status/diff review are recorded.
  • No tests are added or run unless separately requested; existing test files may be copied and sanitized.
  • Publication receipt, implementation receipt, and validation results are complete and accurately state unresolved risks.
  • No commit or push occurs.

Commands:

  • Template profile audit for software-automation.
  • Secret, email, IP, hostname, workstation-path, and generated-data scans.
  • Machine-readable metadata parsing and Git status/diff review.

Risks and Preservation Notes

  • Operational docs include private evidence and real-world scheduling references; user-approved names/integrations may remain, but addresses, personal paths, dates and identifiers must be reviewed and generalized.
  • Some scripts can send email, create calendar events, manage tokens, configure tunnels, or register startup tasks. Their public behavior/defaults require individual review; placeholders alone do not establish safe operation.
  • Source provenance/license has not yet been independently established. MIT was selected by the user for the public repository; confirm rights to all copied source, tests, and documentation during implementation. Flag any third-party or provenance uncertainty rather than silently licensing it.
  • The destination had an existing remote, but its URL is intentionally omitted from the publication plan; canonical URL is expressly unset.
  • The destination will receive a new publication branch after approval; main remains the pre-publication state unless the user later requests otherwise.

Out of Scope

  • Running the scheduler, sending email, creating calendar events, authenticating provider accounts, or using any secrets.
  • Publishing, pushing, releasing, changing remotes, or changing host settings.
  • Editing the private source repository.
  • Creating or updating persistent memory.

Open Questions

  • No blocking intake questions remain. Sanitization findings that cannot be safely resolved while preserving utility will be listed as review items in the receipt.

Approval

Approve revision 1 of this plan before implementation. Amendments create a new revision and return the plan to awaiting approval.