Skip to content

Post-GA follow-up: green the lint/policy gates + PATCH docs + TRACKER (after #194)#195

Merged
officialCodeWork merged 3 commits into
mainfrom
chore/post-ga-followup-green-gates
Jun 18, 2026
Merged

Post-GA follow-up: green the lint/policy gates + PATCH docs + TRACKER (after #194)#195
officialCodeWork merged 3 commits into
mainfrom
chore/post-ga-followup-green-gates

Conversation

@officialCodeWork

Copy link
Copy Markdown
Owner

Why this PR

#194 was merged at its 6-commit state, before three follow-up commits landed. Those commits make the quality gates pass and add the docs/TRACKER updates, so this PR brings them into main.

⚠️ main's gates are currently red without this PR — at the merged state, ruff check fails (UP017 + formatting in the shipped corpus/webhook code) and pytest fails (the PolicyEngine coverage linter flags scripts/demo/safety_demo.py, which deliberately bypasses the policy engine to demo the injection guard). This PR is the fix.

What's in it

Commit Type What
6f384e0 docs Corpus + webhook PATCH endpoints in gateway.md / webhooks.md
2665a53 chore Green the gates — exclude scripts/demo (GTM tooling) from ruff + the policy-coverage linter; ruff format + UP017 on the shipped code
f16831e docs TRACKER — flip Step 3.10 PATCH to done, add the post-GA batch entry, refresh the status block

Verification — all gates green (local; CI billing-blocked)

Gate Result
ruff check + ruff format --check ✅ clean
mypy --strict (packages/ + apps/gateway/) ✅ 333 files, no issues
pytest (full, -m 'not perf') ✅ pass, incl. PolicyEngine coverage linter
proto / openapi / schema drift ✅ clean
admin-UI tsc · eslint · vitest · next build ✅ tsc clean, 0 eslint warnings, 46/46 vitest, build OK

🤖 Generated with Claude Code

Deep Kumar Singh Kushwah and others added 3 commits June 19, 2026 02:52
Add the PATCH /v1/corpora/{id} and PATCH /v1/webhooks/subscriptions/{id}
update routes to the gateway + webhooks references (summary tables + a corpus
PATCH section with curl example): partial-update semantics, immutable embedding
fields / masked signing secret, 200 + 404 invisibility rule.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- exclude scripts/demo (GTM slide builders + adversarial safety demos) from
  ruff and from the PolicyEngine coverage linter — demo tooling, not shipped
  code; safety_demo.py deliberately bulk_indexes a poisoned chunk to show the
  injection guard catching it, so it has no PolicyEngine call site by design
- apply ruff UP017 (datetime.UTC) + ruff format to the shipped corpus/webhook
  update code (pg_corpus_store, noop stores, pgvector, test_corpora)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Flip the Step 3.10 'update (PATCH) deferred' note to done, add a post-GA
batch entry to Recently shipped, refresh the Status block + Last updated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@officialCodeWork
officialCodeWork merged commit 142fb83 into main Jun 18, 2026
13 of 23 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