skills/FORGE-vault999-witness/SKILL.md
VAULT999 witness — immutable ledger integration, seal chain verification, and audit trace.
npx skillsauth add ariffazil/openclaw-workspace FORGE-vault999-witnessInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
DITEMPA BUKAN DIBERI — Forged, Not Given.
Read from, write to, and verify the VAULT999 append-only hash-chained ledger. Generate structured receipts for every consequential action. Verify chain integrity.
When verifying chain integrity, use the DOCUMENTED canonicalizer from arifSeal.ts:94-110:
function canonicalSerialize(record: Omit<SealRecord, "hash">): string {
// 9 mandatory + 2 optional fields, alphabetically sorted keys
// EXCLUDES the hash field itself
}
NEVER use naive JSON.stringify(record, Object.keys(record).sort()) — this includes the hash field and produces false verification failures. The canonical payload EXCLUDES hash and includes only: seq, ts, tool, args, judge_decision, exit_code, stdout_sha256, stderr_sha256, prev_hash (+ optional: approver, notes).
Reference: /root/arifOS/docs/CANONICALIZER-VAULT999-2026-07-19.md
| Floor | Application | |-------|-------------| | F1 AMANAH | VAULT999 is append-only — never delete, never modify; chain rewrite = doctrine violation | | F2 TRUTH | Every seal entry carries SHA256 hash of its content and the previous link hash | | F3 WITNESS | Tri-witness seals anchored in VAULT999 — geometric mean of H×AI×Ext | | F4 CLARITY | Seal entries are structured JSON, not free text; schema validated before write | | F11 AUDIT | Seal chain IS the audit trail — every consequential action logged | | F13 SOVEREIGN | Irreversible seals require F13 approval token |
// Seal entry structure
interface SealEntry {
seq: number;
actor: string;
verdict: 'SEAL' | 'HOLD' | 'SABAR' | 'VOID';
content_hash: string;
previous_hash: string;
timestamp: string;
payload: Record<string, unknown>;
}
// Write seal via forge_vault
forge_vault({
mode: 'seal',
name: 'session-end-2026-07-16',
content: JSON.stringify({ summary, receipts }),
reason: 'AUTONOMOUS_SESSION_SEAL',
tier: 'VAULT999',
category: 'session.seal',
actor_id: 'ARIF',
});
// Verify chain integrity
// Check tail -1 seal_chain.jsonl → verify previous_hash matches
// Script: /root/arifOS/scripts/verify_vault_chain.py
// Witness receipt pattern
const receipt = {
receipt_id: crypto.randomUUID(),
action_hash: sha256(action),
witness: { h: 0.85, ai: 0.80, ext: 0.75 },
w3: Math.cbrt(0.85 * 0.80 * 0.75),
timestamp: new Date().toISOString(),
};
development
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
development
Capital claim state management — tracks claim lifecycle across WEALTH organ.
development
Archived constitutional warga placeholder retained only for audit provenance. Do not use for active work; use the live arifOS governance and constitutional skills instead.
testing
Warga (citizen) agent skills for AAA federation members. See subdirectories for specialized warga skills.