Skip to content

feat(review): add improvementSignal converged-feature activation - #4753

Merged
JSONbored merged 1 commit into
mainfrom
feat/improvement-signal-activation-4738
Jul 10, 2026
Merged

feat(review): add improvementSignal converged-feature activation#4753
JSONbored merged 1 commit into
mainfrom
feat/improvement-signal-activation-4738

Conversation

@JSONbored

@JSONbored JSONbored commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Summary

Scope

  • The PR title follows type(scope): short summary Conventional Commit format, for example fix(api): restore profile access checks.
  • This PR is focused and does not mix unrelated backend, UI, MCP, docs, dependency, and deploy changes.
  • This follows CONTRIBUTING.md and does not reintroduce GitHub Pages, VitePress, site/, or CNAME.
  • I linked a currently open issue this PR resolves (e.g. Closes #123) — a linked open issue is required for every contributor PR.

Validation

  • git diff --check
  • npm run actionlint
  • npm run typecheck
  • npm run test:coverage locally; codecov/patch requires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.
  • npm run test:workers
  • npm run build:mcp
  • npm run test:mcp-pack
  • npm run ui:openapi:check
  • npm run ui:lint
  • npm run ui:typecheck
  • npm run ui:build
  • npm audit --audit-level=moderate
  • New or changed behavior has unit/integration tests for new branches, fallback paths, and sanitizer boundaries

If any required check was skipped, explain why:

  • Nothing in the checklist above was skipped. Beyond it, I additionally ran the full npm run test:ci
    step list end to end: db:migrations:check, db:schema-drift:check, selfhost:env-reference:check,
    selfhost:validate-observability, cf-typegen:check, test:engine-parity, test:driver-parity, the
    @jsonbored/gittensory-engine workspace's own test suite, test:miner-pack, rees:test,
    ui:openapi:settings-parity (confirms zero RepositorySettings/OpenAPI drift — this PR intentionally
    does not touch that surface, see Notes), ui:version-audit, manifest:drift-check,
    engine-parity:drift-check, command-reference:check, docs:drift-check, and ui:test — all green.
    feature-activation.ts and the new improvement-signal-wire.ts are both at 100% line and branch
    coverage on this diff (verified against the raw coverage/lcov.info, not just the terminal summary).
    One unrelated, pre-existing ui:test failure surfaced in a local sandbox run
    (onboarding-preview-card.test.tsx, a window.localStorage TypeError) — confirmed byte-identical to
    main (not part of this diff) and root-caused to this sandbox's Node runtime (v26) differing from the
    repo's .nvmrc-pinned Node 22; passing NODE_OPTIONS=--localstorage-file=... makes all 5 of its tests
    pass, confirming it is a local Node-version artifact rather than a real regression.

Safety

  • No secrets, wallet details, hotkeys, coldkeys, user PATs, private keys, raw trust scores, private rankings, or private maintainer evidence are exposed.
  • Public GitHub text stays sanitized, low-noise, and does not imply compensation guarantees or optimization tactics.
  • Auth, cookie, CORS, GitHub App, Cloudflare, or session changes include negative-path tests. — not applicable, no auth/session/CORS/Cloudflare-binding surface touched (only a vars default added).
  • API/OpenAPI/MCP behavior is updated and tested where needed. — not applicable, no API route or schema changed; ui:openapi:check and ui:openapi:settings-parity both confirm zero drift.
  • UI changes use live API data or real empty/error/loading states, not production mock/demo fallbacks. — not applicable, the two docs-page edits are static prose, no data fetching involved.
  • Visible UI changes include a UI Evidence section below with JPG/JPEG or PNG screenshots. — see Notes: this session's preview tooling could not reach this worktree, so no fresh screenshot was captured.
  • Public docs/changelogs are updated where needed; changelogs are only edited for release-prep PRs.

UI Evidence

Not captured. The only UI-adjacent changes are one new <li> entry in docs.tuning.tsx and one new
line in an existing <CodeBlock> in docs.privacy-security.tsx, each mirroring the exact structure of
the six adjacent sibling entries already live on those pages (documenting GITTENSORY_REVIEW_E2E_TESTS,
GITTENSORY_REVIEW_GROUNDING, etc.) — required by docs:drift-check's exhaustive feature-flag
cross-check, not a new visual state or layout. This session's preview/browser tooling was bound to a
worktree path outside this PR's own working tree, so a live screenshot could not be captured without
touching another session's directory; npm run ui:build did compile both edits cleanly with no
type/lint errors.

Notes

Config-as-code foundation for the PR improvement signal (#4738, sub-issue
of epic #4737): registers improvementSignal as a standard ConvergedFeatureKey
alongside rag/reputation/unifiedComment/safety/grounding/e2eTests, resolved
through the existing shared feature-activation core rather than a bespoke
wire file. Global default OFF via GITTENSORY_REVIEW_IMPROVEMENT_SIGNAL, with
a per-repo features.improvementSignal true/false/null override in
.gittensory.yml layered on top of that kill-switch, mirroring the e2eTests
plain-symmetric-override shape (no force-on/force-off asymmetry, since this
is a read-only advisory signal, not a security control).

This is activation wiring only -- no tier reads the resolved value yet;
sibling sub-issues build the deterministic, LLM, and panel behavior that
will gate on it.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
gittensory-ui 61bd85d Commit Preview URL

Branch Preview URL
Jul 10 2026, 11:03 PM

@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.22%. Comparing base (2d6377c) to head (61bd85d).
⚠️ Report is 5 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4753   +/-   ##
=======================================
  Coverage   94.22%   94.22%           
=======================================
  Files         440      441    +1     
  Lines       38715    38716    +1     
  Branches    14103    14104    +1     
=======================================
+ Hits        36479    36480    +1     
  Misses       1576     1576           
  Partials      660      660           
Files with missing lines Coverage Δ
packages/gittensory-engine/src/focus-manifest.ts 99.11% <100.00%> (ø)
src/review/feature-activation.ts 100.00% <ø> (ø)
src/review/improvement-signal-wire.ts 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@loopover-orb loopover-orb Bot added gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier. labels Jul 10, 2026
@loopover-orb

loopover-orb Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Warning

🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨

⏸️ Gittensory review result - manual review recommended

Review updated: 2026-07-10 23:17:26 UTC

13 files · no blockers · readiness 100/100 · CI green · clean

⏸️ Suggested Action - Manual Review

  • AI review already in progress for this PR head: Another Gittensory pass is already running the AI review for this exact PR head. This pass is skipping to avoid a duplicate LLM call.

Review summary
AI review is already running for this PR head in another Gittensory pass. Gittensory is holding this PR for manual review until that pass completes.

Nits — 2 non-blocking
  • PR author also opened the linked issue — Link an issue that was opened by a different contributor, or provide a rationale for why this self-authored issue represents genuine discovery work.
  • AI review already in progress for this PR head — The gate is held for a human reviewer rather than passed automatically; it re-evaluates once the in-flight review completes or on the next update.
Signal Result Evidence
Code review ✅ No blockers No AI review summary
Linked issue ✅ Linked #4738
Related work ✅ No active overlap found No same-issue or scoped active PR overlap found.
Change scope ✅ 20/20 Low review scope from cached public metadata (1 linked issue).
Validation posture ✅ 25/25 PR body includes validation/test evidence.
Contributor workload ✅ 10/10 Author activity: 48 registered-repo PR(s), 40 merged, 285 issue(s).
Contributor context ✅ Confirmed Gittensor contributor JSONbored; Gittensor profile; 48 PR(s), 285 issue(s).
Gate result ⚠️ Not blocking Advisory; not blocking this PR.
Linked issue satisfaction

Partially addressed
The PR registers improvementSignal as a standard ConvergedFeatureKey, adds the env kill-switch, wires resolveConvergedFeature, documents the .gittensory.yml block, and adds resolution-matrix tests, but it omits the issue's explicitly required RepositorySettings DB column/Drizzle migration and OpenAPI regeneration for the per-repo override, and it exposes the override under features.improvementSign

Review context
  • Author: JSONbored
  • Role context: owner (maintainer lane)
  • Public audience mode: oss maintainer
  • Lane context: Repository is configured for direct PR review.
  • Public profile languages: Python, TypeScript, JavaScript, Ruby, Go, Kotlin, MDX, Shell
  • Official Gittensor activity: 48 PR(s), 285 issue(s).
  • PR-specific overlap: none found.
Contributor next steps
  • Treat this as maintainer-lane context rather than normal contributor-lane activity.
Signal definitions
  • Related work = same linked issue, overlapping active PRs, or title/path similarity.
  • Change scope = cached public metadata such as size labels, draft state, and review-burden hints.
  • Validation posture = whether the PR provides enough public validation/test evidence for maintainer review.
  • Contributor workload = public contributor activity and cleanup pressure, not a repo-wide quality failure.
  • Contributor context = public GitHub/Gittensor identity context; non-Gittensor status is not a blocker.
Visual preview
Route Viewport Before (production) After (this PR's preview) Diff
/docs/privacy-security desktop before /docs/privacy-security after /docs/privacy-security
/docs/privacy-security mobile before /docs/privacy-security (mobile) after /docs/privacy-security (mobile)
/docs/tuning desktop before /docs/tuning after /docs/tuning
/docs/tuning mobile before /docs/tuning (mobile) after /docs/tuning (mobile)

Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy.

🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed


💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →.

Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.

  • Re-run Gittensory review

@loopover-orb loopover-orb Bot added the manual-review Gittensor contributor context label Jul 10, 2026
@JSONbored
JSONbored merged commit c3ea28f into main Jul 10, 2026
13 checks passed
@JSONbored
JSONbored deleted the feat/improvement-signal-activation-4738 branch July 10, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier. manual-review Gittensor contributor context

Development

Successfully merging this pull request may close these issues.

Config-as-code foundation: improvementSignal as a converged feature (global + per-repo)

1 participant