# Client Weekly Ops Board, free sample: a one-week desk table from your logs, with five checks

Free. By PaperChaseWebb Inc., 2026-11-03. Python 3.9 or newer, standard library only.

A retainer client should be able to see, every Monday, what each desk did, what failed and what is waiting on them, with every figure traced to a log line. This sample builds that table from one JSON line per run and checks it with five of the full kit's twelve rules, tested.

## The log format

One line per run in logs/<desk>.jsonl:

File: mini/client/logs/followup.jsonl

~~~json
{"id": "followup-0001", "ts": "2026-10-20T10:00", "task": "drafted follow-up email", "status": "done", "needs_yes": false}
{"id": "followup-0002", "ts": "2026-10-20T11:30", "task": "sent follow-up email", "status": "done", "needs_yes": true, "approval": "given"}
{"id": "followup-0003", "ts": "2026-10-22T16:10", "task": "send follow-up email", "status": "held", "needs_yes": true, "approval": "waiting"}
~~~

status is done, failed or held (held means nothing went out). needs_yes marks anything that needs the client's yes, and approval records what they said.

File: mini/client/logs/intake.jsonl

~~~json
{"id": "intake-0001", "ts": "2026-10-19T08:12", "task": "lead card from web form", "status": "done", "needs_yes": false}
{"id": "intake-0002", "ts": "2026-10-20T09:40", "task": "lead card from voicemail", "status": "done", "needs_yes": false}
{"id": "intake-0003", "ts": "2026-10-21T14:05", "task": "lead card from voicemail: transcript empty", "status": "failed", "needs_yes": false}
~~~

File: mini/client/scope.json

~~~json
{"client": "Juniper Street Dental", "desks": [
 {"id": "intake", "name": "Intake Desk", "runs_included_month": 400},
 {"id": "followup", "name": "Follow-up Desk", "runs_included_month": 200}]}
~~~

File: mini/client/summary.txt

~~~text
Both desks ran this week. 1 intake run failed on an empty voicemail transcript, and 1 follow-up is waiting on your yes.
~~~

## The five checks

| Check | What it catches |
|---|---|
| K1 | a desk in the scope has no log file |
| K2 | a log line cannot be read, or has no id, time, task or valid status |
| K3 | something that needed the client's yes was done without it |
| K4 | the summary uses a number that is not on the table |
| K5 | the summary claims saved, ROI, revenue, guarantee or 24/7 |

~~~sh
python3 mini/board_mini.py mini/client 2026-10-19
python3 tests/test_mini.py
~~~

Both were run on 2026-11-03 on Linux: the example prints the table and `board OK: 5 checks passed`, and all 7 tests pass (the clean week, each fault planted alone, and the exit codes).

File: mini/board_mini.py

~~~python
#!/usr/bin/env python3
"""board_mini.py: a one-week desk table from your agents' logs, with five checks (free sample of the Client Weekly Ops Board).

  python3 mini/board_mini.py CLIENT WEEK_START

CLIENT holds scope.json, logs/<desk>.jsonl and summary.txt. WEEK_START is a Monday, YYYY-MM-DD.
K1 every desk in the scope has a log file
K2 every log line reads, with id, ts, task and a status of done, failed or held
K3 nothing that needs the client's yes was done without it
K4 every number in the summary is on the table
K5 the summary claims nothing the logs cannot back (saved, ROI, revenue, guarantee, 24/7)
Prints the table, then any findings. Exit 0 when clean, 1 on any finding, 2 on bad usage.
Standard library only, read-only, no network.
"""
import json, os, re, sys
from datetime import date, datetime, timedelta

CLAIMS = ("saved", "roi", "revenue", "guarantee", "24/7")


def run(client, ws):
    F, rows = [], []
    with open(os.path.join(client, "scope.json"), encoding="utf-8") as f:
        scope = json.load(f)
    start = date.fromisoformat(ws)
    end = start + timedelta(days=7)
    for d in scope["desks"]:
        p = os.path.join(client, "logs", d["id"] + ".jsonl")
        if not os.path.exists(p):
            F.append(("K1", d["id"], "no log file"))
            rows.append((d["name"], 0, 0, 0))
            continue
        runs = failed = waiting = 0
        with open(p, encoding="utf-8") as f:
            for n, line in enumerate(f, 1):
                if not line.strip():
                    continue
                try:
                    e = json.loads(line)
                    day = datetime.fromisoformat(e["ts"]).date()
                    assert e["id"] and e["task"] and e["status"] in ("done", "failed", "held")
                except Exception:
                    F.append(("K2", d["id"], "line %d" % n))
                    continue
                if not start <= day < end:
                    continue
                runs += 1
                failed += e["status"] == "failed"
                if e.get("needs_yes") and e.get("approval") == "waiting" and e["status"] != "done":
                    waiting += 1
                if e.get("needs_yes") and e["status"] == "done" and e.get("approval") != "given":
                    F.append(("K3", d["id"], "%s was done without a yes" % e["id"]))
        rows.append((d["name"], runs, failed, waiting))
    sp = os.path.join(client, "summary.txt")
    summary = ""
    if os.path.exists(sp):
        with open(sp, encoding="utf-8") as f:
            summary = f.read()
    nums = {str(x) for r in rows for x in r[1:]}
    for n in re.findall(r"\d+", re.sub(r"\d{4}-\d{2}-\d{2}", " ", summary)):
        if str(int(n)) not in nums:
            F.append(("K4", "summary", "says %s" % n))
    for c in CLAIMS:
        if re.search(r"(?<![a-z])" + re.escape(c) + r"(?![a-z])", summary.lower()):
            F.append(("K5", "summary", "says '%s'" % c))
    return rows, summary.strip(), F


def main(argv):
    if len(argv) != 2:
        print(__doc__)
        return 2
    rows, summary, F = run(*argv)
    print("Week of %s\n\n%s\n\n| Desk | Runs | Failed | Waiting on you |\n|---|---|---|---|" % (argv[1], summary))
    for r in rows:
        print("| %s | %d | %d | %d |" % r)
    print()
    for f in F:
        print("%s %s: %s" % f)
    print("board NOT ready: %d finding(s)" % len(F) if F else "board OK: 5 checks passed")
    return 1 if F else 0


if __name__ == "__main__":
    sys.exit(main(sys.argv[1:]))
~~~

File: tests/test_mini.py

~~~python
#!/usr/bin/env python3
"""Tests for the free board_mini.py sample."""
import io, json, os, shutil, sys, tempfile, unittest
from contextlib import redirect_stdout
H = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(H, "mini"))
import board_mini as bm
WS = "2026-10-19"


class Mini(unittest.TestCase):
    def setUp(self):
        self.t = tempfile.mkdtemp()
        self.c = os.path.join(self.t, "client")
        shutil.copytree(os.path.join(H, "mini", "client"), self.c)

    def tearDown(self):
        shutil.rmtree(self.t)

    def codes(self):
        return sorted({c for c, _, _ in bm.run(self.c, WS)[2]})

    def add(self, desk, line):
        with open(os.path.join(self.c, "logs", desk + ".jsonl"), "a", encoding="utf-8") as f:
            f.write(line + "\n")

    def summary(self, s):
        with open(os.path.join(self.c, "summary.txt"), "w", encoding="utf-8") as f:
            f.write(s)

    def test_clean_and_table(self):
        rows, _, F = bm.run(self.c, WS)
        self.assertEqual(F, [])
        self.assertEqual(rows, [("Intake Desk", 3, 1, 0), ("Follow-up Desk", 3, 0, 1)])

    def test_K1(self):
        os.remove(os.path.join(self.c, "logs", "followup.jsonl"))
        self.summary("Intake ran 3 times.")
        self.assertEqual(self.codes(), ["K1"])

    def test_K2(self):
        self.add("intake", "{broken")
        self.assertEqual(self.codes(), ["K2"])

    def test_K3(self):
        self.add("followup", json.dumps({"id": "f-9", "ts": "2026-10-23T09:00", "task": "sent email", "status": "done", "needs_yes": True, "approval": "waiting"}))
        self.assertEqual(self.codes(), ["K3"])

    def test_K4(self):
        self.summary("Intake ran 30 times.")
        self.assertEqual(self.codes(), ["K4"])

    def test_K5(self):
        self.summary("The desks saved you hours.")
        self.assertEqual(self.codes(), ["K5"])

    def test_cli(self):
        with redirect_stdout(io.StringIO()):
            self.assertEqual(bm.main([self.c, WS]), 0)
            self.summary("Huge ROI.")
            self.assertEqual(bm.main([self.c, WS]), 1)
            self.assertEqual(bm.main([]), 2)


if __name__ == "__main__":
    unittest.main(verbosity=1)
~~~

## For Grok Bot, Claude Code, Codex and Hermes

~~~text
Append one JSON line per run to logs/<desk>.jsonl: id, ts, task, status (done, failed or held), needs_yes and approval. Every Monday, write summary.txt in three sentences using only numbers from the table, then run python3 mini/board_mini.py on the client folder. No saved, ROI or guarantee claims. Never send the report; I do that.
~~~

## What the full kit adds

The Client Weekly Ops Board ($29) adds month-to-date figures against the scope sheet, approvals asked, given, declined and waiting, review hours, quiet desks shown by name, exception notes for anything done without a yes, overage notes, redaction of emails and phone numbers, a check that the board still matches the logs, a mobile html board, your approval at your own terminal tied to a hash, and a release step that writes to an outbox and never sends. 25 tests and agent files for all four harnesses.

If you would rather have the desks and the Monday report run for you, Managed Ops starts at $5,000/mo with $2,500 onboarding and a 3-month minimum. Book a call on the paperchasewebb.ai homepage. Every price is a starting price.
