Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
0aa8c70
✨ add standalone run-action materializer
aicia-bot Nov 20, 2026
ece0cfa
✅ cover standalone materializer in run-action tests
aicia-bot Nov 20, 2026
f8305a3
📝 document standalone run-action materializer
aicia-bot Nov 20, 2026
f05987a
updated changelog
gimlichael Nov 20, 2026
17975c8
🩹 skip run-action materializer when no manifest exists
aicia-bot Nov 20, 2026
46917a2
✅ cover missing manifest no-op in run-action tests
aicia-bot Nov 20, 2026
3918c19
🐛 reveal fallback run links when copy fails
aicia-bot Nov 21, 2026
860ebec
✅ materialize run actions in docfx verification build
aicia-bot Nov 21, 2026
2cd3789
🐛 remove stale run-action scripts when materializing
aicia-bot Nov 21, 2026
b8fdf92
🩹 fix global last exit code assignment in run actions script
gimlichael Nov 21, 2026
dd1922c
♻️ restrict api includes to namespace pages
aicia-bot Nov 21, 2026
2d83f4c
🔨 validate api include placement in docfx
aicia-bot Nov 21, 2026
1a817cd
🔧 adjust batch parallelism for dotnet build process
gimlichael Nov 21, 2026
2316f77
♻️ stop materializing run-actions during generation
aicia-bot Nov 21, 2026
6672ccb
📝 document build-time run-actions materialization
aicia-bot Nov 21, 2026
5a65d7a
♻️ use templates/modern as fallback docfx template
aicia-bot Nov 21, 2026
06b2e6a
🔨 wire run-actions build into BuildDocfxImage script
aicia-bot Nov 21, 2026
96e939f
🔨 patch customized BuildDocfxImage scripts safely
aicia-bot Nov 21, 2026
25ee0ba
📝 describe BuildDocfxImage wiring in run-actions guide
aicia-bot Nov 21, 2026
7e4f446
🦺 reject redundant example headings in docfx validator
aicia-bot Nov 21, 2026
45ba16c
✅ cover redundant example heading validation
aicia-bot Nov 21, 2026
24b1f70
📝 document redundant example heading rule
aicia-bot Nov 21, 2026
6eeb8ae
📚 sync docfx digest readme with heading gate
aicia-bot Nov 21, 2026
53c0fbc
🔨 keep ms-style template last in generated docfx config
aicia-bot Nov 21, 2026
f0010b6
✅ cover docfx template ordering in run-actions tests
aicia-bot Nov 21, 2026
fe34b5e
✨ update changelog for v0.13.1 release with new features and fixes
gimlichael Nov 21, 2026
911d986
🐛 reuse run-action verification and clean stale associations
aicia-bot Nov 21, 2026
1a7d431
🐛 ignore comments and literals in docfx include checks
aicia-bot Nov 21, 2026
bfc3506
🔒️ keep run-action verification cache private to the user
aicia-bot Nov 21, 2026
83750ab
🐛 track list-nested fences in docfx markdown scanner
aicia-bot Nov 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.13.1] - 2026-11-21

This is a minor release that adds a standalone run-action materializer to `dotnet-docfx-digest`, so the generated Native and Docker wrapper scripts are rebuilt at DocFX build time from a committed manifest instead of being committed themselves, and it adds validator gates for API include placement and redundant example headings, together with fixes to run-action toolbar fallback and sample build parallelism.

### Added

- `dotnet-docfx-digest` standalone `BuildRunActions.ps1` materializer that rebuilds the Native and Docker run-action scripts from `run-actions.manifest.json` beside `docfx.json` without requiring an installed skill, skips cleanly when the default manifest is absent, and removes generated scripts and emptied example directories that are no longer in the manifest,
- `dotnet-docfx-digest` `generate-run-actions.ps1` emission of `run-actions.manifest.json` and `BuildRunActions.ps1`, wiring of `BuildRunActions.ps1` before the Docker build in an existing `BuildDocfxImage.ps1` with removal of the generated `run-actions/` directory in `finally`, and a `templates/modern` fallback template that keeps `templates/ms-style` last in `build.template`,
- `dotnet-docfx-digest` DocFX verification build step that materializes run actions in its isolated temp workspace when a manifest and `BuildRunActions.ps1` are present, failing verification with the script output if materialization fails,
- `dotnet-docfx-digest` validator diagnostic `API_INCLUDE_OUTSIDE_NAMESPACES` for `[!INCLUDE ...]` directives under `.docfx/api/` outside `api/namespaces/`,
- `dotnet-docfx-digest` validator diagnostic `EXAMPLE_REDUNDANT_HEADING` for manual `Example`/`Examples` headings inside `example:`-mapped overwrite bodies, together with recognition of the `example: [*content]` flow-sequence form.

### Changed

- `dotnet-docfx-digest` run-action guidance now recommends committing the settings, manifest, materializer, and Markdown associations while ignoring the generated `run-actions/` directory, instead of committing that directory as documentation source, and the generator no longer writes `run-actions/` or `run-actions/index.json` into the working tree,
- `dotnet-docfx-digest` fast validator accepts `run-actions.manifest.json` and `BuildRunActions.ps1` as run-action deliverables,
- `dotnet-docfx-digest` guidance limits availability includes to namespace overview pages under `.docfx/api/namespaces/*` instead of type pages and after examples, and the README quality-gate entry describes the `example:` mapping forms and the heading gate.

### Fixed

- `dotnet-docfx-digest` run-action toolbar re-shows the original run links when copying or previewing a script fails, so the script remains reachable,
- `dotnet-docfx-digest` sample solution builds run with a single MSBuild node when a target framework is passed, avoiding concurrent builds of the same projects against shared `bin`/`obj` paths.

## [0.13.0] - 2026-11-20

This is a minor release that adds the `dotnet-csrun` skill for executable C# evidence, adds source-bound samples, contextual source references, repository-backed one-shot examples, and opt-in run actions to `dotnet-docfx-digest`, changes its example authoring to match the execution context, updates the .NET scaffolds to resolve current compatible test packages across major lines, and fixes sample compile attribution and comma-separated `-Skill` lists in the sync script.
Expand Down Expand Up @@ -833,6 +856,7 @@ This is a minor release that introduces two complementary git workflow skills, e

- Improved scaffold fidelity with hidden `.bot` asset preservation, explicit UTF-8 and BOM handling, and checks aimed at preventing mojibake or incomplete generated output.

[0.13.1]: https://github.com/codebeltnet/agentic/compare/v0.13.0...v0.13.1
[0.13.0]: https://github.com/codebeltnet/agentic/compare/v0.12.1...v0.13.0
[0.12.1]: https://github.com/codebeltnet/agentic/compare/v0.12.0...v0.12.1
[0.12.0]: https://github.com/codebeltnet/agentic/compare/v0.11.2...v0.12.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ API documentation rots the moment code changes. A new public type ships without
- **Examples that teach a real workflow** — examples start from package IDs and package-level evidence before falling back to type/member-only searches, prefer README, package docs, tooling, tuning, functional-test, and external GitHub usage when available, may include multiple related public types when that is what makes the consumer scenario understandable, keep extension-container prose focused on what callers can do with the receiver instead of on declaration syntax, discover public acquisition paths from signatures, docs, tests, and other evidence instead of assuming direct construction from implementation details, and rewrite copied test evidence into lean consumer-facing code rather than dragging obvious framework FQNs into the sample body,
- **Optional depth after immediate learning** — examples explain purpose, essential usage, outcome and reproduction before offering precise maintained source references with a brief reason to explore each. Existing discovery supplies those links, including for runnable examples; simple APIs stay concise. Links complement required C#, one-shot execution and compilation/completion gates, and existing valid links and `Related:` sections remain preserved,
- **Examples arrive with context** — design starts with the developer task, prerequisites, execution topology and observable result. Library snippets stay concise; standalone programs, genuine framework tests, multi-project integrations and partial excerpts use their actual execution context. Project-bound fences match maintained source, revalidate when their source/project changes, and require an active region under actual compiler symbols. Native per-project build evidence preserves successful samples when an unrelated sample fails. Human fly-ins explain setup and outcome, and compilation, runtime evidence and architectural review remain distinct,
- **Semantic example quality gates** — compilation-valid filler no longer passes: the validator rejects duplicate UID mappings, `Type.GetType`/assembly metadata scaffolds, runtime implementation names presented as outcomes (`EXAMPLE_RUNTIME_TYPE_NAME_OUTCOME`), empty local `Program` stubs in conventionally named application-entry-point samples such as `AppFactory`, `WebTestFactory`, or `HostFixture` (`EXAMPLE_EMPTY_ENTRY_POINT_STUB`) while excluding unrelated names such as `ApplicationRepositoryFactory`, generic `DocumentedTypeExample`/`Describe()` templates, type examples that never use the target in code, extension examples that mention a method only in prose instead of invoking it, examples without a human fly-in (`EXAMPLE_LEAD_MISSING`), advanced examples with shallow setup context (`EXAMPLE_ADVANCED_LEAD_MISSING`), `default!`/`null!` holder properties (`EXAMPLE_DEFAULT_PLACEHOLDER`), classes that only construct or return the target with no observable result (`EXAMPLE_NO_OBSERVABLE_OUTCOME`), mass-forwarding shells of one-line pass-throughs (`EXAMPLE_FORWARDING_SCAFFOLD`), one normalized code skeleton reused across three or more unrelated targets (`EXAMPLE_TEMPLATE_REPETITION`), and avoidable `System.*` / `Microsoft.*` fully qualified framework references in executable sample code (`EXAMPLE_FULLY_QUALIFIED_FRAMEWORK_TYPE`),
- **Semantic example quality gates** — compilation-valid filler no longer passes: the validator recognizes scalar (`example: *content`), flow-sequence (`example: [*content]`), and block-sequence (`example:\n- *content`) mappings while rejecting duplicate UID mappings, redundant manual `## Example`/`### Example`/`### Examples` headings inside `example:`-mapped bodies (`EXAMPLE_REDUNDANT_HEADING`) so complementary prose sits directly before the C# fence under DocFX's automatic `Examples` header, `Type.GetType`/assembly metadata scaffolds, runtime implementation names presented as outcomes (`EXAMPLE_RUNTIME_TYPE_NAME_OUTCOME`), empty local `Program` stubs in conventionally named application-entry-point samples such as `AppFactory`, `WebTestFactory`, or `HostFixture` (`EXAMPLE_EMPTY_ENTRY_POINT_STUB`) while excluding unrelated names such as `ApplicationRepositoryFactory`, generic `DocumentedTypeExample`/`Describe()` templates, type examples that never use the target in code, extension examples that mention a method only in prose instead of invoking it, examples without a human fly-in (`EXAMPLE_LEAD_MISSING`), advanced examples with shallow setup context (`EXAMPLE_ADVANCED_LEAD_MISSING`), `default!`/`null!` holder properties (`EXAMPLE_DEFAULT_PLACEHOLDER`), classes that only construct or return the target with no observable result (`EXAMPLE_NO_OBSERVABLE_OUTCOME`), mass-forwarding shells of one-line pass-throughs (`EXAMPLE_FORWARDING_SCAFFOLD`), one normalized code skeleton reused across three or more unrelated targets (`EXAMPLE_TEMPLATE_REPETITION`), and avoidable `System.*` / `Microsoft.*` fully qualified framework references in executable sample code (`EXAMPLE_FULLY_QUALIFIED_FRAMEWORK_TYPE`),
- **Key-entry-point storytelling** — namespace guidance starts from release notes, package documentation, public factories/builders, and strong functional tests so new product-defining APIs are not buried beneath naming conventions. When a package complements an upstream framework type, the skill compares acquisition, customization, lifecycle, sharing, and observable outcomes from current official guidance instead of making unsupported replacement claims,
- **Correct source discovery** — the no-build source scanner correctly handles block namespaces whose opening brace is on the next line, so public types are no longer silently under-reported; when a declaration cannot be paired with its brace it warns (`API_MODEL_SOURCE_SCANNER_INCOMPLETE`) and points to a build-backed audit,
- **Project-scoped packets and voluntary representative dry runs** — documentation is processed in bounded project packets grouped by DocFX `metadata[].dest`, with ownership of namespaces, targets, overwrite files, and git-dirty paths. A normal run always preserves the user's requested scope and continues packet-by-packet until the global completion contract is clean. Only an explicitly requested `--dry-run --build-api-model --project-manifest <path>` selects one **clean** project per destination group and writes both the initial baseline and a sibling changed-page review template; after evidence-based authoring and page-by-page review, `--resume-project-manifest <path> --review-report <path> --build-api-model --validate-samples --verify-docfx-build` verifies the same packets without mistaking new files for pre-existing work. Missing evidence, purpose/outcome, observable-result, or sibling-pattern review entries block dry-run completion. `--write-overwrite` preserves BOM/line endings and refuses dirty or duplicate-UID writes,
Expand Down
Loading
Loading