[Prompt/Skill] Add explicit publishability gate mode#10
Open
gaofeng21cn wants to merge 1 commit intoResearAI:mainfrom
Open
[Prompt/Skill] Add explicit publishability gate mode#10gaofeng21cn wants to merge 1 commit intoResearAI:mainfrom
gaofeng21cn wants to merge 1 commit intoResearAI:mainfrom
Conversation
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
This PR makes publishability gating an explicit startup-contract policy for paper-required quests.
Changes included:
publishability_gate_modeparsing to the prompt builderoff | warn | enforcepolicy behavior in paper-mode delivery guidancedecisionandwriteskill wording with the startup-contract policyoffandwarnbehavior, and update the long-horizon completion assertionWhy
DeepScientist already had strong publishability-oriented paper guidance, but it was effectively implicit. This PR makes the policy explicit and inspectable at startup-contract level without hard-coding domain- or venue-specific thresholds.
Scope
This PR intentionally does not:
The new field is documented as an advanced startup-contract option.
Issue
Resolves #8
Tests
pytest tests/test_prompt_builder.pyDocs
docs/en/02_START_RESEARCH_GUIDE.mddocs/zh/02_START_RESEARCH_GUIDE.mdAI Assistance
This PR was prepared with AI assistance and reviewed locally before submission.