Add consumer-agent investigation HTML handoff - #8
Merged
Conversation
Agents emit a small JSON+HTML report under .pickleball/investigations/<id>/ after the live isolation loop and one diagnostic rerun. DiagnosticCli emit-investigation and workbench_investigation_emit write the pair, link at most two existing screenshots, and print only the relative report.html path. export-guidance leaves investigations unmanaged. Co-authored-by: ds-code-t <ds-code-t@users.noreply.github.com>
export-guidance copies docs/agent/repository-index.md into the version-matched guidance snapshot; keep that packaged copy current. Co-authored-by: ds-code-t <ds-code-t@users.noreply.github.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
After a live isolation loop and one diagnostic
mvn test, a consumer agent can emit a small human handoff under the consumer project:In chat the agent prints only the project-relative
report.htmlpath. JSON is the source of truth. HTML renders that JSON plus at most two screenshots linked from the existing diagnostic pack. The diagnostic run is not copied,pkb_diagnostic_outputis unchanged, and there is no PDF.Functionality-change coverage
AGENTS.mdand the relevant feature-map entry.docs/agent/feature-map.mdremains accurate.docs/agent/repository-index.mdis current.Implementation
InvestigationHandoffinpickleball-control-protocolso DiagnosticCli and Workbench emit identical reports without giving Workbench a core Pickleball dependency.DiagnosticCli emit-investigation <investigation-json-or--> <consumer-project-root>writes the pair and prints the relative HTML path.workbench_investigation_emiton the sameWorkbenchServices/WorkbenchControllerseam asworkbench_diagnostic_catalog. Sparse result:{ "reportPath": "..." }.export-guidancenever manages or deletes.pickleball/investigations/..pickleball/investigations/<id>/report.html. No GUI Workbench /ui ./attach.json.Validation
Did not run
@all.python3 scripts/verify_agent_contract.pypython3 scripts/refresh_agent_index.py --checkpython3 scripts/sync_consumer_guidance.py --check./gradlew test./gradlew publishToMavenLocal./maven-consumer-project/mvnw -f maven-consumer-project/pom.xml -U test -Dpkb_runvars.pkb_browser=CHROME_HEADLESS -Dpkb_runvars.pkb_tags=@diagnostic-reporting