Repository navigation
Conversation
Resolve the repositories a strategy touches before decomposition and assign each epic to exactly one repository, behind the EPIC_CREATOR_REPOSITORY_MODE flag (unset = off, legacy behavior). - skills/repository-resolution: standalone resolution skill (two-phase: optional component hints, then evidence-cited resolution against the pinned architecture context) with deterministic scripts for source loading, lookups, and result verification - config/resolver.yaml + config/_schema: declared sources (architecture context pinned to rhoai-3.6, RHAI component mapping) and the Jira URL field, validated before any work starts - pipeline: RESOLVE_REPOSITORIES phase between fetch and decompose; the pipeline verifies every result before decomposition uses it - decompose/review/revise prompts: one epic per planned PR in one repository; unresolved work becomes its own epic - submit: canonical URL written to the configured field, evidence attached, unresolved epics get a warning comment; all checks run before any Jira write - fetch_strategy: capture Jira components as Phase 1 hints Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The fullsend sandbox has no GitHub access, so with repository mode on the pre-script loads the declared sources on the host (as it already does for the architecture context bootstrap), and pipeline init reuses that snapshot when it matches the current resolver config. The flag reaches the sandbox through an expanded env file; unset expands empty (off). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
In e2e runs the decompose agent sometimes passed the epic's component into a per-slice resolver request, producing Phase 1 hints the strategy never had. Spell out that components are copied from the strategy file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
When two documents in the architecture context disagree about which repository owns a responsibility the work needs, the resolver now returns unresolved with both repositories as candidates and a quote for each, instead of silently picking one (found in e2e: RHAISTRAT-2649, where the payload-processing doc claims the ExternalModel controller and the ai-gateway-controller doc says it replaced it). Unresolved candidates may be known repository keys from the architecture context, not only Phase 1 hints. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The resolver followed the issue's own component claims to decide which architecture documents to read (e2e RHAISTRAT-2649: with zero Jira components and Phase 1 skipped, it opened only the three documents the strategy's description named and missed the repository that had taken over the work). That lets hints define the search scope, violating the ADR's trust boundary: only the architecture context justifies an assignment. Phase 2 now starts with a mandatory survey: list every component's one-line purpose from the architecture documents themselves, select plausible candidates from that complete list, and only then read documents for evidence. Description claims may order reading, never shrink the candidate list. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
A declared source is a repository; its root-level files are part of it. The loader now copies them at the pinned SHA for remote sources and records them in the manifest as root_files — recognizing nothing, by design. The resolver's prompt gained two things: read the source's own guidance file first and follow it for how to read the source (where its component listing lives, how it is organized), and a trust-boundary carve-out — the source's shipped guidance is trusted, unlike text inside an issue, though it cannot override the skill's workflow, requirements, or validation. Found in e2e: the architecture-context repo ships AGENT_USAGE.md, whose first instruction is to start from its per-version INDEX.md of all components; our declared paths covered only the version folder, so the guide was never loaded and the resolver followed the issue's own component claims instead — missing the repository that had taken over the work. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
Phase 2 read the issue description after the survey, so the hints could never accelerate anything — the survey was always cold, discarding the ADR's "confirmed hints resolve faster than a cold resolution." Reorder: read the description and collect its hints first (Phase 1 hints plus any repository or component named in the text), begin reading the hinted components' documents, then sweep the complete component list anyway to catch wrong or missing hints. Hints order the reading and never shrink the scope. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…view) Review fixes: - check-epics: bind each epic's result path to its own work item, so an epic can no longer publish another strategy's verified repository (qodo #1) - resolve phase: poll a {ID}-resolve-complete completion marker instead of result-file existence, so a draft result under repair is never verified and dropped (qodo #2) - submit: pass --artifacts-dir through to repository validation, so a custom directory is checked consistently with what is submitted (qodo #4) - submit: page the issue-types createmeta endpoint and validate the metadata shape, so a later-page Epic type and empty responses fail through the guarded preflight instead of crashing (qodo #5, #6) - resolver.yaml: pin the architecture source to the commit the mapping was converted against, so an upstream edit cannot silently change what runs see (qodo fullsend-ai#7) - ensure_sources: reload when a self source's recorded HEAD no longer matches the repository, so runs never resolve against a stale mapping snapshot (qodo fullsend-ai#9) Docs and cleanup (fullsend review): - document EPIC_CREATOR_REPOSITORY_MODE, the new artifact paths, the RESOLVE_REPOSITORIES phase, and repository-mode Jira writes in README, CLAUDE.md, epic-decompose SKILL.md, eval notes, and the human review guide - make the jira: config section optional (consumer configuration; the skill stays standalone), with a clear error in publication when a consumer publishes without declaring its field - re-export the loader's error types from repository_resolution so consumers stop importing through its sys.path side effect - align config/source failure exit codes to 2 across sources.py and pipeline_state init, matching the contract verify.py documents Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
… version The bootstrap script floated to the latest rhoai-* folder while the resolver pins rhoai-3.6, so decomposition and repository resolution would use different architecture views once a newer version lands upstream. Pin the script to the same version and add a test that fails when the two declarations drift apart. Also drops the GitHub API call that detected the latest folder. Closes fullsend-ai#70 Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
Walk back the commit-SHA pin from the review batch (qodo fullsend-ai#7): the product version stays pinned by the declared paths, but the content tracks the branch head so upstream fixes to the pinned version's docs are picked up on the next load. The manifest still records the commit each load resolved to, and a moved mapping key fails loudly at load. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The Jira URL field carries the repository where contributions land, decided in the AISDLC-90 kickoff (2026-11-04): "populate the upstream repository URL rather than the midstream or the downstream" — yes. Ground truth confirms it: 24 of 26 merged PRs for sampled epics landed in opendatahub-io or the true upstream; zero in red-hat-data-services; and the live notebooks code-agent poller selects its epics by exact-match JQL on the upstream URL. resolve_details now selects the published repository from the component map's fork lineage (origin first): the entry from the group-configured preferred_org when one exists, otherwise the lineage origin. Components without a lineage keep repo_org/repo_name (shared upstreams consumed directly). preferred_org is an optional repository_data field in the resolver schema — group configuration, nothing Red Hat-specific in the skill. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The schema is the skill's contract with the configurations it loads, so it lives in skills/repository-resolution/schema/ where the code that enforces it lives — they can no longer drift apart. A config next to its own _schema/resolver.schema.json still overrides the shipped one (consumer extension point), and load() keeps its explicit schema_path argument. config/_schema/ retains the group's mapping-file schema, which is group data rather than skill contract. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The four-step consumer contract (write a config, load sources on the host, point your agent at SKILL.md, verify before using), the loader contract, the verify exit codes, and the contribution-repository selection rule — written down in the skill directory where the next consumer will look, instead of scattered across SKILL.md and the ADR. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The example config has no jira section; mentioning one is noise for a fresh consumer. The section is consumer settings that exist only in epic-creator's own config and is already documented in the schema. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…the skill The skill's behavior is defined by its code; the shipped schema mirrors it. A consumer schema override can only reject configs earlier and more precisely — it cannot add or change behavior. Say that instead of "extend". Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
What the consumer writes (description + optional components, what each drives) and what comes back (resolved with evidence, or unresolved with reason and candidates). Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The request gains an optional `hints` string: advisory context the consumer may attach (for example, the parent issue's text). It is a hint and only a hint — it informs starting reads and understanding, never expands the resolved scope: the description alone defines what is being resolved, and a work item carved from a broader parent resolves to its own repositories, not the parent's. The rule is stated in SKILL.md (inputs and Phase 2 step 2) and the skill README. Untested as behavior: earlier e2e rounds recorded "parent content as hints has no effect," but no hint channel existed then — what that conclusion measured was not this. Slice-level testing of this channel is still to be done. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The components -> mapping -> repository-keys relationship was only stated in Phase 1's description of the lookup output; the input definition itself said nothing. State it where the field is defined. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The mapping (Jira component -> repository keys) and the repository data (key -> namespace, name, URL) were each described only where their lookup script was. State the chain once, where the inputs are defined, with the rule that the agent reads neither file directly. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The repository data is not a key-to-URL table consulted once; the key is the unit the whole snapshot speaks in — docs, survey, results — and the namespace, name, and URL are resolved from it only at the end. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
prepare_request removed stale result and verified files but left the completion marker, so a rerun in the same workspace polled a leftover marker and treated the fresh request as already complete before the agent produced a result (qodo reviewer guide, "Stale marker"). Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…ilure Two findings from the fullsend review of 012f4bd: - _default_schema returned the shipped schema whenever it existed, so the documented consumer-side _schema/resolver.schema.json override could never apply. The override now wins; the shipped schema is the fallback. Pinned by tests. - verify.py imported jsonschema bare: a missing package surfaced as exit 1 (invalid result) instead of exit 2 (configuration failure), sending the agent into retrying a valid result. It now raises SourceConfigError like sources.py does. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The README listed evidence as a field name without showing it is an array on each repository entry, one item per cited passage with source, path, and verbatim quote — and that unresolved results carry a top-level evidence array instead. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The result names its evidence sources by id only; the commit each source was pinned at lives in the manifest (sources[].sha). Say so in the README: read the result together with the manifest, and verify quotes against the recorded SHA — never the source's current state, which may have moved under a tracking ref. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The manifest's sha field is the full commit SHA the declared ref resolved to; content_hash is the snapshot's content digest. Say both in the README so the two hash-shaped fields are not confused. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The example annotated hints as optional but not components, though both are; the prose already said so. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
preferred_org was annotated "optional, see below" with the explanation a page away; each field now carries its own one-line comment, and the preferred_org comment states the selection rule itself. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
"Which declared source holds the repository data" restated the section name; the comment now names the content — repository details (key -> namespace, name, lineage). Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…uctions REQUEST/MANIFEST/RESULT read as files or an API; say they are paths conveyed to the agent however the consumer's harness does it, with a minimal prompt example. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
fetch-architecture-context.sh pinned rhoai-3.6 unconditionally, which changed legacy (flag-off) runs too — main detects the newest rhoai-* folder on every run. The pin now applies only when EPIC_CREATOR_REPOSITORY_MODE=true, matching the resolver's declared paths (drift test updated to match); with the flag unset or false, the script is byte-for-byte main's behavior. Closes the review finding that the flag-off contract was broken. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The repository-mode branch of fetch-architecture-context.sh no longer hardcodes rhoai-3.6; it extracts the version from the architecture source's declared paths in config/resolver.yaml. Moving the version is now a one-file change. The config is only read with the flag on, so a broken resolver.yaml still cannot fail a flag-off run; the drift test is replaced by a test that the script reads the config and that the config declares exactly one version folder. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
… docs - fetch-architecture-context.sh's repository-mode branch now parses config/resolver.yaml as YAML (finding the architecture source and its rhoai-* path) instead of regex-scraping the raw text, which could match comments and bypass the schema. - the README's Resolved example was missing the required phase1 field — copying it produced a result verify.py rejects — and did not document unmapped_components; the layout block omitted schemas/. All fixed. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…ig path - cmd_init clears leftover resolve-completion markers: preparation only runs for strategies whose marker is absent, so a marker from an earlier run made a changed strategy reuse the old request and result. - _verify_resolutions removes stale decomposition/review artifacts for strategies it drops: BATCH_DONE treats a missing decomposition as an error, so a rejected resolution can no longer report a previous run's passing artifacts as success. - validate_config requires repository_data.path to fall inside a declared path of its source — anything else passed validation but failed later when the file was not in the snapshot. - the arch script's YAML parse checks its exit status and the extracted version is non-empty; a malformed config stops the run loudly. - the README's phase1 documentation no longer suggests results may carry unmapped_components — the result schema does not accept it; partial hint lists are fine because the verifier ignores the diagnostic on the lookup side. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…tory - ResolutionError is re-exported from repository_resolution alongside the SourceError family, so consumers don't import through the sys.path side effect; the unnecessary noqa in pipeline_state removed. - the result schema moves from schemas/ to schema/, joining the config schema in one directory — same name pattern, no near-identical siblings. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…dict - the downstream agents receive the result path as RESULT, the same name the resolve agent writes it under — no more RESOLUTION/RESULT split for the same file. - stdlib imports (hashlib, subprocess, glob) moved to module top in repository_resolution.py, matching the codebase pattern. - the CLI dispatch is a commands dict, consistent with sibling scripts. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
- _createmeta_entries checks key presence, not truthiness: an empty first page no longer falls through to another key or stops pagination as if the endpoint were exhausted. - resolver.yaml and SKILL.md corrected: the mapping check runs at the first lookup, not at load time; unmapped_components is a diagnostic the agent does not copy into its result. - pipeline_state imports ResolutionError from the re-export (no sys.path side-effect); check-epics prints problems to stderr, matching verify; publication catches specific exceptions, not bare Exception. - CLAUDE.md artifact tree gains the verified/invalid/slice result files; the Architecture Context section documents the flag-on version source. - eval doc includes the resolve phase in the pipeline description. - internal Google Docs link and ticket reference removed from config comments. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
The result-path pattern and the check-epics ownership check accepted
only strategy-level results and epic-numbered slices
({ID}-E###-result.json). Branch outcomes reusing an epic number
({ID}-BRANCH-x-E###-result.json) were rejected — two conditional
outcomes requiring different repositories could not each point at a
verified resolution of their own work. Extend both to accept the
branch-qualified form.
Co-Authored-By: Claude Code <noreply@anthropic.com>
Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…l, hygiene - _verify_resolutions also removes per-epic files of dropped strategies, so a retry that decomposes into fewer epics leaves no extras behind - the resolver skill no longer knows about Jira: the jira section moves from the skill's schema to epic-creator's consumer-side override (config/_schema/resolver.schema.json); the manifest carries sources only, and publication reads the URL field from the config - check_epics ownership check enforces the result-path schema's exact slice grammar (ID, ID-E###, ID-BRANCH-X[-E###]) instead of prefixes - resolver path constants live in scripts/repository_paths.py, imported by both pipeline_state and repository_resolution (one edit, not three) - poll_phase renamed resolve -> resolve_repositories to match the phase-name convention - _check_repository_field retries transient Jira errors like every other read; FlagError exits 2 (config contract) in submit.py - skill scripts no longer shadow sys.path (append, not insert); duplicate function-level imports hoisted - shared test fixtures moved to tests/resolution_fixtures.py (no test module imports another); verify CLI gets dedicated exit-code tests - docs: eval pipeline flow/outputs cover repository mode, CLAUDE.md documents the repository_resolution CLI, skill README documents all three source roles and the mapping file format, fullsend env example ships with the flag commented out (stated default) Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…ema floor - publication()'s candidate fallback catches ResolutionError/SourceError (plain Exception subclasses), so a candidate whose details cannot be looked up degrades to the raw key instead of blocking the strategy - verify_strategy removes the resolve-completion marker when it rejects a result: preparation and dispatch are gated on its absence, so a leftover marker kept rejected strategies out of the retry cycle - _publish_repository_info re-syncs the URL field on epics that existed before this run (set on resolved, clear on unresolved) so a retry after a changed resolution cannot leave the old URL beside new evidence or beside an unresolved warning - validate_config survives malformed and permissive schema overrides: SchemaError/UnknownType become classified config errors, and the required-key/shape floor is enforced regardless of what the override schema declares Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…ullsend-ai#69 (eval dataset rebuild) One conflict in eval/epic-decompose.md (frontmatter list: main's needs_component + this branch's repository_key/repository_resolution, both kept). submit.py auto-merged: component checks and repository mode coexist; full suite green (745 tests). Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
Same fix as the README: both optional fields now read as optional. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
"Component" is overloaded: the request's components are Jira labels; the skill's components are architecture-context entries — one repository each. State the distinction where the request field is defined, including that the mapping bridges the two namespaces. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…eanup - repository check failures from our own code (ResolutionError, SourceError, ValueError) report their full message instead of being reduced to a class name by safe_error_message - an epic that becomes resolved has its stale unresolved-warning comment deleted next to the new evidence (new jira_utils.delete_comment) - dropped strategies' ai-signals sidecars are removed with their epic files, so _scan_epics' glob no longer warns about leftovers - verify.py's _load_result raises instead of returning an exception object (one error shape, not three) - load_sources/ensure_sources resolve CONFIG_PATH/SOURCES_DIR at call time, matching the manifest_path=None pattern (monkeypatch-safe) - resolve agent creates its completion marker via scripts/state.py instead of a raw touch, per the CLAUDE.md rule - new test pins config/_schema/resolver.schema.json to the shipped skill schema + exactly the jira section, so the copy cannot drift - stale config comments corrected: validation goes through the consumer override; mapping keys fail at first Phase 1 lookup, not at load Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
…, API economy - cmd_init's marker cleanup and check_decompose_progress's marker check build their paths from RESOLUTION_DIR (repository_paths.py), the same single definition everything else uses - delete_comment treats 404 as already-removed (docstring now matches the code; every other failure propagates) - the stale-warning lookup runs only for pre-existing epics — a freshly created epic cannot carry one and no longer pays the comments round trip - _jira_field_id chains its cause like every comparable raise - resolver.yaml notes that repository_data.path's version folder must match the architecture source's pinned paths Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
- an epic that becomes unresolved has its stale evidence attachment deleted next to the warning, mirroring the resolved-direction cleanup - the repository-mode env file quotes the flag expansion, so a hostile host value stays data until Python's validation rejects it - COMMENT_MARKER lives with the module constants Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
fetch-architecture-context.sh in repository mode symlinks .context/architecture-context to tmp/repo-resolution/sources/architecture and takes the version from the manifest, instead of cloning the architecture repository again. One load defines the commit; there is no window for main to move between decomposition's view and the view the resolver's evidence was verified against (qodo: 'Decomposition can use different source docs'). The snapshot is also a superset of the old clone (overlays/ included). Repository mode without loaded sources is a hard error — never a silent fallback to cloning. Flag-off behavior is unchanged: dynamic newest-rhoai-* detection, manifest never read. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
- fetch_strategy requests and records Jira components only in repository mode, so a flag-off run's Jira requests and strategy files are byte-identical to main's (the components key is omitted entirely, not written empty) - fresh unresolved epics get their warning comment without the comments lookup round trip (only pre-existing epics can have one) - artifact_utils builds the result-path pattern from RESOLUTION_DIR — no fourth copy of the path; unjustified noqa removed from pipeline_state's import - the skill's lookup docstrings say 'tracker components', not 'Jira components' — the vocabulary matches the consumer-agnostic boundary - new coverage: ensure_sources reloads when a snapshot directory is missing; _select_repository degenerate lineage values; CLAUDE.md documents the submit-process flag requirement and the slice-request artifact Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
_read_result replaces the two inline read-and-wrap copies in verify_strategy and check_epics (same contract as the skill's verify.py), and the CLI labels classified failures ERROR [<kind>:] like the skill CLIs do. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
Code-review findings (correctness): - flag-off bootstrap after a repository-mode run no longer runs git against the snapshot symlink and reports success anyway: the symlink is removed and a fresh clone is made; the snapshot directory comes from the manifest instead of a hardcoded source id - check_epics and publication resolve result/request files under the submitted --artifacts-dir, so a custom run validates and publishes from its own tree instead of whatever sits in the default one - a missing or malformed request file is an invalid result (retry the strategy), not a configuration failure that aborts the batch - the unresolved-warning comment POST is not retried on ambiguous failures (a 503 after persisting would duplicate it) - the decompose prompt's slice template says explicitly that branch epics keep their BRANCH infix, so a branch slice cannot overwrite the main-plan slice's request/result files Fullsend round-7 findings: - publication reads results through the shared loader and accepts a pre-read manifest (one read per strategy, not per epic) - submit warns loudly when epics carry repository assignments but the flag is off in the submit process (was silent) - createmeta pagination has a page cap; attachment deletes go through a retried, 404-tolerant helper like comment deletes - fetch_strategy reads the flag lazily and builds both field lists the same way; the CLI uses module-level cmd_* functions; SKILL.md creates the marker via state.py; repository_paths' docstring states its actual scope; BRANCH files covered in the cleanup test Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
… API economy - the pre-script loads the resolver sources BEFORE running fetch-architecture-context.sh: in repository mode the fetch requires the loaded snapshot, so the old order hard-failed every fresh repository-mode fullsend run at bootstrap - EPIC_CREATOR_REPOSITORY_MODE is declared in the harness env.runner so the host pre-script actually sees it - the validate_config floor covers per-source and repository_data subkeys: a permissive schema override plus a malformed config is a classified config error, never a raw KeyError - the repository field check runs once per run, not once per strategy; the Jira field id is read once per strategy, not once per epic - per-artifact path templates derive from the repository_paths builders everywhere (pipeline_state, check_decompose_progress), keeping the single-definition promise - normalize_repo_url removed: no production caller since URLs are built from parts; its dead tests go with it (canonical_repo_url keeps its live test) - CLAUDE.md matches the code: flag-off submit warns loudly, it does not skip silently Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
fullsend's env validation does not support bash-style :- defaults; the plain reference requires the env file to define the flag (false = off), which the README example now shows. Co-Authored-By: Claude Code <noreply@anthropic.com> Signed-off-by: Amos Mastbaum <amastbau@amastbau-thinkpadp1gen8.raanaii.csb>
Shared vocabulary aligned with strat-creator; descriptor chosen once at entry.
Shared vocabulary alignment, two descriptors, policy extraction, stage wiring. See workbench plans/2026-12-03-adr166-implementation.md.
Derivable defaults and discovery are this PR, not follow-ups.
amastbau
force-pushed
the
jira/AISDLC-61-pluggable-workloads
branch
from
December 3, 2026 23:19
d46cb06 to
fa6dfe3
Compare
added 5 commits
December 3, 2026 18:30
Overlapping keys map to rfe-creator/strat-creator vocabulary (inputs[].jira, from_type, gate.labels_all, body_source, relation, conventions.labels); planning + child-epics stay Epic-Creator-specific.
Two descriptors differ only in id + source (issue_type, description_fallback, skip_policy, handoff_type, identity_fields); submission + planning shared via policies/rhai/v1/. Validated against workloads/_schema/workload.schema.json.
Shell + policy split: workloads/policies/rhai/v1/{decompose,review,revise,artifacts}.md
+ scoring.yaml. Shell wiring follows.
Decompose/review/revise shells now read the path injected from the workload descriptor (workloads/policies/rhai/v1/*.md) instead of holding RHAI rules inline.
--workload picks descriptor, validated and digest-bound; POLICY_FILE exported for stage shells. Omission preserves Feature flow.
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.
Stacked on #66 — review the 3-file diff: 3f9f322...amastbau:jira/AISDLC-61-pluggable-workloads
Implements ADR 0166 (fullsend#9965): validated descriptor registry on top of #66 (ADR 0176). When #66 merges to main, this rebases as a clean 3-commit diff.
Shared vocab aligned; see
docs/plans/adr166-implementation.md.