How gvegayon/ai-examples works
Purpose and Entry Points
This is a documentation repository of real-world AI-assisted and human-authored software-work examples. Its primary entry point is [README.md](README.md), which indexes the collection and defines the contribution workflow. There is no application runtime, build pipeline, or deployed service represented in the repository.
Content Domains
Examples are separated by authorship:
• AI-generated reports live in [ai/](ai), with their local index at [ai/README.md](ai/README.md).
• Human-authored reports live in [human/](human), indexed by [human/README.md](human/README.md).
This directory boundary is the principal classification and publishing boundary for content.
Report Contract
[template.md](template.md) is the shared structural contract for every new example. Contributors select this template, document an issue or task, relevant context, AI/human work, and outcome, then place the completed Markdown report in the appropriate authorship directory.
AI Report Generation Context
GitHub Copilot Agent mode is the intended AI authoring runtime. Repository-level instructions in [.github/copilot-instructions.md](.github/copilot-instructions.md) provide the behavioral contract supplied to Copilot. The generation flow combines:
1. A detailed task/query.
2. Copilot instructions.
3. The common report template.
4. Relevant existing or human examples as context.
5. A generated Markdown report committed under [ai/](ai).
Example Corpus
The AI corpus spans package development, R/C++ integration, documentation, translation, CI remediation, and retrospective failure cases. Representative reports include:
• [ai/automated_report_generator.md](ai/automated_report_generator.md)
• [ai/cpp_function_exposure_to_r.md](ai/cpp_function_exposure_to_r.md)
• [ai/epiworld_rewire_degseq_fix.md](ai/epiworld_rewire_degseq_fix.md)
Failures are retained alongside successful outcomes, notably [ai/ci_scope_creep_failure.md](ai/ci_scope_creep_failure.md) and [ai/epiworld_zensical_migration_failure.md](ai/epiworld_zensical_migration_failure.md), making the repository a learning corpus rather than only a success showcase.
Contribution and Publication Flow
New content is proposed through a GitHub issue, added through a pull request, authored using [template.md](template.md), and categorized as human or AI output. Publication requires updating both the category-level index where applicable and the root catalog in [README.md](README.md). GitHub Issues, Pull Requests, and GitHub Copilot are therefore the material external platform dependencies.
Architectural Constraints
The repository’s product is curated Markdown content, not executable code. Consistency depends on the template, Copilot instruction file, authorship-directory convention, and manually maintained README indexes. The main control boundary is GitHub review: maintainers request AI examples and accept additions through pull requests.
Main entry points: template.md Report template · human/README.md Human index · ai/README.md AI index · README.md Root catalog
Components 12
GitHub workflow
External proposal, review, and AI authoring boundary.
- Copilot instructions · Repository behavior contract for Copilot Agent mode.
.github/copilot-instructions.md - GitHub Issues · New content is proposed as an issue.
- Copilot Agent mode · Generates AI-authored reports from task and repository context.
- Pull Requests · Maintainers review and accept additions.
Markdown corpus
Curated reports separated by authorship.
- Human index · Local catalog of human-authored reports.
human/README.md - Human reports · Completed reports categorized as human output.
- AI index · Local catalog of AI-generated reports.
ai/README.md - AI reports · Completed AI reports, including successful and failure cases.
- Representative AI reports · Examples cover package work, R/C++ integration, and remediation.
ai/automated_report_generator.md - Retained failure cases · Failure outcomes are kept alongside successes.
ai/ci_scope_creep_failure.md
Other components
- Root catalog · Collection entry point and contribution guide.
README.md - Report template · Shared structure for new examples.
template.md
Connections 15
- GitHub Issues → Pull Requests: proposal becomes
- Report template → Human reports: structures
- Report template → AI reports: structures
- Copilot instructions → Copilot Agent mode: guides
- Report template → Copilot Agent mode: provides report format
- Human reports → Copilot Agent mode: provides context
- Copilot Agent mode → AI reports: generates
- Human reports → Human index: listed in
- AI reports → AI index: listed in
- Human index → Root catalog: published in
- AI index → Root catalog: published in
- Pull Requests → Human reports: accepts additions
- Pull Requests → AI reports: accepts additions
- Representative AI reports → AI reports: belongs to
- Retained failure cases → AI reports: belongs to