Skip to content

test(config): lock in review.culture_profile parser for dashboard config (#1683)#4437

Merged
loopover-orb[bot] merged 1 commit into
JSONbored:mainfrom
luciferlive112116:test/culture-profile-config-1683-v2
Jul 9, 2026
Merged

test(config): lock in review.culture_profile parser for dashboard config (#1683)#4437
loopover-orb[bot] merged 1 commit into
JSONbored:mainfrom
luciferlive112116:test/culture-profile-config-1683-v2

Conversation

@luciferlive112116

Copy link
Copy Markdown
Contributor

Closes #1683

Summary

  • Add a config-templates inventory test that locks in the shipped review.culture_profile parser plumbing the dashboard generator must share: docs entry in gittensory.full.yml, manifest parse round-trip, and resolveReviewPromptOverrides boolean helper (unset → false).

Validation

  • npx vitest run test/unit/config-templates.test.ts

UI Evidence

N/A — test-only.

…fig (Closes JSONbored#1683)

Co-authored-by: Cursor <cursoragent@cursor.com>
@superagent-security

Copy link
Copy Markdown
Contributor

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

@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.95%. Comparing base (fb7b5c7) to head (7679493).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4437   +/-   ##
=======================================
  Coverage   93.95%   93.95%           
=======================================
  Files         412      412           
  Lines       37212    37212           
  Branches    13591    13591           
=======================================
  Hits        34963    34963           
  Misses       1594     1594           
  Partials      655      655           
🚀 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. gittensor:priority Maintainer-selected Gittensor priority — scores a 1.5x multiplier. labels Jul 9, 2026
@loopover-orb

loopover-orb Bot commented Jul 9, 2026

Copy link
Copy Markdown

Tip

🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

✅ Gittensory review result - approve/merge recommended

Review updated: 2026-07-09 18:45:21 UTC

1 file · 1 AI reviewer · no blockers · readiness 100/100 · CI green · clean

✅ Suggested Action - Approve/Merge

  • safe to merge

Review summary
This adds one more repetitive test case following the exact established pattern (changed_files_summary, effort_score, impact_map) to lock in the review.culture_profile config field: docs presence in gittensory.full.yml, parseFocusManifest default/round-trip, resolveReviewPromptOverrides boolean coercion, and reviewConfigToJson serialization. CI is green including codecov/patch, and the test structure mirrors sibling tests verbatim, which is strong evidence cultureProfile is a real, already-shipped field in src/signals/focus-manifest.ts rather than a fabricated assertion — I can't see that file's source in this diff/context to confirm the field definition directly, but the pattern match and passing suite make that low-risk. The bigger open question is issue-scope: #1683 is titled as a dashboard config-generator design issue, and this PR only adds a test for existing culture_profile plumbing rather than the generator itself — worth confirming this is intentional incremental groundwork rather than a mismatched close.

Nits — 4 non-blocking
Signal Result Evidence
Code review ✅ No blockers 1 reviewer
Linked issue ✅ Linked #1683
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: 155 registered-repo PR(s), 63 merged, 35 issue(s).
Contributor context ✅ Confirmed Gittensor contributor luciferlive112116; Gittensor profile; 155 PR(s), 35 issue(s).
Gate result ✅ Passing No configured blocker found.
Linked issue satisfaction

Not yet addressed
The issue asks for a design/product spec, data model/API plan, security notes, and implementation breakdown for a dashboard config generator, but the PR only adds a unit test locking in existing `review.culture_profile` parsing behavior with no dashboard design, workflow, or API artifacts.

Review context
  • Author: luciferlive112116
  • Role context: outside_contributor
  • Public audience mode: oss maintainer
  • Lane context: Repository is configured for direct PR review.
  • Public profile languages: not available
  • Official Gittensor activity: 155 PR(s), 35 issue(s).
  • PR-specific overlap: none found.
Contributor next steps
  • Keep the PR focused and include validation evidence before maintainer review.
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.

🟩 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 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gittensory approves — the gate is satisfied and CI is green.

@loopover-orb
loopover-orb Bot merged commit a51dadb into JSONbored:main Jul 9, 2026
9 checks passed
@loopover-orb loopover-orb Bot added gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. and removed gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier. gittensor:priority Maintainer-selected Gittensor priority — scores a 1.5x multiplier. labels Jul 9, 2026
@JSONbored JSONbored added gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier. gittensor:priority Maintainer-selected Gittensor priority — scores a 1.5x multiplier. and removed gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. labels Jul 9, 2026
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. gittensor:priority Maintainer-selected Gittensor priority — scores a 1.5x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(dashboard): design self-host review config generator

2 participants