docs(adr): inner curation loop — Phase F F0 Wave 1#182
Open
ronsse wants to merge 2 commits into
Open
Conversation
…it B) Designs the curator graph skill that closes the adr-planes-and-substrates Phase 4 deferred consumption story for document_ids. Specifies the under-population heuristic, three trigger paths (explicit / detected / lazy), hard-bounded write scope (summary + description only via ENTITY_UPDATE), feedback contract (node.enriched + curation.deferred + curation.feedback_recorded), failure modes with idempotent proposal hashing, and two-layer budgets matching the opt-in defaults established by adr-coding-agent-loop.md. References adr-graph-skill-harness.md as the substrate (parallel Unit A). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds excluded_roles=("curated",) parameter to is_under_populated() in curator ADR §2.2. A node deliberately marked node_role="curated" by a human reviewer or prior curator pass should not be re-enriched on top — overwriting intentional output is a safety regression, not a feature. The exclusion list lives in the same ParameterRegistry scope under key under_population_excluded_roles. Surfaced as M-severity deferred finding during Wave 1 coordination.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
docs/design/adr-inner-curation-loop.md(~218 lines) defining the curator graph skill. Closesadr-planes-and-substrates.mdPhase 4's deferreddocument_idsconsumption story.read_documenttool, writesproperties.summary+properties.descriptionthroughMutationExecutor. Bounded write scope (no edges, no new entities, no other properties).TRELLIS_CURATION_SCHEDULER_ENABLED. Idempotent via stablesha256(node_id || sorted(document_ids) || prompt_template_version || model_id).node_role="curated"by default — avoids overwriting intentional human/curator output. Surfaced as M-severity finding during coordination pass.Test plan
adr-graph-skill-harness.mdadr-planes-and-substrates.mdresolveis_under_populatedsignature is implementable (matchesParameterRegistrypatterns)curation.requested,node.enriched,curation.deferred,curation.feedback_recorded)🤖 Generated with Claude Code