Consolidate agent guidance, remove legacy compatibility APIs, add generator validate mode, and update templates/tests - #56
Merged
Conversation
…ing using, sync CacheStats and DataMatrixTemplate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
AGENTS.mdthe canonical agent engineering guide and avoiding duplicated/marketing content inCLAUDE.mdand other docs.LoadAsync/GetCached/IsLoaded) and the new runtime surface.Description
AGENTS.mdinto a concise agent-focused engineering guide and shortenedCLAUDE.mdto point to it, and added planning/ADR indexes underdocs/(docs/adr/,docs/planning/).validateCLI command andGenerationMode.ValidateOnlytoDataTables.Generator, changed generator logic to render/validate without emitting files when in validate mode, and exposedValidateOnlyon the MSBuild task.*.tt/ generated*.cs) and template renderers to stop using legacyGetDataTableInternaland instead useDataTableManager.GetCached, and removed generation of obsolete compatibility helper methods.CreateDataTable*callbacks,IDataTableManager, compatibility properties/methods), renaming cache stats fields to estimated-budget names, and requiring context-aware table registrations; adjustedDataTableContext/DataTableManageraccordingly.validate-only generation and documentation smoke checks.Testing
dotnet test tests/DataTables.Tests/DataTables.Tests.csproj(includingPublicApiMetadataTests,DocumentationSmokeTests,GenerationTransactionTests, generator/schema tests and concurrency tests) and all tests passed.dotnet dtgen validate --helpinvocation to confirm long-option docs and validate-mode help are available and consistent.ValidateOnlymode.Codex Task