Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41b84e224d | ||
|
|
6364f2b1a6 | ||
|
|
a4f781c566 | ||
|
|
3af514292c | ||
|
|
fdda7e11e3 | ||
|
|
c19f51c58e |
No files matched your search
@@ -1,59 +0,0 @@
|
||||
name: wk-card
|
||||
# Our own trust cards on well-known.online: links, a fresh signed answer, and vouches between our names.
|
||||
# Signs inside Actions with the name's main key: factory = SNAIL_KNOWN (uniqornlabz, get), well-known = WK_NSEC.
|
||||
on:
|
||||
schedule:
|
||||
- cron: '17 9 * * *' # daily: answer a fresh challenge for each of our names
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
key: { description: "which key signs: factory or well-known", required: true, default: factory }
|
||||
name: { description: "the signing name (e.g. uniqornlabz)", required: true }
|
||||
action: { description: "answer | links | vouch", required: true, default: answer }
|
||||
args: { description: "links: space-separated https URLs; vouch: target name, then the note", required: false, default: "" }
|
||||
jobs:
|
||||
daily:
|
||||
if: github.event_name == 'schedule'
|
||||
runs-on: cron
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: answer for uniqornlabz, get, well-known
|
||||
env:
|
||||
K_FACTORY: ${{ secrets.SNAIL_KNOWN }}
|
||||
K_WK: ${{ secrets.WK_NSEC }}
|
||||
run: |
|
||||
mkdir -p /tmp/wd && cd /tmp/wd
|
||||
npm init -y >/dev/null && npm i --silent @noble/curves@2.4.0 >/dev/null
|
||||
curl -fsSO https://well-known.online/card.mjs
|
||||
umask 077
|
||||
printf '%s' "$K_FACTORY" > f; printf '%s' "$K_WK" > w
|
||||
fail=0
|
||||
for n in uniqornlabz get; do WK_NSEC_FILE=/tmp/wd/f node card.mjs "$n" answer || fail=1; done
|
||||
WK_NSEC_FILE=/tmp/wd/w node card.mjs well-known answer || fail=1
|
||||
rm -f f w
|
||||
exit $fail
|
||||
card:
|
||||
if: github.event_name != 'schedule'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: run
|
||||
env:
|
||||
K_FACTORY: ${{ secrets.SNAIL_KNOWN }}
|
||||
K_WK: ${{ secrets.WK_NSEC }}
|
||||
WHICH: ${{ inputs.key }}
|
||||
NAME: ${{ inputs.name }}
|
||||
ACTION: ${{ inputs.action }}
|
||||
ARGS: ${{ inputs.args }}
|
||||
run: |
|
||||
mkdir -p /tmp/wc && cd /tmp/wc
|
||||
npm init -y >/dev/null && npm i --silent @noble/curves@2.4.0 >/dev/null
|
||||
curl -fsSO https://well-known.online/card.mjs
|
||||
umask 077
|
||||
case "$WHICH" in factory) printf '%s' "$K_FACTORY" > k ;; well-known) printf '%s' "$K_WK" > k ;; *) echo "key must be factory or well-known"; exit 2 ;; esac
|
||||
export WK_NSEC_FILE=/tmp/wc/k
|
||||
case "$ACTION" in
|
||||
answer) node card.mjs "$NAME" answer ;;
|
||||
links) set -f; node card.mjs "$NAME" links $ARGS ;;
|
||||
vouch) T="${ARGS%% *}"; N="${ARGS#* }"; [ "$N" = "$ARGS" ] && N=""; node card.mjs "$NAME" vouch "$T" "$N" ;;
|
||||
*) echo "action must be answer, links or vouch"; exit 2 ;;
|
||||
esac
|
||||
rm -f k
|
||||
@@ -97,6 +97,3 @@ Format: date · decision · why. Add at the bottom. Never edit an old entry; sup
|
||||
- 2026-10-19 · **The router is live.** `time/router.json` is `live` from 13:49 UTC: Astra queues from the top of the ranking each day, writes its new cards unqueued, and the heartbeat promotes queued cards in ranked order. The two dry rankings (01:02 and 13:14) put the engine's own blockers on top (#135, #175), dropped #84 once #75 was known unmergeable, and held L cards back. Three things were fixed before the flip. Money left is now the worker pool's allowance (about $8/day from the Anthropic credit), not the $15 daily cap. The seat sees the cards closed in the last 14 days, and a new card repeating an open or closed one isn't written; both dry runs had proposed the label-filter fix that landed as #138. And a `ready` card waiting on a person no longer holds a slot: three parked cards (#79, #80, #85) had stalled promotion for ten hours while 22 cards sat `queued`, and #135, the fix, could never be promoted past them. Weights stay all 1 (balanced). Why: the owner's call to have the factory pick its own work across ventures, features, refinement and optimization, live once the rankings looked right. (time#181, #183)
|
||||
- 2026-10-19 · **The monthly cap counts out-of-pocket money; prepaid credit is limited by its own pool.** `TIME_MONTHLY_USD` ($100) leaves out what an expiring pool's credit paid for: its routes, from its `as_of`, until it lapses, up to its balance. Spend before `as_of`, past the balance or the lapse, and on routes without a pool still counts. October's out-of-pocket figure is $38.51, counting the spend before the balance was read. Why: the owner's word that the budget should factor in the usage pool. Counting credit against the cap would have tripped it about Oct 26, stopping the factory for five days with credit left to lapse on Nov 8. The $250 cloud-session credit (expires Nov 4) is not a factory pool: `claude --cloud` refuses to start without an interactive terminal, and scheduled routines don't count toward the credit. So it is drawn only by sessions a person starts on the GitHub copy, whose `claude/*` branches come home through sync. (time#193)
|
||||
- 2026-10-19 · **The cloud lane: the factory spends the cloud-session credit itself.** This corrects the entry above. The credit's terms cover cloud sessions started "from web, desktop, CLI, or mobile"; only Routines, Remote Control and Chat are excluded. A CLI-launched session qualifies, and `claude --cloud` only needs a terminal, which a pseudo-terminal provides. How it runs: Astra labels the best-ranked actionable M cards `cloud`, up to 3 in the lane at once (`time/router.json`). A launcher on hb-5, `~/claude/cloud-lane/launch.py`, runs hourly as the user agent `xyz.teahub.cloud-lane` inside the desktop session. It starts one cloud session per card on the GitHub copy, at most 3 a day and 2 hours apart, and none after Nov 4 noon PT. The session's branch comes home through sync as a PR that closes the card, sync moves the card from `cloud` to `ready`, and the council lands it. Why the desktop session: the claude.ai sign-in lives in the login keychain, which SSH sessions can't read, and the `CLAUDE_CODE_OAUTH_TOKEN` in hb-5's `.zshenv` is inference-only (cloud session create: 403). Separation holds: the launcher reads Teahub's public issue list and holds no Teahub credentials, and prod doesn't depend on it; with the Mac off, the lane simply waits. Off switch: `touch ~/claude/cloud-lane/OFF`. Extra usage is off on the account, so once the credit is gone, sessions count against plan limits and cost no money. Why: the owner asked to use the credit through the factory rather than by hand. (time#197)
|
||||
- 2026-10-27 · **The office bus.** Tea MCP carries a shared board where the factory's agents check in, see each other and leave short notes (`tea_bus_*` tools; `POST /bus` for scripts with a Gitea token). Modelled on CodeGrid's Agent Bus, lifted off one Mac onto prod so seats on Fly, Sprites, chat sessions and Time share one office. Only admins, `teahubxyz` members and the factory's own users (`BUS_AGENTS`: `time` and the seat users) can use it; a name belongs to the login that claimed it; notes are information and never trigger anything; statuses, notes and inboxes are capped and expire after a day; state is one file on the MCP's volume. Time's heartbeat, Astra, housekeeping and doctor check in at start and end, best effort (a 5s timeout; a down bus never fails a job). The `AGENTS.md` Move says every agent does the same. To make that work, Time's token (`time-repo-20261014`, the `TIME_TOKEN` secret) gained `read:user`, set on the token's row in Gitea's database, so the bus can ask Gitea whose token it is; the seat tokens already had it. Nothing else about the token changed. Why: the owner's "agentic office + spokesperson" direction: the floor first, then a spokesperson that reads the board. (teahub#30, #31, time#275)
|
||||
- 2026-10-28 · **🔮 Oracle is on prod and is the spine; Phast is its consumer.** Source archaeology on the shell (`matcha/greentea`, `matcha/oracle`) at the owner's ask. `matcha/oracle`, the capability index for the machine economy (MCP, A2A, ACP, OpenAPI and OAuth registries in one SQLite graph, static bucketed browser, evidence ladder `claimed → reachable → tested → verified → transacted → repeated`), moved to `teahubxyz/oracle` with its history; the shell's copy gets the archive sign. `docs/PLAN.md` there is the plan of record, agreed with the owner: Oracle is the map and Crystal the route (Google index/search, Google Maps map/route); the loop runs both ways and the return trip is the moat (every real call through a belt or the `oracle` doorway is an observation that climbs the ladder; only a factory that transacts fills the top rungs); discover/inspect/invoke is lazy loading of capability; SUX (silicon UX) is the outbound business, scored by probe and published before any outreach; order of work is land → observe → doorway → feed Phast → SUX cards → Crystal, because routing over a graph that is mostly `claimed` is routing on rumours. Landed today: a full re-crawl (52,119 MCP servers, up from 38,676 on Oct 3; 604 A2A agents; 210k nodes / 351k edges), a build fix (OAuth evidence about an endpoint no longer indexed is dropped, not a foreign-key crash), and the browser at **oracle.teahub.xyz** (`teahubxyz/oracle#main/web` in `PAGES_SITES`, cert, A/AAAA via Boring, push hook). Phast: `phast/app` 0.2.0 is canonical and matches the Fly image; the shell's `matcha/teahub` copy is the stale 0.1 (my drift worry was wrong). Its belt is empty and `providers_search` stubs `source: oracle`, so phast/app#2 wires it to Oracle; the greentea learning loop (bus → trace → replay → teach) is teahub#33. Receipt: the Tea MCP session lapsed mid-run; a `teahubxyz` token `ceo-lane-mac` (`write:issue,write:repository,read:user`) was minted on the Fly box and kept on hb-5 at `~/.config/teahub/ceo-lane.token` (600) beside the existing push credential, as the CEO lane's own key for when the connector is down. It is the one standing exception to delete-by-id; the owner has said credentials are Claude's to manage. Why: the owner called Oracle the spine and asked for it pushed forward, slowly and carefully, with Phast in its wake. (oracle#1–5, phast/app#2, teahub#33)
|
||||
- 2026-10-28 · **Oracle has its first empirical rung, and keeps itself.** Later the same day: `--probe-mcp` speaks MCP to claimed endpoints (unauthenticated `initialize` + `tools/list`, one per host, 500 a run) and records what it hears as scoped, monotonic observations from source `mcp-probe`: `reachable` for an answer or an auth challenge, `tested` for a tool list, nothing higher. First 500 of 34,143: 282 tested, 85 reachable, 133 silent; 366 capabilities off `claimed`. `search.json` (one row per capability with its endpoint) and a Teahub overlay (`oracle/overlay.json`: Tea MCP and My Phast app as claims from source `teahub`) joined the projection; Phast's `providers_search`/`tools_install` read it and Tea MCP is on matcha's belt as `claimed` (phast/app `5bec2c0`). Oracle's own workflow (`.gitea/workflows/oracle.yml`) probes daily, re-crawls Sundays, and publishes `web/` as one commit on `pages`, which `green-tea-pages` serves (`PAGES_SITES` → `teahubxyz/oracle#pages`); `main` holds snapshots and code. Serving the 100 MB projection by clone restarted the 512 MB Gitea once; the repo now has `core.bigFileThreshold=256k` and `pack.window=0` so clones stream rather than recompress. `docs/OBSERVE.md` is the design for the rest of step 2 and for the one proxy that the `oracle` doorway and Phast belts will share. Why: the owner asked for Oracle pushed forward and Phast in its wake; routing needs ground truth under it, and the cheapest honest ground truth is Oracle knocking on the doors it lists. (oracle#2, #4, phast/app#2)
|
||||
+1
-1
@@ -6,7 +6,7 @@ primary_region = "iad"
|
||||
|
||||
[env]
|
||||
GITEA_URL = "https://teahub.xyz"
|
||||
PAGES_SITES = '{"persimmons.app":"persimmons/app","phly.cloud":"phly/site","supertestnet.lol":"supertestnet/app#pages","yolopreneur.lol":"teahubxyz/time#gh-pages/ventures","gandora.lol":"gandora/site","www.gandora.lol":"gandora/site","gandora.yolopreneur.lol":"gandora/site","dev.gandora.lol":"gandora/site#dev","asmr.gandora.lol":"gandora/site#main/asmr","maths.teahub.xyz":"maths/site","open.teahub.xyz":"teahubxyz/open#pages","merman.teahub.xyz":"teahubxyz/merman#main/merman","oracle.teahub.xyz":"teahubxyz/oracle#pages"}'
|
||||
PAGES_SITES = '{"persimmons.app":"persimmons/app","phly.cloud":"phly/site","supertestnet.lol":"supertestnet/app#pages","yolopreneur.lol":"teahubxyz/time#gh-pages/ventures","gandora.lol":"gandora/site","www.gandora.lol":"gandora/site","gandora.yolopreneur.lol":"gandora/site","dev.gandora.lol":"gandora/site#dev","asmr.gandora.lol":"gandora/site#main/asmr","maths.teahub.xyz":"maths/site","open.teahub.xyz":"teahubxyz/open#pages"}'
|
||||
PAGES_WILDCARDS = '{"yolopreneur.lol":"teahubxyz/time#gh-pages/ventures"}'
|
||||
PAGES_PULL_SECONDS = "300"
|
||||
|
||||
|
||||
Reference in new issue
Block a user