feat(skills): dolibarr-sandbox-write — host-guarded write skill (V9) #21
Reference in New Issue
Block a user
Delete Branch "claude/dolibarr-sandbox-write"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The write-capable companion to the read-only
dolibarr*skills, scoped toerp-sandbox. It lets an AI agent rehearse bookkeeping writes against a faithful copy of prod (ADR-0003) before a human promotes the reviewed change to prod.The safety model
dol-write.shhost-guard — refuses to send any request unlessDOLIBARR_SANDBOX_URLmatcheserp-sandbox.arcodange.lab. Pointed at prod it exits non-zero before the request (verified live). This is the structural reason the skill can't write prod.ai_agent_sandboxkey (sandbox-only, create+read scope) from a gitignored.env. Prod stays read-only via the separatedolibarrskill.dolibarr-data-snapshot) → human-approved replay under a separate prod-write credential.Scripts (JSON on stdin)
thirdparty-create.shcode:"-1")invoice-create.shref_supplier, optional validatepayment-record.shProven live against the sandbox
Scope notes
bin/arcodangeCLI wiring, and grantingai_agent_sandboxbanque lireso it can list bank accounts (todayaccount_idis passed in)..env(key) is gitignored; testZZZ-V9-*records left in the sandbox are cleared by the nextops/sandboxrefresh.🤖 Generated with Claude Code