Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1116 commits
Select commit Hold shift + click to select a range
260a8b1
feat(c2r): add CollateralToReserve shortcut (contracts + runtime prep)
homakov Jan 20, 2026
1930c1a
fix(browser): browserVM registration + debug logging for AHB scenario
homakov Jan 20, 2026
cc54b3d
fix(j-panel): show disputes, entity names, and proper BigInt formatting
homakov Jan 20, 2026
f2a5566
feat(ui): dispute visual effects + history mode external balances
homakov Jan 20, 2026
2a094e6
perf(crypto): remove verbose signature verification logs
homakov Jan 20, 2026
32e32af
fix(ui+perf): proposer display, Carol position, log guards
homakov Jan 20, 2026
8fdede2
feat(settings): add verbose logging toggle, quiet by default
homakov Jan 20, 2026
43ac835
feat(j-panel): time travel queries + debt tracker
homakov Jan 20, 2026
9eb12fd
docs: comprehensive cleanup + contract security hardening
homakov Jan 26, 2026
abde2df
before audit
homakov Jan 27, 2026
ac8e1ce
fix(p2p): relay message routing + event loop yield
homakov Jan 27, 2026
feef4c7
before jadapter refactor
homakov Jan 27, 2026
51393e5
feat(networking): reorganize P2P layer into dedicated folder
homakov Jan 28, 2026
075e7b1
fix(networking): add security hardening for P2P layer
homakov Jan 28, 2026
99ac5e8
docs(networking): clarify security model - P2P is dumb pipe
homakov Jan 28, 2026
c6ff7c5
refactor(networking): use Hanko mechanism for profile signing
homakov Jan 28, 2026
1afa0fc
refactor(hanko): rename signHashesAsSingleEntity to signEntityHashes
homakov Jan 28, 2026
1a5097c
fix(state-helpers): clone Map signatures correctly in replica clone
homakov Jan 28, 2026
f59af29
feat: state injection prevention + JAdapter unified interface
homakov Jan 28, 2026
0e73066
fix: commit typechain-types for browser build compatibility
homakov Jan 28, 2026
bb717aa
feat: consolidated cleanup + type fixes for deployment
homakov Jan 28, 2026
9b072c6
feat(ui): accounts tab first, remove all reloads
homakov Jan 28, 2026
1c2812d
fix(graph3d): double-click walks parent chain for child meshes
homakov Jan 28, 2026
4c07252
feat(server): Main hub with faucet + gossip hub discovery
homakov Jan 28, 2026
d3f6ca3
fix(storage): auto-clear corrupted localStorage on parse error
homakov Jan 28, 2026
60b469f
fix(ui): consistent entity short IDs (first 4 hex chars)
homakov Jan 28, 2026
c31a3a8
fix(r2r): process J-events after on-chain transfers
homakov Jan 28, 2026
3e3d779
fix(ui): block self-transfer in R2R
homakov Jan 28, 2026
6a8da33
fix(r2r): convert amount to wei before contract call
homakov Jan 28, 2026
75acafa
fix(entity-id): use generateLazyEntityId consistently for entity crea…
homakov Jan 28, 2026
724e780
fix(crypto): register HD-derived private keys for hanko signing
homakov Jan 28, 2026
8b622d1
fix(types): address TypeScript strictness issues
homakov Jan 28, 2026
a9aa969
r2r/pay done
homakov Jan 29, 2026
89afd11
fix(build): track typechain-types in git for consistency
homakov Jan 31, 2026
6ce7fd8
revert: use vite dev (has HTTPS), server.ts for prod only
homakov Jan 31, 2026
3dde79a
build: rebuild runtime.js (public/) with latest code
homakov Jan 31, 2026
708cbf7
feat(nav): simplify topbar - keep only App and llms.txt
homakov Jan 31, 2026
cdb31a6
feat(ui): reorganize entity tabs - External | Reserves | Accounts first
homakov Jan 31, 2026
1bc57cd
feat(dev): auto-start relay server with vite dev
homakov Jan 31, 2026
a14fe10
docs(deployment): add relay server deployment guide
homakov Jan 31, 2026
ac22f52
chore(logs): remove verbose bilateral state debug logs
homakov Jan 31, 2026
e0346e5
chore(logs): remove BAR-VISUAL debug log
homakov Jan 31, 2026
a64643b
feat(deploy): auto-deploy relay server with frontend
homakov Jan 31, 2026
1e623b2
r2r
homakov Feb 1, 2026
c30d463
feat(faucet): add 3 faucet endpoints (ERC20, reserve, offchain)
homakov Feb 1, 2026
87f2a8f
fix(faucet): fund hub wallet with ETH + ERC20 for gas
homakov Feb 1, 2026
52c76b0
docs(deployment): update testnet setup with server.ts deployment
homakov Feb 1, 2026
39958f1
docs(architecture): unified server design (P2P + relay merge)
homakov Feb 1, 2026
2b6b142
docs: add comprehensive MVP specification (testnet E2E)
homakov Feb 1, 2026
af91c6c
refactor(hub): remove special hub logic - hub = normal entity
homakov Feb 1, 2026
4b428de
fix(hub): remove env.hubEntityId storage - use gossip only
homakov Feb 1, 2026
61ca40c
feat(p2p): encrypt WS message payloads (runtime-to-runtime)
homakov Feb 1, 2026
6195e30
fix(p2p): enforce encryption - fail-fast, never plaintext
homakov Feb 1, 2026
36722d0
fix(faucet): pass env to bootstrap, verify gossip, fund wallet
homakov Feb 1, 2026
0948744
fix(jadapter): enable debugFundReserves for anvil (chainId 31337)
homakov Feb 1, 2026
77767bd
fix(server): skip hub reserve funding on anvil (no debugFundReserves)
homakov Feb 1, 2026
6dd6102
temp: disable anvil deployment (revert contracts)
homakov Feb 1, 2026
119e490
fix(server): enable anvil RPC mode with deployed contracts
homakov Feb 1, 2026
00553e1
feat(server): add anvil token addresses for Faucet A
homakov Feb 1, 2026
43d0ccc
chore: update anvil token addresses + deployment scripts
homakov Feb 1, 2026
56061b5
fix: update anvil token addresses (block 18 deployment)
homakov Feb 1, 2026
3010f70
feat(frontend): auto-import testnet anvil (all instances)
homakov Feb 1, 2026
c091268
fix(view): remove BrowserVM init - let ArchitectPanel import testnet
homakov Feb 1, 2026
89e84e5
fix(view): remove duplicate parseURLHash + BrowserVM init
homakov Feb 1, 2026
ebce2c7
feat(view): auto-import testnet anvil on page load
homakov Feb 1, 2026
0fbe1a7
feat(login): auto-login as alice with password='password'
homakov Feb 1, 2026
5adafe9
fix(login): use inputMode instead of mode variable
homakov Feb 1, 2026
880450f
fix(testnet): use /rpc/arrakis endpoint everywhere
homakov Feb 1, 2026
ffd8705
fix: VaultStore uses testnet RPC (NO BrowserVM in vault)
homakov Feb 1, 2026
be41f26
fix(vaultStore): remove browserVM.debugFundReserves calls
homakov Feb 1, 2026
099f4a8
docs: frontend component audit (wallet vs legacy)
homakov Feb 1, 2026
350d106
fix(vaultStore): replace ALL BrowserVM faucet calls with API
homakov Feb 1, 2026
081beeb
feat(types): add jadapter field to JReplica + getActiveJAdapter
homakov Feb 1, 2026
33d38cd
fix(env): remove duplicate testnet imports - single source
homakov Feb 1, 2026
ed3faa4
fix(phase2): replace ALL getBrowserVMInstance → getActiveJAdapter
homakov Feb 1, 2026
1850268
feat(ui): add CSS for username buttons
homakov Feb 1, 2026
30398f8
fix(entityFactory): remove xlnomy1 creation - use Testnet
homakov Feb 1, 2026
886cc8d
docs: session summary (35 commits, testnet 60% complete)
homakov Feb 1, 2026
1a43eea
fix(view): use VaultStore env instead of creating new
homakov Feb 2, 2026
883a167
fix(architect): disable auto J-machine creation
homakov Feb 2, 2026
20beef1
wip: session end - 38 commits, testnet partially working
homakov Feb 2, 2026
e15ed41
docs: next session plan (2hr to complete)
homakov Feb 2, 2026
0f288b0
fix: eliminate xlnomy1 auto-creation + CORS duplicates
homakov Feb 2, 2026
5cfef52
feat: add comprehensive /api/health endpoint
homakov Feb 2, 2026
97f7653
feat: proper testnet architecture (no deployment on load)
homakov Feb 2, 2026
055ed9a
feat: add runtime watcher to dev command
homakov Feb 2, 2026
4d6b123
refactor: remove WalletView - Entity = Wallet
homakov Feb 2, 2026
f12a5c6
feat: working faucet with prod anvil + token deployment
homakov Feb 2, 2026
18f8194
feat: faucet button supports RPC mode (API calls)
homakov Feb 2, 2026
65f56eb
fix: server.ts loads contracts from jurisdictions.json (fromReplica)
homakov Feb 2, 2026
f6acc00
fix: pass ALL contracts in fromReplica (account + deltaTransformer)
homakov Feb 2, 2026
ab50325
fix(deploy): robust jurisdictions.json path + diagnostic scripts
homakov Feb 2, 2026
4eecf5e
feat(deploy): add bash wrapper for pm2 server start
homakov Feb 2, 2026
4442646
fix(faucet): fund hub reserves on anvil startup
homakov Feb 2, 2026
47d5ee7
feat: 3 separate faucet buttons (External/Reserves/Accounts)
homakov Feb 2, 2026
e17129a
feat: auto-select entity after creation (no black screen)
homakov Feb 2, 2026
8469f09
feat(ui): replace alert() with toast notifications
homakov Feb 2, 2026
34ab94f
fix: null checks in JurisdictionPanel + ArchitectPanel
homakov Feb 2, 2026
3ee7227
docs: session 2 summary (14 commits, MVP testnet complete)
homakov Feb 2, 2026
dafdbd6
feat(ui): fix token lists for RPC mode with beautiful card UI
homakov Feb 2, 2026
cae0ed6
docs: add R2R verification results
homakov Feb 2, 2026
25a9d5a
fix: 3 critical bugs from audit (signerId, route validation, jurisdic…
homakov Feb 2, 2026
70cfac3
fix(CRITICAL): HTLC determinism + auto-routing + P2P credit propagation
homakov Feb 2, 2026
efdb51c
fix(determinism): use entity frame timestamp not env.timestamp
homakov Feb 3, 2026
0ca98d8
fix(htlc): use newState.timestamp and validate route ends with target
homakov Feb 3, 2026
07600c8
fix(htlc): set frame timestamp BEFORE handlers (no lag)
homakov Feb 3, 2026
aab4355
SECURITY: fix god mode + settlement vulnerabilities + validator deter…
homakov Feb 3, 2026
9a8150f
fix: increase error toast duration to 8 seconds
homakov Feb 3, 2026
f7e3ac7
feat: refresh button for External tokens
homakov Feb 3, 2026
ec5fcba
fix: faucet sends correct token (not always USDC)
homakov Feb 3, 2026
0b58fe5
fix: toast shows correct token name
homakov Feb 3, 2026
e8307df
new faucets
homakov Feb 3, 2026
f4f7518
fix: faucet now sends ETH for gas along with ERC20 tokens
homakov Feb 3, 2026
1175dcf
feat: redesign entity panel with Net Worth hero + breakdown cards
homakov Feb 3, 2026
9945b11
fix: verify token contracts have code before using, increase hub ETH
homakov Feb 3, 2026
746ac9c
feat: add getTokenRegistry to JAdapter for faucet support
homakov Feb 3, 2026
bbeaabb
jadapter
homakov Feb 3, 2026
5ae9756
fix: use packedToken format for externalTokenToReserve call
homakov Feb 3, 2026
ac5b605
fix: getTokenRegistry detects ERC20 by symbol() not tokenType
homakov Feb 3, 2026
0f8b277
Fix j-watcher startup and arrakis config
homakov Feb 3, 2026
32f779d
Set PUBLIC_RPC for prod jurisdictions
homakov Feb 4, 2026
20cd257
Always refresh jurisdictions.json on server start
homakov Feb 4, 2026
3025b28
Start j-watcher from imported J-machines
homakov Feb 4, 2026
e05aacb
Fix reserve faucet pipeline and RPC sync
homakov Feb 4, 2026
9221bdd
Fix reserve faucet tick loop + packedToken deposit
homakov Feb 4, 2026
7a80ebf
Add detailed reserve faucet logging
homakov Feb 4, 2026
39e45c8
Guard vault init + harden faucet errors + log faucet
homakov Feb 4, 2026
40072f5
Fix gossip relay and hub discovery
homakov Feb 4, 2026
7556a1d
Fix hub bootstrap signer registration
homakov Feb 4, 2026
9b53570
Fix relay gossip response server id
homakov Feb 4, 2026
58dd537
Preserve hub metadata when signing gossip profiles
homakov Feb 4, 2026
f87a785
Use prod relay by default and stop auto reserve mint
homakov Feb 4, 2026
7366668
runtimes array isolation
homakov Feb 4, 2026
6c16b1c
fix faucet/deposit and enforce single token ABI
homakov Feb 5, 2026
c65234d
fix: hub discovery - add isHub flag to P2P config
homakov Feb 5, 2026
d012e86
fix: entity-tx/apply.ts - fix db import from runtime
homakov Feb 5, 2026
e3659a8
fix: vaultStore - move env declaration before use
homakov Feb 5, 2026
6258381
fix: resolveRelayUrls reads localStorage directly for reliability
homakov Feb 5, 2026
742c1d0
feat: add ensureJAdapter with JADAPTER_MODE flag for tests
homakov Feb 5, 2026
06462d4
fix: lock-ahb jurisdiction name must match jReplica name
homakov Feb 5, 2026
3409e81
fix: account opening order + remove auto-faucet + UI improvements
homakov Feb 5, 2026
a7baed8
ui: remove floating lang/dark buttons from landing
homakov Feb 5, 2026
7a745bc
debug: add detailed logging for P2P profile signature failures
homakov Feb 5, 2026
2a73564
fix: add env guard in View.svelte scenario code
homakov Feb 5, 2026
448b1b4
feat: unified JAdapter — remove JEventWatcher, shared event pipeline
homakov Feb 5, 2026
be062d5
fix: extend credit only from initiator on account opening
homakov Feb 5, 2026
2cb09ae
fix: RIGHT side must queue add_delta before set_credit_limit
homakov Feb 5, 2026
0f7660f
fix: server uses own relay (localhost), start runtime loop in browser
homakov Feb 5, 2026
d50fe6f
fix: credit limit side — set counterparty's side, not opener's
homakov Feb 5, 2026
0e0f35a
feat: E2E payment test + byLeft fix + account-tx handler cleanup
homakov Feb 6, 2026
708be85
fix: WS connection leak + stale gossip routing
homakov Feb 6, 2026
a00e0a3
debug
homakov Feb 6, 2026
a422ad3
fix: reduce gossip/relay log spam, fix health.ts p2p/relay status
homakov Feb 6, 2026
3bb24d8
fix: remove verbose hanko/crypto debug logs from hot paths
homakov Feb 6, 2026
76eb743
fix: eliminate remaining gossip log spam in steady state
homakov Feb 6, 2026
0528f82
feat: switch Send panel to HTLC payments with direct toggle
homakov Feb 6, 2026
2275f8c
feat: unified htlc_resolve + backward error propagation + pendingFram…
homakov Feb 6, 2026
48d175d
fix: env isolation via getter, time machine LIVE mode, remove importJ…
homakov Feb 6, 2026
3614c7b
fix: handle cleartext onion envelopes when crypto keys unavailable
homakov Feb 6, 2026
b601c74
fix: exclude sender from onion key check, log missing keys
homakov Feb 6, 2026
a6b0660
test: E2E Alice↔Hub↔Bob passes - all 5 payment cases green
homakov Feb 6, 2026
9227521
fix: process() - notify frontend after snapshot, persist deferred out…
homakov Feb 6, 2026
61fec0f
fix: kill WS auto-reconnect, add connect guard, fix relay double-fire
homakov Feb 7, 2026
7c0500b
fix: HTLC lockBook lifecycle, debug infrastructure, env reactivity
homakov Feb 7, 2026
ac95fd2
fix: WS reconnect exponential backoff (150ms→2s cap, 20 max attempts)
homakov Feb 7, 2026
9a14ec9
runtime/frontend sync: routing boundary cleanup, gossip/debug/health …
homakov Feb 7, 2026
65ab76d
e2e stability: lazy graph init + faucet hub fallback + playwright boo…
homakov Feb 7, 2026
7d9ab57
fix: offchain faucet fallback uses activeHubEntityIds (no HUBS ref)
homakov Feb 7, 2026
e8fb2ca
server: enforce gossip-only faucet hub selection (remove fallbackHubs)
homakov Feb 7, 2026
a8660cd
fix(p2p): enforce single env p2p instance and strengthen ahb e2e asserts
homakov Feb 7, 2026
7ae7e4e
fix(ws): use wall-clock timestamps for hello auth and relay timing
homakov Feb 7, 2026
a811cd7
networking: relax hello auth by default
homakov Feb 7, 2026
2a18f59
e2e: deterministic hub discovery via relay registry
homakov Feb 7, 2026
b713d1f
server: mirror gossip announces into env cache for routing
homakov Feb 7, 2026
621f0b7
Fix gossip expiry/routing defer loop and make deploy runtime-first
homakov Feb 7, 2026
4401e64
Fix ACK return routing via inbound runtime hints; stabilize gossip ru…
homakov Feb 7, 2026
b175fec
persistance
homakov Feb 9, 2026
e4ca13d
mid relay
homakov Feb 9, 2026
6851ae8
Harden faucet and consensus against invalid entity ids
homakov Feb 9, 2026
a33b994
Fix faucet/offchain channel readiness and relay runtime routing sync
homakov Feb 10, 2026
4e414ca
Fix offchain faucet routing/channel readiness and tighten retry behavior
homakov Feb 10, 2026
beaa3ac
fix(faucet): stabilize offchain hub selection and prod api base routing
homakov Feb 10, 2026
d7946ac
mid relay
homakov Feb 10, 2026
6dd6f24
multihop e2e
homakov Feb 11, 2026
46a179f
wip: relay routing and entity consensus updates
homakov Feb 12, 2026
25cc696
feat: add AI agent collaboration framework
homakov Feb 12, 2026
1cd729a
contracts: remove insurance functionality
homakov Feb 12, 2026
5479bbf
runtime+frontend: remove insurance functionality
homakov Feb 12, 2026
961a2cd
docs: add progress report #2 (implementation complete)
homakov Feb 12, 2026
9c129d7
docs: add reviewer access instructions to all progress files
homakov Feb 12, 2026
2785d11
docs: add reviewer checkout protocol to workflow.md
homakov Feb 12, 2026
131740f
docs: add claude insurance removal collaboration files
homakov Feb 12, 2026
cb7d263
docs: remove collaboration files from feature branch
homakov Feb 12, 2026
aa0e4ae
docs: update agent collaboration workflow
homakov Feb 12, 2026
c23fba1
fix: remove remaining insurance refs from Account.sol, evm.ts, frontend
homakov Feb 12, 2026
ce1d7db
docs: progress #3 - addressing incomplete cleanup
homakov Feb 12, 2026
ffb7227
wip: partial cleanup of j-batch insurance refs
homakov Feb 12, 2026
7682472
docs: status update - requesting Codex help
homakov Feb 12, 2026
4714341
fix: finish insurance cleanup across runtime adapters
homakov Feb 12, 2026
b8a5975
fix: repair account settle encoding after insurance removal
homakov Feb 12, 2026
b1e93ae
docs: final report - insurance removal complete
homakov Feb 12, 2026
acb98ec
feat: Remove insurance functionality
homakov Feb 12, 2026
31ec266
perf: make landing ultra-light, move runtime to /app
homakov Feb 12, 2026
0756e4d
fix: repair j-events syntax error + cleanup artifacts
homakov Feb 12, 2026
96a61f7
fix: repair LandingPage prop name and regenerate bundles
homakov Feb 12, 2026
3fea25d
build: update runtime.js in public/ after rebuild
homakov Feb 12, 2026
a982b54
docs: plan for hub auto-rebalance feature
homakov Feb 12, 2026
c5d8a76
docs: hub-rebalance plan amendment (addressing agent reviews)
homakov Feb 12, 2026
3553388
docs: rebalance plan revision based on 2019 reference
homakov Feb 12, 2026
44407e4
docs: comprehensive hub-rebalance plan with fees & batching
homakov Feb 12, 2026
3f1ae0a
docs: plan for account UI improvements
homakov Feb 13, 2026
5b69219
docs: rebalance understanding check - requesting agent audit
homakov Feb 13, 2026
2620da8
docs: add README for hub-rebalance feature status
homakov Feb 13, 2026
9ecf145
docs: V1 simplified plan (codex-approved)
homakov Feb 13, 2026
af39192
docs: final V1 with user requirements (directPayment, UI, defaults)
homakov Feb 13, 2026
026b99c
docs: final fee flow + priority matching (user approved)
homakov Feb 13, 2026
657336d
feat: hub auto-rebalance with bilateral quote negotiation
homakov Feb 13, 2026
07733f8
fix: resolve rebalance logic and type errors
homakov Feb 14, 2026
b5d697d
docs: add C→R workspace lifecycle + 3-process crontab spec
homakov Feb 14, 2026
c3737e2
fix: server.ts syntax error in relayStore property shorthand
homakov Feb 14, 2026
4c57d37
fix: remove double relayStore.relayStore nesting in server.ts
homakov Feb 14, 2026
7c163a2
fix: production hardening — policy auth, dedup key, nonce assertions
homakov Feb 14, 2026
ec622e8
fix: RPC JAdapter event watcher bugs + rebalance scenario on real anvil
homakov Feb 14, 2026
790bd44
fix: settlement nonce propagation + merged settle-rebalance scenario
homakov Feb 14, 2026
4b86175
fix: remove duplicate BrowserVM event forwarding in setBrowserVMJuris…
homakov Feb 14, 2026
c576231
new-ops
homakov Feb 15, 2026
7e199a4
entity ux updated
homakov Feb 15, 2026
352b580
feat: auto-rebalance + theme system + UX polish
homakov Feb 16, 2026
22cabdb
feat: create settlement-ops.ts (missing module that blocked runtime b…
homakov Feb 16, 2026
be72069
feat: striped/pulsing rebalance-pending bar in AccountPreview
homakov Feb 16, 2026
52facfe
fix: always fund hub reserves at startup (root cause of empty reserve…
homakov Feb 16, 2026
b1dec87
fix: clear pendingBroadcast after successful jBatch broadcast (was st…
homakov Feb 16, 2026
bb9f0d0
fix: resolve full jurisdiction config for broadcastBatch (was passing…
homakov Feb 16, 2026
61adeda
fix: fallback to env.activeJurisdiction when hub entity has no config…
homakov Feb 16, 2026
1d46fa6
fix: use correct env variable name in broadcastBatchHandler (_env → env)
homakov Feb 16, 2026
973d6b8
fix: last _env→env in broadcastBatchHandler (event injection was usin…
homakov Feb 16, 2026
5d68a21
fix: import path in serveRuntimeBundle (was ReferenceError: path is n…
homakov Feb 16, 2026
eaf527c
fix: make browser DB errors non-fatal (no more PERSISTENCE_FATAL cras…
homakov Feb 16, 2026
ae5097a
fix: root cause — set config.jurisdiction on hub entities after J-ada…
homakov Feb 16, 2026
e81bde0
fix: inverted theirDebt formula (stripes never showed) + only ping hu…
homakov Feb 16, 2026
b85e224
fix: hubRebalance 1s→30s + 60s quote cooldown (stops 3fps quote spam …
homakov Feb 16, 2026
8a8f07d
refactor: replace quote-based rebalance with direct jBatch R→C
homakov Feb 16, 2026
5eaf359
feat: OnboardingPanel (terms + name + policy) + custody.md spec
homakov Feb 16, 2026
cf0968c
feat: post-frame auto-rebalance — user auto-requests collateral + pay…
homakov Feb 16, 2026
8061d2e
rebalance tests
homakov Feb 17, 2026
bcc4587
r2c works
homakov Feb 18, 2026
de8991e
batch buffer
homakov Feb 20, 2026
7de8196
vault: fail-fast runtime/rpc readiness before chain probe
homakov Feb 20, 2026
57ca41a
checkpoint tests
homakov Feb 21, 2026
28d8a70
feat: add Hardhat deployment scripts for XLN L2 contracts
ForgeCoreye Feb 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file removed .DS_Store
Binary file not shown.
48 changes: 48 additions & 0 deletions .agents/economy/ledger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"version": "1.0.0",
"created_at": "2025-11-30T00:00:00Z",
"reset_daily": true,
"transactions": [],
"balances": {
"claude-architect": {
"input_tokens": 500000,
"output_tokens": 100000,
"usd_budget": 5.00,
"usd_spent": 0.00,
"tasks_completed": 0,
"subagents_spawned": 0
},
"codex-reviewer": {
"input_tokens": 200000,
"output_tokens": 50000,
"usd_budget": 2.00,
"usd_spent": 0.00,
"tasks_completed": 0,
"subagents_spawned": 0
},
"gemini-tester": {
"input_tokens": 200000,
"output_tokens": 50000,
"usd_budget": 1.50,
"usd_spent": 0.00,
"tasks_completed": 0,
"subagents_spawned": 0
},
"glm-auditor": {
"input_tokens": 200000,
"output_tokens": 50000,
"usd_budget": 0.50,
"usd_spent": 0.00,
"tasks_completed": 0,
"subagents_spawned": 0
}
},
"pricing": {
"claude-opus": { "input_per_1k": 0.015, "output_per_1k": 0.075 },
"claude-sonnet": { "input_per_1k": 0.003, "output_per_1k": 0.015 },
"claude-haiku": { "input_per_1k": 0.00025, "output_per_1k": 0.00125 },
"gpt-4": { "input_per_1k": 0.03, "output_per_1k": 0.06 },
"gemini-pro": { "input_per_1k": 0.00125, "output_per_1k": 0.00375 },
"glm-4": { "input_per_1k": 0.001, "output_per_1k": 0.002 }
}
}
5 changes: 5 additions & 0 deletions .agents/inbox/claude/ready.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ready

agent: claude-architect
timestamp: 2025-11-30T12:00:00Z
status: active
47 changes: 47 additions & 0 deletions .agents/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"version": "1.0.0",
"project": "xln",
"agents": {
"claude-architect": {
"votes": 2,
"role": "lead",
"can_spawn": true,
"description": "Lead developer, architecture decisions, can spawn subagents"
},
"codex-reviewer": {
"votes": 1,
"role": "reviewer",
"can_spawn": false,
"description": "Code review, security audit, bug finding"
},
"gemini-tester": {
"votes": 1,
"role": "tester",
"can_spawn": false,
"description": "Testing, edge cases, verification"
},
"glm-auditor": {
"votes": 1,
"role": "auditor",
"can_spawn": false,
"description": "Compliance, style, documentation"
}
},
"consensus": {
"threshold": 3,
"human_veto": true,
"timeout_minutes": 30
},
"polling": {
"interval_seconds": 60,
"max_retries": 3
},
"human_commands": {
"y": "approve & continue",
"n": "reject (explain why)",
"?": "show status",
"!": "emergency stop",
"1-9": "pick option",
" ": "skip/next"
}
}
23 changes: 23 additions & 0 deletions .agents/multiagent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# NOT ACTIVE: Multi-Agent Protocol Extension Notes

Status: inactive reference document.

Do not use this as active workflow.
Use `agents/workflow.md` as the canonical protocol.

## Why Inactive
- Too large and high-overhead for daily execution.
- Includes optional economy and verbose papertrail policies.
- Not fully tool-enforced.

## Useful Ideas Preserved in Active Protocol
- Human shortcuts: `y/n/?/!/1-9`
- Optional queue/inbox mode
- Atomic task claim pattern
- Emergency stop behavior

## Future Extension Candidates
- Task queue schemas (`queue/task-*.md`)
- Lightweight status snapshots per agent
- Optional remote sync hooks
- Optional voting records for major merges
78 changes: 78 additions & 0 deletions .agents/papertrail/2025-12-01/council-1764586492011.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Council Deliberation @ 2025-12-01T10:53:45.536Z

## Query
undefined

## Stage 1: Individual Responses
### qwen3-coder:latest
Hello! I'm here to help you with any questions or topics you'd like to discuss. What would you like to explore or learn about today?

### huihui_ai/qwen3-abliterated:235b
It seems like you're looking for a step-by-step explanation or solution! Could you clarify the specific problem or topic you'd like help with? For example:
- A math or physics problem?
- An explanation of a concept?
- Something else entirely?

Let me know, and I’ll guide you through it! 😊

### gpt-oss:120b
It looks like your message came through empty. Could you let me know what you’d like help with? I'm here to answer questions, brainstorm ideas, troubleshoot problems, or anything else you need. Just let me know!

## Stage 2: Peer Reviews
### qwen3-coder:latest
RANKINGS:
- Response A: 8/10
- Response C: 7/10

BEST: Response A

REASONING: Response A is the better of the two because it directly addresses the core issue - the empty message - with appropriate humility and openness. It acknowledges the problem clearly ("It looks like your message came through empty") while maintaining a helpful, non-confrontational tone. The response is concise, practical, and focuses on what the user actually needs: assistance with their actual question.

Response C, while well-intentioned, makes an assumption that the user is seeking a "step-by-step explanation or solution" when the actual problem is that no message was received. This creates a mismatch between the response and the actual situation. Additionally, Response A is more universally applicable - it works whether the user needs help with a specific problem or just wants to communicate. Response A also demonstrates better self-awareness by recognizing it's dealing with an empty message rather than trying to guess what that message might contain.

The main improvement for Response C would be to first acknowledge the empty message before asking for clarification, rather than immediately assuming what kind of help the user needs. Response A avoids this assumption entirely and simply asks for clarification, which is more appropriate given the circumstances.

### gpt-oss:120b
**RANKINGS**
- Response B: **6/10**
- Response C: **8/10**

**BEST:** Response C

**REASONING:**
The original query is simply the word “undefined,” which provides no concrete direction. The most appropriate immediate action is to request clarification so the user can be guided toward a useful answer.

- **Accuracy:** Both replies correctly avoid giving misinformation and instead ask the user to specify their need. Response C’s acknowledgment that the user may be looking for a “step‑by‑step explanation or solution” is slightly more on point, earning it a higher accuracy rating.

- **Insight:** Response C demonstrates greater insight by anticipating likely categories of follow‑up (math/physics problem, concept explanation, etc.) and offering concrete examples. This helps the user quickly understand what kind of clarification is useful. Response B is polite but more generic.

- **Clarity:** Both messages are clear and easy to understand. However, Response C’s bullet‑point list makes the request for clarification even more explicit, which marginally improves its clarity score.

Overall, Response C is more helpful because it not only asks for clarification but also guides the user toward the type of information that would allow the assistant to provide a substantive answer.

### huihui_ai/qwen3-abliterated:235b
RANKINGS:
- Response A: 9/10 (Accuracy: 10, Insight: 9, Clarity: 10)
- Response B: 8/10 (Accuracy: 9, Insight: 7, Clarity: 9)

BEST: Response A

REASONING:
1. **Accuracy**: Both responses correctly address the undefined query by prompting the user for clarification. Response A edges slightly higher by explicitly acknowledging the "undefined" issue ("your message came through empty") rather than just offering help.
2. **Insight**: Response A provides specific examples of assistance areas (e.g., brainstorming, troubleshooting), making it more actionable and informative. Response B is generic, offering no concrete direction beyond a broad "explore or learn."
3. **Clarity**: Both are clear, but Response A’s structured phrasing ("answer questions, brainstorm ideas, troubleshoot problems") and friendly tone ("I’m here to...") enhance readability. Response B is slightly less dynamic, relying on a standard prompt.

**Improvements**: Response B could adopt Response A’s specificity (e.g., listing common use cases) to better guide the user. Response A is already strong but might benefit from slightly more conciseness.

## Stage 3: Chairman Synthesis (gpt-oss:120b)
It looks like your message came through empty (or as the word “undefined”), so I’m not sure what you’d like help with. Could you let me know what you’re interested in or what problem you’d like to solve?

Here are some common ways I can assist:

- **Answering questions** – facts, definitions, how‑things‑work, etc.
- **Explaining concepts** – math, physics, programming, history, language, etc.
- **Brainstorming ideas** – project topics, writing prompts, design suggestions.
- **Troubleshooting** – debugging code, fixing a workflow, solving a technical issue.
- **Step‑by‑step guidance** – solving a problem, learning a new skill, planning a task.

Just tell me which of these (or anything else) you’d like to explore, and I’ll dive right in!
40 changes: 40 additions & 0 deletions .agents/profiles/claude-architect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# agent: claude-architect

## identity
model: anthropic/claude-opus-4-5
role: lead
codename: claude-architect
specialty: architecture, implementation, coordination

## capabilities
- full read/write access to /Users/zigota/xln
- can run: bun, git, any bash command
- can spawn: up to 2 concurrent subagents
- can create: tasks, votes, reviews

## responsibilities
- lead development on xln
- coordinate other agents
- spawn subagents for verification
- break ties in disputes

## communication style
- concise, technical
- uses line numbers for code refs
- prefers bullet points
- respects token budgets

## availability
timezone: UTC
active_hours: always (async)

## budget
see economy/ledger.json
- 500k input / day
- 100k output / day
- $5.00 equiv / day

## signed
agent: claude-architect
date: 2025-11-30
status: active
1 change: 1 addition & 0 deletions .archive/2019_docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
Loading