Repository navigation
feat(whitepaper): living whitepaper evidence sync, anti-hallucination verify & SHA-256 ledger sealing - #18
Open
onimurasame wants to merge 1 commit into
Open
onimurasame wants to merge 1 commit into
onimurasame wants to merge 1 commit into
Conversation
…and SHA-256 ledger sealing
| } | ||
|
|
||
| function escapeTableCell(raw: string, maxLen = 280): string { | ||
| const cleaned = raw.replace(/\|/g, '\\|').replace(/\r?\n/g, ' ').replace(/\s+/g, ' ').trim(); |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports a general-purpose, zero-new-dependency living-whitepaper evidence synchronization and cryptographic SHA-256 proof ledger engine into Number One:
eceipt_table, and \sor_summary\ living blocks, safe \computed\ arithmetic (\sum/\sub/\mul/\div/\count), formatting filters (\commas, \ixed, \mib, \kib, \sha, \default), declarative anti-hallucination \claims, and deterministic \path:bytes:sha256\ ledger manifest sealing (
1-ledger-v1\ / \�ux-ledger-v1).
1 whitepaper <init|sync|verify>, stream event types \whitepaper.synced\ / \whitepaper.verified, MCP tools \init_whitepaper\ / \sync_whitepaper\ / \�erify_whitepaper, and MCP resource
umberone://whitepaper-status.
Verification
pm run typecheck\ &
pm run build: PASS (0 errors)
px vitest run tests/whitepaper.test.ts: 5/5 PASS (fixed-point idempotency, 1-digit whitepaper mutation, 1-byte sealed proof tamper, CWE-22/CWE-59/SSTI/proto-pollution security suite, real CLI exit codes 0 vs 2, real MCP stdio JSON-RPC 2.0)
px vitest run tests/workflow-and-pr-automation.test.ts -t 'Bridge Crew Self-Audit': 100/100 KPI across Engineering, Security, and Bridge officers
pm run verify:workflows: PASS (6 workflows, 21 action pins)
1\ and Rust \�ux).