Eight Edges

Maintenance guide

How to keep Eight Edges running once it is installed: who can sign in to what, keys, the scheduled jobs, taking new versions, backups, costs, security and the licence.

It is written for the owner or operator who looks after the company's accounts. Most tasks are done in the Vercel or Supabase dashboards. Some are a single sentence you give Claude Code, opened in your company's copy of the code. Those are marked Ask Claude. Where the published sources say nothing about a task, this guide says so rather than guessing.

Accounts and passwords

Keep all of these in the company's password manager, not in one person's inbox:

  • The GitHub, Supabase, Vercel and Anthropic logins, ideally under a company email address
  • The database password from installation. Supabase cannot show it again
  • The passwords you gave the assistants' restricted database accounts, if you turned the assistants on
  • Logins for any optional service you use, such as Resend or Stripe

Your keys live in Vercel > your project > Settings > Environment Variables. Never paste them into chat, email or a file in the code.

When someone who looks after these accounts leaves, remove them from GitHub, Supabase and Vercel, take their email off the admin settings (see below), and change any key they could see (see Keys and changing them).

Who can sign in, and to what

The three portals

PortalAddressFor
Admin/adminFounders and operations: CRM, hiring, boards, revenue, marketing, operations, coaching
Team/teamEach team member: profile, time off, equipment, coaching, assistant
Client/portalEach client: roadmap, backlog, documents, plan assistant

Admins

Admin access needs two things, both checked on the server:

  1. The person has a sign-in (a Supabase Auth user), and is signed in.
  2. Their email is in the admins table, or in the ADMIN_ALLOWLIST setting.

To add an admin, create their sign-in in Supabase > Authentication > Add user, then add their email to the admin list. Ask Claude: "Add as an admin of our Eight Edges." To remove one, take them out of both the admins table and ADMIN_ALLOWLIST.

ADMIN_EMAILS is a separate setting. It holds your own address, and it is also where contact-form messages are delivered. Keep it set to someone at your company. If it is empty, those messages go to Edge8.

Keep at least two admins, so the company is never locked out.

Pay and personal details

Being an admin is deliberately not enough to see pay and personal details. Two things control it: the can_view_sensitive flag on a person's admin record, and the SENSITIVE_VIEWERS setting. Give either only to people who should see wages.

Team members and clients

The sources do not describe how team members and clients get their sign-ins. The product page says each client has its own login and can manage its own users, and that the admin assistant can invite portal members with your permission. Ask Claude to read the code in your copy and walk you through it.

Keys and changing them

Every key is a setting on the Vercel project, set for Production, Preview and Development. The installation guide lists each one and what it switches on.

Changing a setting

  1. Change the value in Vercel > Settings > Environment Variables, in all three environments.
  2. Redeploy the latest production deployment. A running site does not pick up a new value on its own.
  3. Check the value was not saved empty. An empty value behaves exactly like a missing one. Ask Claude: "Pull our Vercel settings and check none is empty."

Changing keys after a leak, or when someone leaves

  • Supabase: create a new key in the Supabase dashboard and put it in SUPABASE_SECRET_KEY. Use the service_role key, not the masked sb_secret_ one the command line prints.
  • Anthropic, Resend, Stripe: create a new key in each dashboard, update Vercel, then delete the old key.
  • CRON_SECRET: generate a new one with openssl rand -hex 32.
  • The assistants' database accounts: give them new passwords, then update CHATBOT_DB_URL, TEAM_CHATBOT_DB_URL and CHATBOT_WRITE_DB_URL. The steps are at the bottom of supabase/00-prereqs.sql.

Redeploy after any change. If NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY changed, sign out and check that /admin still sends you to the sign-in page.

Scheduled jobs

The scheduled jobs are listed in vercel.json. The README counts 18. Vercel registers them each time the site deploys. They include the coaching cycle with hourly recaps, onboarding, probation and performance review reminders, contractor payments, the QuickBooks refresh and invoice sync, the idea and board digests, and an email campaign sender that runs every 15 minutes.

Two things decide whether they run:

RequirementWhy
CRON_SECRET is setEvery job refuses to run without it. This is on purpose. Unset, every job fails with a 401 error
Vercel Pro, for the frequent jobsThe Hobby plan only runs daily jobs. The hourly and every-15-minutes jobs need Pro

To check they run, open Vercel > your project > Settings > Cron Jobs, or look in Vercel > Logs for the job's address.

To switch off a job you do not need, Ask Claude to remove it from vercel.json in your copy. The change takes effect on the next deploy.

Taking updates

How the public repository works

The public repository is a filtered snapshot, not a mirror. It is generated from Edge8's private application repository by a sync that removes confidential and personal material. Each sync is squashed into a single commit. It carries no history and no branches.

What that means for you:

  • Pull requests there are overwritten by the next sync. To report a problem or ask for a change, open an issue instead.
  • It is not a backup. It cannot restore your copy or your data.
  • There is no database upgrade path in the repository. The database is built from 00-prereqs.sql and 01-schema.sql, and migration files are left out on purpose.

Bringing a new version into your copy

The sources do not describe how an installed copy takes a new version. Because each snapshot has no shared history with the last, a normal Git merge from the public repository may not work cleanly.

A cautious way to do it:

  1. Ask Claude: "Compare our copy with the latest snapshot at github.com/edge8-ai/8-Edges-Fork. List what changed, and bring the changes we want into a new branch. Keep our own changes."
  2. Vercel builds a preview of the branch at its own address. Click through the admin, team and client portals there.
  3. If the new version changed the database, Claude must work out the difference and apply only that. Do not run 01-schema.sql again on a live database. It is meant to run once, and a second run reports errors.
  4. Make a backup before any database change (see below).
  5. When the preview works, merge the branch into your main branch. That deploys the live site.

If you want help with this, the community offers install help and working sessions.

Backups

The sources do not describe backups for an Eight Edges install. Your data lives in your own Supabase project, so backups are Supabase's, and they depend on your Supabase plan. Read Supabase's backup documentation and check what your plan keeps, for how long, and whether it covers the files people upload to Storage.

Two things worth doing whatever your plan:

  • Keep your own copy outside Supabase. Ask Claude: "Make a full copy of our database with pg_dump into a dated file." Do not use supabase db dump: it needs Docker and fails without it. Treat the file as confidential. It holds your people, deals and pay data.
  • Keep the database password. You need it to make or restore a copy.

Your code is safe in GitHub, which keeps every version of your copy.

Costs

The sources give no prices. What they say:

ServiceWhat to expect
SupabaseThe free tier covers a small team. Upgrade once your team relies on it
VercelThe Hobby plan covers a small team, but runs only daily jobs and cuts long assistant replies short. Pro is needed for the hourly and every-15-minutes jobs
AnthropicPay as you go, charged to your own account. You control which agents run
Resend, Stripe and other optionsOnly if you switch them on

To see what the AI features cost, look for [ai-usage] lines in Vercel > Logs. They show the token cost per feature. Set a spending limit in your Anthropic account, and check the bills monthly.

Security

How the assistants are kept read-only

The assistants cannot change your data on their own, and that is enforced by the database, not by instructions in a prompt.

  • The admin and team assistants connect as two restricted database accounts, chatbot_reader and team_chatbot_reader. These accounts can only read, are blocked from some columns, and any query is stopped after 5 seconds.
  • On top of that, the app accepts only a single reading query at a time, and blocks some tables.
  • Changes need a third account, chatbot_writer, through CHATBOT_WRITE_DB_URL. They also need the person's email in CHATBOT_PRIVILEGED_EMAILS and a person clicking to approve each change. Leave CHATBOT_WRITE_DB_URL unset and changes are impossible.
  • Giving the read-only accounts a password does not widen what they can read.

If you or Claude add a new assistant tool, keep that shape. The database is the boundary, not the prompt.

Other rules

  • SUPABASE_SECRET_KEY stays on the server. It must never get a NEXT_PUBLIC_ prefix, which would send it to every browser.
  • The publishable key protects the admin pages. If it is missing or empty, the login check switches itself off and /admin can leak dashboard figures. After any settings change, check that /admin sends a signed-out visitor to the sign-in page.
  • Private files stay private. Six storage folders, including ID documents, passports and resumes, must never be public. Check them in Supabase > Storage.
  • Review who has access every few months: the admins table, ADMIN_ALLOWLIST, SENSITIVE_VIEWERS and CHATBOT_PRIVILEGED_EMAILS.

Where to look when something is wrong

ProblemLook here
A page shows an errorVercel > Logs, at the time it happened
The site will not build after a changeVercel > Deployments, the failed one, and its build log. The last good version stays live
Every number reads 0The exposed schemas under Supabase > Settings > API, and SUPABASE_SECRET_KEY
/admin opens while signed outNEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY. Treat it as a security problem
Sign-in links or password resets failSupabase > Authentication > URL Configuration, for your current address
A scheduled job did not runVercel > Settings > Cron Jobs, CRON_SECRET, and your Vercel plan
An AI feature returns errorsANTHROPIC_API_KEY, and whether you redeployed after adding it
The assistant says "Database access is not configured"CHATBOT_DB_URL, and the reader account's password
AI replies are cut off or will not parseA length limit was hit. The stored error says so
Emails do nothingRESEND_API_KEY

The installation guide has a fuller troubleshooting table. Ask Claude with the error message and what you were doing; it can read the logs and propose a fix for you to approve. Problems with the software itself go to the repository's issues.

Licence

Eight Edges is licensed under the PolyForm Internal Use License 1.0.0. In plain terms:

  • Free for your own company. Any company may run it and change it for its own internal operations.
  • Not for others. Reselling it, white-labelling it, or hosting it for other companies needs a commercial licence. Talk to Edge8.
  • No warranty. The code is provided as-is, with no support commitment. Help is available through the community or the done-for-you install.

Read the licence itself for the exact terms. The README's own note about the licence is out of date; LICENSE.md is the one that applies.