Skip to content

Keep residual expiration policies unresolved instead of defaulting - #34

Merged
Daniele-Cangi merged 1 commit into
mainfrom
codex/expiration-policy-residuals
Oct 9, 2026
Merged

Daniele-Cangi merged 1 commit into
mainfrom
codex/expiration-policy-residuals

Conversation

@Daniele-Cangi

Copy link
Copy Markdown
Owner

Scope

Follow-up to the residuals reported in issue #32, based on merged main ffece8e.
The strict threshold extractor is unchanged. Unsupported policies remain unresolved, never converted or defaulted to 90 days.

Detection-only changes:

  • Recognize cardinal number words and day/week/month durations; no value inference or unit conversion.
  • Remove the arbitrary 100-character gap limit while retaining punctuation and coordination property boundaries.
  • Permit paired subordinate comma insertions only when an expiration comparison resumes immediately afterward. Ordinary comma-separated retention remains excluded.

Evidence

  • Regression-first: 8 new source-traceability cases failed before the fix; 19 negative controls passed.
  • Numeric suite: 99 passed, 12 real Docker cases locally skipped (5 new reported residual examples exercise generation, validation and packaging refusal).
  • Compatibility: 290 passed (compiler, fidelity, quality scoping, conditional obligations, requirement preservation).
  • Additional recognized-prefix/separate-policy tests: 9 passed.
  • Independent peer review: 61 passed, no blocking findings in the declared scope.
  • Ruff F/E9 and git diff --check passed.
  • Frozen V11 baseline SHA256 unchanged: 6f986fdf24ccdf89d2c9563d83e05f1534dce2a4270cb5decf0b39127659179d.

CI must verify the complete suite and Docker-backed gate on this commit. No model API calls, blind rescores, new domains, retries, README edits or architecture changes.

Limits

This is bounded deterministic detection, not universal natural-language interpretation. Other parenthetical constructions and number vocabularies are not proven covered. Removing the gap cap has quadratic behavior on synthetic repeated expiration predicates without a duration (peer measurement: about 1.9s at 11,000 characters); no real-corpus performance issue observed. The external developer's full 48-template matrix was not independently rerun here.

Refs #32; do not automatically close the issue as universally solved.

@Daniele-Cangi
Daniele-Cangi merged commit 669d630 into main Oct 9, 2026
7 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