Adds tools/quality/scripts/verify-sanitized.sh (two-class, self-tested) wired
blocking in .woodpecker/ci.yml; sanitizes operator identity from the public
framework package so the gate is green.
- purge jarvis/jason/woltje/PDA across 26 files -> generic
- delete jarvis-loop.json overlay; add neutral examples/{personas,overlays}
- relocate maintainer AUDIT to docs/audits/; delete 2 jarvis-brain rule blocks
- neutralize SOUL persona; strip "(Policy: Jason ...)" keeping universal rule
- test fixtures jason.woltje -> ci-bot (both git tests pass)
Deferred (tracked): private third-party host (uscllc) genericization.
Refs #542, closes #571
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1.6 KiB
1.6 KiB
GLPI Tool Suite
Manage GLPI IT service management (tickets, computers/assets, users).
Prerequisites
jqandcurlinstalled- GLPI credentials in
~/.config/mosaic/credentials.json(or$MOSAIC_CREDENTIALS_FILE) - Required fields:
glpi.url,glpi.app_token,glpi.user_token
Authentication
GLPI uses a two-step auth flow:
session-init.shexchanges app_token + user_token for a session_token- All subsequent calls use the session_token + app_token
The session token is cached at ~/.cache/mosaic/glpi-session and auto-refreshed when expired.
Scripts
| Script | Purpose |
|---|---|
session-init.sh |
Initialize and cache API session |
computer-list.sh |
List computers/IT assets |
ticket-list.sh |
List tickets (filter by status) |
ticket-create.sh |
Create a new ticket |
user-list.sh |
List users |
Common Options
-f json— JSON output (default: table)-l limit— Result count (default: 50)-h— Show help
API Reference
- Base URL:
https://help.uscllc.com/apirest.php - Auth headers:
App-Token+Session-Token - Pattern: RESTful item-based (
/ItemType/{id})
Examples
# List all tickets
~/.config/mosaic/tools/glpi/ticket-list.sh
# List only open tickets
~/.config/mosaic/tools/glpi/ticket-list.sh -s new
# Create a ticket
~/.config/mosaic/tools/glpi/ticket-create.sh -t "Server down" -c "Web server unresponsive" -p 4
# List computers as JSON
~/.config/mosaic/tools/glpi/computer-list.sh -f json