Add missing_data safe output type for reporting data gaps#9324
Merged
Add missing_data safe output type for reporting data gaps#9324
Conversation
- Created pkg/workflow/missing_data.go with config struct and parser - Added MissingData field to SafeOutputsConfig in compiler_types.go - Added parsing logic in safe_outputs_config.go to auto-enable missing_data - Implemented buildCreateOutputMissingDataJob function - Added comprehensive tests in missing_data_test.go - All tests passing Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Created actions/setup/js/missing_data.cjs handler - Created actions/setup/js/create_missing_data_issue.cjs handler - Added handlers to safe_output_handler_manager.cjs - Added comprehensive tests for missing_data handler - All JavaScript tests passing - Code formatted and linted Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
|
@pelikhan: This is great! Exactly the kind of tooling we need to establish more trust on developer side for data-related agent things. 🚀 |
- Updated docs/src/content/docs/reference/safe-outputs.md - Added missing_data to system types list - Added detailed section explaining missing_data functionality - Included rich description that encourages AI truthfulness - Documented configuration options and use cases Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Added missing-data schema definition in main_workflow_schema.json - Added config generation logic in safe_outputs_config_generation.go - Added missing_data to enabled tools list - Tested workflow compilation successfully - missing_data now appears in compiled workflow configuration Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Implementation complete: - Go backend with config parsing and job builder - JavaScript handlers for recording and issue creation - Schema validation with JSON schema - Configuration generation for MCP tools - Comprehensive tests for Go and JavaScript - Documentation with rich truthfulness encouragement - All feature tests passing The missing_data safe output type allows AI agents to report missing data required to achieve goals, encouraging truthfulness over hallucination. Agents can be honest about data gaps instead of inventing information, leading to more reliable outputs. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add new safe output type for missing data reporting
Add missing_data safe output type for reporting data gaps
Jan 8, 2026
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.
Adds
missing_datasafe output type to allow AI agents to report missing data required to complete tasks, encouraging truthfulness over hallucination.Implementation
Backend (Go)
pkg/workflow/missing_data.go- Config struct, parser, job builder followingmissing_toolpatternsafe-outputsconfigured (can be disabled withmissing-data: false)main_workflow_schema.jsonFrontend (JavaScript)
actions/setup/js/missing_data.cjs- Records missing data reports with validationactions/setup/js/create_missing_data_issue.cjs- Creates/updates GitHub issues with contextDocumentation
Configuration
Agent Output Format
{ "type": "missing_data", "data_type": "user_preferences", "reason": "Database not accessible", "context": "Needed for dashboard customization", "alternatives": "Could use defaults" }Required fields:
data_type,reasonOptional fields:
context,alternativesWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/user/usr/bin/gh gh api user --jq .login /repos/actions/github-script/git/ref/tags/v8 --jq /usr/bin/git b/workflows GO111MODULE 64/bin/go git -C /home/REDACTED/work/gh-aw/gh-aw/.github/workflows(http block)/usr/bin/gh gh api user --jq .login /ref/tags/v8 --jq(http block)/usr/bin/gh gh api user --jq .login /run/containerd/io.containerd.runtime.v2.task/moby/8374908e0a0c032b563bb42d5d54ec6174667d66208bbe2175fc9fbc7eebf7d7/init.pid 8374908e0a0c032b563bb42d5d54ec6174667d66208bbe2175fc9fbc7eebf7d7(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.