Home / Market / issue grievance tracker

issue grievance tracker

Grievance register: issue type, raised by or anonymous, person or team concerned, department, date raised, policy reference, severity, assignee, action taken and status. Use for complaint handling.

skill★ 508360 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: issue-grievance-tracker description: 'Grievance register: issue type, raised by or anonymous, person or team concerned, department, date raised, policy reference, severity, assignee, action taken and status. Use for complaint handling.' category: business risk: safe source: self source_type: self date_added: "2026-09-26" author: WHOISABHISHEKADHIKARI tags: [sme, business, operations, database, csv, notion, sql, manage] tools: [] source_repo: WHOISABHISHEKADHIKARI/sme-ops-system-builder

---

Issue & Grievance Tracker

What it is: Code of Conduct issues, internal complaints and workplace problems.

Overview

Works out the smallest useful Issue & Grievance Tracker setup for the business in front of it, then builds it only when asked. The default output is a short recommendation, not a spreadsheet. Artifacts - CSV, SQL DDL, JSON Schema, Notion mapping - are produced on request, from one field list so they cannot drift apart.

Layer: Layer 4: Manage. Fits: Starter stage. Table code: n/a.

When to Use This Skill

Also use it when the user says "code of conduct issues, internal complaints and workplace problems", or describes the same process happening in a spreadsheet, a document or someone inboxes.

Do not use it for: payroll calculation, tax filing, or legal advice. This skill produces empty templates only - it never holds or processes real employee or customer data.

How It Works

Follow the shared execution contract. The module-specific rules below define only domain fields, decisions, calculations, and safety constraints.

Step 1 - Identify intent

Read the request and pick the intent before asking anything.

Ask only if this is the highest-value missing fact; otherwise proceed without an opener:

> Q: Is this an anonymous complaint?

Step 2 - Ask only what is missing

Skip anything the user already answered, in any earlier message. Ask the rest one at a time, and stop as soon as the remaining answers would not change the output.

Never invent an answer. If the user does not know, record it as unknown and carry on.

Step 3 - Hold the internal context

Hold the answers in this shape. It stays internal - it is not shown to the user unless they ask, and it never carries a value the user did not give.

module: issue-grievance-tracker
intent: null            # setup | advice | review | fix | build | convert | export
scale: null             # Starter | Growth | Scale, only if the answer changes it
areas:
  "Type": null
  "Process": null
  "Privacy": null
  "Current process": null
  "Outcome": null
requested_outputs: []   # csv | sql | json | notion | xlsx - requested formats only
confirmed_facts: []     # only what the user actually said
open_questions: []      # the unanswered ones, in the order worth asking

Step 4 - Recommend the smallest workflow

If an artifact was requested, build it after resolving essential missing facts. Otherwise give a short recommendation and offer the relevant artifact.

Recommended approach: Log the complaint first with a severity and an owner, then decide if a linked disciplinary case is needed.

Why this one: Grievances are missed when they arrive verbally. Capturing them with a date and a triage owner is the whole control.

Workflow: Complaint raised → Triage → Investigation → Action taken → Closure

Step 5 - Build only on request

Once the user asks for it, derive the fields from the confirmed context and emit the requested artifacts. For machine-readable text, keep prose outside the data; for files, provide a usable link. Report material validation failures or limitations separately.

A selected Notion output is rendered by notion-manual-import, so route the Notion step there. When the user selects Notion, hand that step to @notion-manual-import: it holds the CSV, the property mapping, the import steps and the verification checklist, and it renders the Field Reference below instead of defining a table of its own. Do not restate the mapping here and do not improvise the import steps. Manual CSV and mapping outputs need no connection. For requested workspace changes, follow the shared contract: verify actual tool access and the target before writing. A user saying "connected" is not tool evidence. Never ask for a Notion password or token.

For an Excel-compatible CSV, use UTF-8 with a byte order mark so Excel opens the text correctly. A CSV is not an .xlsx workbook; create .xlsx only when the user requests a workbook. A CSV carries no types, so after it, name the columns that need a number, date or currency format applied.

Issue Title,Issue Type,Raised By,Anonymous,Against (Person or Team),Department,Date Raised,Related Policy,Severity,Description,Assigned To,Investigation Notes,Action Taken,Linked Disciplinary Case,Resolution Date,Days Open,Confidential,Status,Issue ID
Client escalation after missed milestone,Conduct,Ananya Rao,FALSE,Vikram Singh,Delivery,2026-01-15,Code of Conduct,Medium,"Repeated late status updates to the client after a missed milestone, raised by the account team.",Aarav Sharma,Witness statements collected. Meeting held with both parties.,Written warning issued and a one-to-one scheduled for next week.,PIP-2026-004,2026-01-19,4,Internal,Resolved,
CREATE TABLE issue_grievance_tracker (
  issue_title VARCHAR(255),
  issue_type VARCHAR(100) NOT NULL,
  raised_by VARCHAR(255),
  anonymous BOOLEAN NOT NULL,
  against_person_or_team VARCHAR(255),
  department VARCHAR(255),
  date_raised DATE NOT NULL,
  related_policy VARCHAR(255),
  severity VARCHAR(100) NOT NULL,
  description TEXT,
  assigned_to VARCHAR(255),
  investigation_notes TEXT,
  action_taken VARCHAR(255),
  linked_disciplinary_case VARCHAR(255),  -- relation -> target record
  resolution_date DATE,
  days_open NUMERIC NOT NULL,
  confidential VARCHAR(100) NOT NULL,
  status VARCHAR(100) NOT NULL,
  issue_id SERIAL PRIMARY KEY,
  created_at TIMESTAMP DEFAULT NOW(),
  updated_at TIMESTAMP DEFAULT NOW()
);

CREATE INDEX idx_issue_grievance_tracker_status ON issue_grievance_tracker (status);
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Issue & Grievance Tracker",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "Issue Title": {
      "type": "string"
    },
    "Issue Type": {
      "type": "string"
    },
    "Raised By": {
      "type": "string"
    },
    "Anonymous": {
      "type": "boolean"
    },
    "Against (Person or Team)": {
      "type": "string"
    },
    "Department": {
      "type": "string"
    },
    "Date Raised": {
      "type": "string",
      "format": "date"
    },
    "Related Policy": {
      "type": "string"
    },
    "Severity": {
      "type": "string"
    },
    "Description": {
      "type": "string"
    },
    "Assigned To": {
      "type": "string"
    },
    "Investigation Notes": {
      "type": "string"
    },
    "Action Taken": {
      "type": "string"
    },
    "Linked Disciplinary Case": {
      "type": "string"
    },
    "Resolution Date": {
      "type": "string",
      "format": "date"
    },
    "Days Open": {
      "type": "number"
    },
    "Confidential": {
      "type": "string"
    },
    "Status": {
      "type": "string"
    },
    "Issue ID": {
      "type": "integer"
    }
  },
  "required": [
    "Issue Type",
    "Date Raised",
    "Severity",
    "Days Open",
    "Confidential",
    "Status"
  ]
}
| CSV column | Notion property | Set after import |
|---|---|---|
| Issue Title | Title | Use as the database title |
| Issue Type | Select (add options after import) | Convert to Select, add options: "Conduct", "Harassment", "Discrimination", "Safety", "Pay", "Workplace", "Other" |
| Raised By | Text | Leave as Text |
| Anonymous | Checkbox | Convert to Checkbox |
| Against (Person or Team) | Text | Leave as Text |
| Department | Text | Leave as Text |
| Date Raised | Date | Convert to Date |
| Related Policy | Text | Leave as Text |
| Severity | Select (add options after import) | Convert to Select, add options: "Low", "Medium", "High", "Critical" |
| Description | Text | Leave as Text |
| Assigned To | Text | Leave as Text |
| Investigation Notes | Text | Leave as Text |
| Action Taken | Text | Leave as Text |
| Linked Disciplinary Case | Relation (link to the target database) | Convert to Relation, link to the target database |
| Resolution Date | Date | Convert to Date |
| Days Open | Number | Convert to Number |
| Confidential | Select (add options after import) | Convert to Select, add options: "Public", "Internal", "Restricted", "Highly Restricted" |
| Status | Select (add options after import) | Convert to Select, add options: "Logged", "Under Review", "Investigating", "Resolved", "Escalated", "Closed" |
| Issue ID | Text (preserve source ID) | Keep imported IDs as Text; optionally add a separate Unique ID property |

The rows above are documentation examples only. Emit empty templates unless the user explicitly requests examples. Money stays currency, dates stay date, and anything pointing at another table stays relation.

Field Reference

Resolution Date may be absent before the relevant lifecycle stage or when no verified source exists. Do not invent values to satisfy a schema.

| # | Field | Type | SQL | JSON Schema | Notion | CSV example | |---:|---|---|---|---|---|---| | 1 | Issue Title | text | VARCHAR(255) | string | Text | Client escalation after missed milestone | | 2 | Issue Type | select | VARCHAR(100) | string | Select (add options after import) | Conduct | | 3 | Raised By | text | VARCHAR(255) | string | Text | Ananya Rao | | 4 | Anonymous | checkbox | BOOLEAN | boolean | Checkbox | FALSE | | 5 | Against (Person or Team) | text | VARCHAR(255) | string | Text | Vikram Singh | | 6 | Department | text | VARCHAR(255) | string | Text | Delivery | | 7 | Date Raised | date | DATE | string, format: date | Date | 2026-01-15 | | 8 | Related Policy | text | VARCHAR(255) | string | Text | Code of Conduct | | 9 | Severity | select | VARCHAR(100) | string | Select (add options after import) | Medium | | 10 | Description | long_text | TEXT | string | Text | Repeated late status updates to the client after a missed milestone, raised by the account team. | | 11 | Assigned To | text | VARCHAR(255) | string | Text | Aarav Sharma | | 12 | Investigation Notes | long_text | TEXT | string | Text | Witness statements collected. Meeting held with both parties. | | 13 | Action Taken | text | VARCHAR(255) | string | Text | Written warning issued and a one-to-one scheduled for next week. | | 14 | Linked Disciplinary Case | relation | VARCHAR(255) | string | Relation (link to the target database) | PIP-2026-004 | | 15 | Resolution Date | date | DATE | string, format: date | Date | 2026-01-19 | | 16 | Days Open | number | NUMERIC | number | Number | 4 | | 17 | Confidential | select | VARCHAR(100) | string | Select (ad