Repository navigation
docs(rfc): propose decision policy governance - #1770
Merged
Merged
Conversation
Define the shared policy, shadow, audit, replay, and promotion contract for narrow DecisionModel gates before implementing additional consumers.
Rename the decision policy governance RFC files to match PR oceanbase#1770 and update the RFC PR metadata links.
Lore: Keep query rewriting, projection safety, and context receipts outside DecisionModel authority while requiring replayable shadow evidence before activation. Constraint: Preserve Scope resolution, authorization, Artifact history, and domain authority; this RFC-only change adds no runtime API or provider implementation. Tested: git diff --check; bilingual heading and local RFC-link checks; website lint and 11 tests; static export verification of 879 public pages and internal links. Not-tested: prek reaches pre-existing Windows Unix-only ty diagnostics outside the changed Markdown files. Co-authored-by: OmX <omx@oh-my-codex.dev>
This was referenced Oct 10, 2026
6 tasks
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.
Which issue or RFC does this PR close?
Refs #1649, #1643, #1644, #1645, #1647, #1648, #1742, and #1745.
This is an RFC-only PR and closes none of those implementation or evaluation issues.
Rationale for this change
The DecisionModel foundation has landed, and several follow-up issues are now exploring narrow gates around Memory, Handoff, Experience, Skill, and conflict detection. Before adding more consumers, PowerContext needs one shared contract for policy identity, shadow/advisory/enforcing modes, audit observations, replay/rescore, privacy boundaries, and promotion criteria.
Hermes-memory research also identifies adjacent recall helpers that are useful only with clear authority boundaries. This RFC now records how query preparation, projection safety, and a non-prompt Context Receipt can support recall without becoming a DecisionModel verdict or changing authoritative evidence.
What changes are included in this PR?
docs/en/rfcs/1770-decision-policy-governance.md.docs/zh/rfcs/1770-decision-policy-governance.md.DecisionPolicy,DecisionAssessment, andDecisionObservationas design concepts.Are there any user-facing changes?
No runtime behaviour changes. This PR changes documentation only. It adds no public API, OpenAPI field, persisted schema, dependency, model-provider implementation, query rewriter, projection filter, or Context Receipt persistence.
How was this change tested?
git diff --checkpassed.uv run --no-sync prek run --files docs/en/rfcs/1770-decision-policy-governance.md docs/zh/rfcs/1770-decision-policy-governance.mdpassed Markdown and whitespace hooks, then reached globalty check, which reported 32 existing Windows Unix-only diagnostics insrc/powercontext/builtin/code/*and related tests, outside these Markdown files.pnpm lintandpnpm testpassed (11/11).pnpm verify:exportpassed after the static build: 879 public pages and their internal links were verified (109 HTTP API, 426 Python API, 96 RFC, 23 development).make docs-testremains unavailable on this host because its Git Bash shell does not resolve Windowspnpm.cmd; the directpnpmcommands above were used instead.AI usage statement
Implemented with OpenAI Codex in the Codex desktop app, based on the Hermes/Jev/Laya/OpenClaw investigation notes and repository-local RFC/PR inspection.