server-wall
Skill69 starsChanged 13 days agoMITView on GitHub
Work skill for the main agent. The wall between elements on a dedicated server (step 811) — each custom element runs as its own Linux user fe-<id>, and what crosses the wall and how. Load it before changing anything an element on a server calls or runs (its doors to the core, its agent pages, terminal, login, Claude account, files, processes, the proxy gate, next.config redirects), before asking the owner for a server update that touches such code, and when an element on a server shows an empty page, an empty 404 or 500, Permission denied, «not-on-a-node» or an agent that will not start.
- Reads credentials
2 other projects use a version of this.
Adopted by
Most recently taken up by
- Fractera/Agentic-Engineering-Infrastructureword for word, first seen Nov 29, 2026
- Fractera/web4-node-starter-kitword for word, first seen Nov 29, 2026
Other versions2 projects use a version of this.
Word for word · 2
- Fractera/Agentic-Engineering-Infrastructure★ 69100% same
- Fractera/web4-node-starter-kit★ 69100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository95 other files it gives its agents.
- app/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- act-with-the-personSkill
- adopt-suggested-skillSkill
- ai-elementsSkill
- ai-sdkSkill
- answer-elementSkill
- ask-elementSkill
- audit-broken-charactersSkill
- before-a-buildSkill
- build-product-with-ownerSkill
- content-factorySkill
- core-build-returnSkill
- core-scheduleSkill
- create-elementSkill
- create-multilingual-content-entrySkill
- dedicated-serverSkill
- design-and-settings-of-elementsSkill
- element-permissionSkill
- element-powerSkill
- expand-site-languageSkill
- explain-this-projectSkill
- find-skillsSkill
- fractera-vs-anthropicSkill
- handle-needSkill
- helpful-linksSkill
- help-in-browserSkill
- humanizerSkill
- integratorSkill
- interface-designSkill
- know-the-architectSkill
- manage-app-settingsSkill
- marketplaceSkill
- money-and-resourcesSkill
- own-agentsSkill
- persist-env-var-with-rebuildSkill
- place-page-in-menuSkill
- provider-rulesSkill
- release-templateSkill
- researchSkill
- review-pageSkill
- route-to-elementSkill
- self-reviewSkill
- shadcnSkill
- shape-the-needSkill
- skill-creatorSkill
- study-for-elementSkill
- supervise-elementSkill
- translate-pendingSkill
- ultracode-sessionSkill
- use-agentic-ragSkill
- use-ai-generationSkill
- use-aioSkill
- use-app-configSkill
- use-auth-providersSkill
- use-authSkill
- use-browserSkill
- use-channelsSkill
- use-chatSkill
- use-code-shapeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
Always on loopback, http://localhost:24680 from the node window — the core listens on [::1] only, the elements on 127.0.0.1.
- Very specific: line 49
every /<lang>/… is an architect page → architectPagesGate: owner at the machine (never on a server), showcase, a host with sign-in, the kit …
- Very specific: line 147
Before a push to Fractera that adds or changes server code: npm run prove:build-wall — the core compiles beside a folder nobody may read (a …
- Very specific: line 149
Look from inside before and after (the owner, 2026-11-22, Telegram 875: «спросить … изнутри»): the server's main agent sees what this …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
The wall of a dedicated server — how it works and how to cross it
The owner, 2026-11-22 (Telegram 849): «Ты построил стену для того чтобы защитить проекта в итоге сам ей пользоваться не умеешь? … запусти
отдельные исследования … добавь навык … В случае появления проблем связанных с этой стеной обновляет этот навык». Sources: step 811
(development-docs/development-steps/new-steps/811-a-wall-per-element-on-a-server.md), 812, 818, 833–837. A home computer has no wall:
one person, one user — and the «owner at the machine» rule there lets through what a server refuses. A change proven only on the Mac is
not proven for a server. The person hears it too: an element for another person on such a computer is born only after the wall
warning of create-element (the owner, 2026-11-27).
1. Who runs as whom
| What | User | How it starts |
| the core, native elements | the node's user (fractera) | pm2 |
| every custom element, root included | fe-<id> (no login, no sudo, group fractera-el, home /var/lib/fractera-el/<id>) | the helper /usr/local/sbin/fractera-element (unit-start, the element shim under pm2) |
an element's agent (claude) | fe-<id> | helper agent <id> --unit agent -- <claude …>: systemd-run --pty, ProtectProc=invisible, UMask 0007 (lib/agent-kit/walled-session.cjs walledLaunch) |
| an element's login shell | fe-<id> | helper agent <id> --unit shell [CLAUDE_CONFIG_DIR=…] -- /bin/bash -l (walledShell) |
| a short command as the element | fe-<id> | helper run <id> [KEY=VALUE …] -- <program>: its folder, env -i, umask 007, waits |
lib/hosting/element-wall.cjs: wallOn(root) (a server with the helper), walled(entry), userExists(id), asElement, unitOf,
walledEntryAt(root, cwd); the helper's verbs — scripts/dedicated-server/fractera-element.sh (add, remove, run, unit-start, agent,
unit-stop, signal, stop, claude-share, walls, list). Environment keys refused by the helper: LD_*, BASH_ENV, ENV, PATH, HOME, USER,
LOGNAME, SHELL, NODE_OPTIONS.
2. What is open to whom
- The element's folder
WEB4-ITEMS/user/<id>and its datadata/services/<id>: owner the node's user, mode 2770, ACLu:fe-<id>:rwX,g:fractera:rwX, other---, the same as DEFAULTS for every new file. So the core may create inside (a new folder inherits the ACL), andfe-<id>may write there. - The node's folder 0711, the core's files without «other» rights,
.env*0600. An element user reads onlyelement-readable.txt:lib/agent-kit/hook-relay.cjsand the node windowdata/node-window/logs/{domain.json,runtime.json}(818-8, written by the core at every start —lib/hosting/node-window.cjs; a walled element'sNODE_DOMAIN_FILEpoints there, so itscoreUrlOf()works). - A file an element user writes with its own mode (Claude writes its credentials 0600) masks the ACL: the core may see that it EXISTS
(the folder's x), not read it. Read such state by existence (
lib/agent-kit/claude-account.cjsownSignedIn) or as the element (run).
3. How an element reaches the core (and what refuses it)
- Always on loopback,
http://localhost:24680from the node window — the core listens on[::1]only, the elements on 127.0.0.1;127.0.0.1:24680answers nobody. With its OWN keyX-Node-Key: <its SETTINGS_SECRET>;server.jsstamps the connection of an element user (x-fractera-peer, 811-5g); the door names the caller by the key (lib/node/caller.ts) and lets it only its own affairs. - The core's proxy (
proxy/server.ts→proxy/common.ts) on a server:/api/*→apiAuthGate: a door inELEMENT_DOORS(lib/node/element-doors.mjs) passes with a key and notfromInternet(818-7a); any other/apidoor wants a session — an element has none.- every
/<lang>/…is an architect page →architectPagesGate: owner at the machine (never on a server), showcase, a host with sign-in, the kit doors (isKitDoor, 837-0c), else an EMPTY 404. fromInternet=cf-*orx-fractera-edge(nginx sets it on every proxied request) — no key is honoured from there.
- next.config runs BEFORE the proxy:
/:lang/architect/:path*→/:lang/:path*(307). The gate sees the redirected address, and Node's fetch cannot follow a 307 with a body (POST → «detached ArrayBuffer», the caller throws, an empty 500). So an element's keyed call is neither redirected nor rewritten (missing: x-node-keyon BOTH the redirect and theafterFilesrewrite, 837-0e — the rewrite runs before dynamic routes and would double «architect») and lands on the route file itself. - The element's agent pages (836, template
app/api/agent-kit/[...path]/route.ts) forward four kit doors —ticket,session,channel,claude-auth— to<core>/en/architect/<id>/agent-api/<door>, and its terminal's voice to/api/transcribe?item=<id>. The terminal itself: the browser openswss://architect.<zone>/pty/<id>with the ticket — no origin rule, the ticket decides.
4. An element's Claude on a server
- Its own account ONLY (811-5b; an app of its own on any node, 834-10): never the node's login, never a choice between them. Its folder
data/services/<id>/claude(=CLAUDE_CONFIG_DIR) is created by the core when missing (the ACL makes it the element's); the page shows one button, «Войти по подписке Claude» (837-0e).claude-authanswerscanOwn: falsefor such an element — the choice island (claude-own-login.client.tsx, core and template) draws nothing then. - Login: the bridge types
claude auth logininto the walledbash -l; the link window comes fromterminal-auth.mjs(837-0). - Signed in = its
.credentials.jsonexists or.claude.jsonhasoauthAccount(claude-account.cjsownSignedIn / accountOf) — never aclaude auth statusrun as the node's user against the element's files. - The agent starts only with its folder; before sign-in Claude shows its own login inside the terminal.
5. Traps already paid for (newest first; add every new one here with its date and fix)
- 2026-11-28 870 (paid: fractera.ai's update, the owner waiting): the core build died on «reading dir data/services/lidt5/keys —
Permission denied» — the store's private key folder (0700, fe-lidt5), which is right and stays closed. Turbopack evaluates
path,fs,fs/promisesandchild_processcalls and walks every element's data; the Mac, where all is readable, builds green.turbopackIgnorecomments andresolveAliasdo NOT stop it (measured). Fix: the loaderlib/build/untraced/loader.cjshides those four imports from the bundler — by the parser, never by text: programs kept in strings (node -eas fe-<id>) must stay as they are. Never chmod an element's private folder for a build, never movedata/aside. Proof:npm run prove:build-wall(§6.8). - 2026-11-23 846 (paid: the owner's fifth silent bot, cmdfc «Diana» on aifa.dev): the element's session started 15:44 UTC before its bot
existed (no
--channels, the plugin off), the bot was connected 15:53, nothing restarted the session — the bot read Start, sent the state, and every word after it went nowhere; the node drew only a banner. A «close + wake» from the server's agent did not restart either: wake of an element with a bot asks the person in Telegram. Fix: the admission (/start <nonce>) calls the bridge'schannelAfterAdmission— after the turn in flight the same conversation restarts with the channel (restartSame); work and loaned sessions stay without it (testadmitted-channel, with a negative control). A silent element bot, the order of checks (the server's agent found it in 10 minutes): (1) the token —ls -laofdata/services/<id>/channel/telegram/(ls -lhides.envand.token.node; a false «no token» was reported that way); (2) the session's flags — thefe-<id>claude process has--channelsand the plugin on?; (3)bun server.tsalive asfe-<id>?; (4) the element's agent itself: does it seemcp__plugin_telegram_telegram__reply?; (5) the core's pm2 lines[telegram] <id>,[channel] <id>,[agents/start] <id>— when the session started against when the bot came. - 2026-11-23 842 (caught before shipping, not paid): the node's
git fetchinto a walled element's folder would leave loose-object folders 0755 (the node's umask 022 → the ACL mask r-x: the element's next commit into that folder fails) and a FETCH_HEAD written in place (the element's own fetch → EACCES). Fix: the node's git writes in an element folder carry-c core.sharedRepository=group,--no-write-fetch-head, no automatic gc; a token never rides a sudo command line (sudo logs it), so the fetch stays the node's and the working-tree move goes as the element (lib/web4-items/element-pull.mjs, test with a negative under umask 022). - 2026-11-22 839-12: past the first-run marks a walled element's session stood on Claude Code's trust question for its data folder («Adding
a new directory … Your answer holds for this session») — its own Claude home never trusted the node's repository, so the
--add-dirofdata/services/<id>asks on EVERY session, and the node's trust watcher answers once per session and only on a Telegram-confirmed wake. Fix: before every session the bridge marks the element's own home as itself (telegram.markOwnHome) — onboarding, theme,projects[<its folder>]andprojects[<its data folder>]hasTrustDialogAccepted(measured on Claude Code 2.1.330 with a scratch home: the record removes the question, without it the question) — never the repository root. Rule: what Claude Code asks before its MCP servers start is settled in the element's own home before the session, or a Telegram wake never gets its channel. - 2026-11-23 839-13: 839-12 itself broke the element —
walledAtanswers{ id, dir, wall }or null, nevertrue; compared with=== truethe node always took the element as unwalled, marked its 0600.claude.jsonAS ITSELF, read EACCES as «empty» and wrote its own file over it; the element could not read it and started fresh on the theme screen (found by the server's main agent, Telegram 1073). The test's stub answeredtrue. Fix: truthiness; the node's user never replaces a file it cannot read; stubs keep the real shape (a negative proves the old check fails the test). Rule: a stub of a wall function returns what the real one returns. 839-14: the channel's poison cleanup (781-2: the failure cache entry, the plugin off in settings) runs AS THE ELEMENT behind the wall too. - 2026-11-22 839-10/11: a walled element's channel never came up — no MCP log after 18:11,
.claude.jsonwithout onboarding and trusted folders: the NODE had runclaude plugin installwith the element's CLAUDE_CONFIG_DIR, could not read its 0600.claude.jsonand wrote a fresh one over it; every session then stood on Claude Code's first-run screen before its MCP servers. Fix: behind the wall everyclaudeandbuncall into the element's Claude home runs AS the element (asWalled→ helperrun), the first-run marks (onboarding, theme — never a consent) are set in its own file as itself before the channel, and a failed channel logs the last line of the screen. Rule: the node never runs a program against an element's Claude home as itself — not even «just to install». - 2026-11-22 839-6…8: a walled element's bot said «not signed in» (
claude auth statusas the node cannot read fe-<id>'s 0600 files → read by existence); its own gates in settings.local.json were core scripts (→ the relay; boundary closes on silence); its channel never came up — the pluginchmod 0600s.envfirst and swallows EPERM on a file it does not own (→.envhanded to the element as itself, the node keeps.token.node). Rule: anything a walled session's own program writes or chmods must be the element's file, not a node file opened by ACL. - 2026-11-22 17:20: I declared «uuy30 born without a wall» from an empty
getent passwd fe-uuy30— the element had been deleted at 17:06 UTC, andremovetakes the user and the record away. Before reading the wall, prove the element is alive (registry, its port). - 2026-11-22 837-0f: after the 837-0e update a NEW element (uuy30) still got «Подписка узла» —
claude-account.cjsloaded the wall byrequire(path.join(root, …)); the core's Next bundle compiles that into «Cannot find module 'unknown'», thecatchanswered «not walled». Unit tests passed (unbundled). Fix: static requires; guardcheck:bundle-requiresbetween the build and the restart. - 2026-11-22 837-0e: every POST of an element's page (switch, ticket, session) → empty 500 — the 307 of next.config, Node fetch cannot resend the body; the own-only element was offered «Подписка узла» and its own folder did not exist → no «Войти», no terminal.
- 2026-11-22 837-0d: the gate rule matched
/en/architect/<id>/…, the gate sees/en/<id>/…(curl showed the 307) — one wasted update. - 2026-11-22 837-0c: an element's kit doors got an empty 404 from the page gate on a server; on the Mac «owner at the machine» hid it.
- 2026-11-22 837-0b: the core and natives typed into the node user's zsh (no rc → Debian's newuser menu); walled shells were bash -l —
one shell rule now (
claude-cli.cjsshellCandidates/loginShellArgs). - 2026-11-20 811-6: the node touching what now belongs to the element —
cpSyncinto its standalone folder (EPERM), git «dubious ownership» (safe.directory per call), a closed path above its folder (open_way). Inside a walled element, act AS the element (run).
6. Before asking the owner for a server update that touches the wall
- Name every caller and the exact address and method it uses (GET and POST separately).
curl -s -o /dev/null -D - https://architect.<zone>/<that path>on the live server — follow every redirect to the final location; the proxy rule must match THAT.- A POST across the wall: reproduce the call with Node's fetch locally (a body over a redirect throws). A routing rule (redirects,
rewrites,
has/missing) — prove it on a scratch Next app in the scratchpad: the core'snode_moduleslinked,next build --webpackwithenv -u TURBOPACK(Turbopack refuses a link out of the project),next starton a scratch port, the exact calls. EVERY command of it insidecd <scratch> && [ "$(pwd -P)" != <the core> ] && …— ✗ 2026-11-22 a failedcd …;ranprintf > package.jsonandnext buildin the core: package.json and tsconfig.json overwritten, the core's.nextwiped (repaired by git and a core build). - Through the Claude in Chrome extension, on the element's own pages: the door's status for each action (
fetch('/api/agent-kit/…')), not only the screen. - Rights: anything the core writes inside an element's folder — will
fe-<id>read it, and will the core read whatfe-<id>writes? - Tests:
scripts/node-key-split.test.mjs(gate rules, the redirect),scripts/element-wall.test.mjs(helper, dry:FRACTERA_ELEMENT_DRY=1),scripts/terminal-auth.test.mjs(shells, the login link) — each new trap gets its negative here. - A rule the core's routes run — read it in the BUILT code (
.next/server), never only inlib/:npm run check:bundle-requires. - Before a push to Fractera that adds or changes server code:
npm run prove:build-wall— the core compiles beside a folder nobody may read (a copy of HEAD in the temporary folder, 1–2 minutes, the node untouched;--full— types and pages too). - Look from inside before and after (the owner, 2026-11-22, Telegram 875: «спросить … изнутри»): the server's main agent sees what this
computer cannot —
getent passwd fe-<id>,/etc/fractera/elements, the built chunk, the door's answer on loopback. - On the server itself only through the owner's hands or the server's agent (read-only):
sudo -n /usr/local/sbin/fractera-element run <id> -- <cmd>proves what the element can see.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

