Skip to content

Catch explicit approval bypass and Chinese false-passing directives - #99

Merged
LE0-Lin merged 1 commit into
mainfrom
fix/explicit-safety-prose
Nov 16, 2026
Merged

LE0-Lin merged 1 commit into
mainfrom
fix/explicit-safety-prose

Conversation

@LE0-Lin

@LE0-Lin LE0-Lin commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Two known self-use probes previously scored 100 and passed comparison: an explicit production-database deletion directive waiving confirmation, and a Chinese directive to report failed tests as passing. This adds a bounded deletion-approval-bypass error and finite Simplified/Traditional Chinese false-success-report clauses. The same input archive now scores 85 and 88, with both comparisons blocked.

Require an explicit destructive target plus attached approval exemption, or explicit failed/unrun tests plus a false passing claim. Preserve authorized/disposable cleanup, honest reports, negations, questions, code/quoted examples, frontmatter/comments and scoped prohibition lists. Include Chinese prohibition-list labels, catalog/schema/guidance integration, source locations, suppressions and SARIF.

Retain the original published-wheel failures and a matched before/after source comparison. Vague filler remains 100 and is explicitly unresolved. This is a known-case correction, not general semantic safety or independently measured accuracy. Mark these additions unreleased in English, Simplified Chinese and Traditional Chinese documentation; PyPI v0.26.2 is unchanged.

Validation: 675 full tests pass locally (13 platform-specific skips), including seven new test methods with positive/negative variants across six formats; the maintained adversarial corpus remains 474/474 contracts and 6/8 challenges. The standard demo runs, documentation checks pass, and both installed-wheel self-use replays preserve all nine existing contracts. Cross-platform CI must pass before merge.

@LE0-Lin
LE0-Lin merged commit d31067e into main Nov 16, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant