← Back to Pull requests

[18.0][ADD] project_dms_field: add DMS field for projects #480

Closed
windweaver828 closed this pull request without merging on Nov 08, 2026 17:27 UTC
View on GitHub
windweaver828 windweaver828 commented on Jun 03, 2026 21:43 UTC
Author

Add a DMS field integration for project.project, similar to hr_dms_field.

This module adds a Documents tab on the project form and allows DMS field templates to generate project-specific directory structures.

Included:

  • project.project integration with dms.field.mixin

  • Project form Documents tab

  • Demo DMS template and access group

  • Tests covering directory creation, project manager access group updates, and cleanup on unlink
  • Tested:

  • pre-commit run --files project_dms_field/...

  • Python syntax check

  • XML validation
  • Diff: 69 lines (+51 / -18) across 1 files Reviewer: None requested Review duration: 227263m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.58)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 69 lines diff across 1 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    57%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.289
    Diff Size diff_size
    0.254
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Real PR Conversation Timeline
    1 comments
    "Review active on #480"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    windweaver828 windweaver828
    Labels
    risk: low confidence: 58.0% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 40.4% (MEDIUM) · Higher = larger blast radius
    40.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 58.0% · Lower = rushed or shallow review
    58.0%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 17.0% · Safe to merge
    17.0%
    Repository