Chapter 13 — A Pack of Your Own
Apply the full method to a vendor-rebate true-up and assess nine deliverables against a rubric.
Felix Reyes · The Skills Pack · First edition, 2026 · CC BY 4.0 · Router
This chapter hands you a process the book never touched and asks for the whole method, from a Controller’s brief to a release decision. You produce nine artifacts, which Section 13.4 lists. The materials are in the companion files under data/capstone/brief/. The scoring rubric, data/capstone/rubric.md, says what earns credit, so read it before you begin. A reference solution is in answers/capstone/, for comparison after your work is scored. The chapter is the exercise, and the materials contain mistakes you are meant to find.
For a team, this is the rehearsal before it converts its first process: one preparer’s work and one reviewer, with every step done in files before a host sees any of it.
The brief
The brief is one page from the Controller, printed whole.
File: data/capstone/brief/README.md (lines 1–11).
# The vendor rebate true-up: your brief
From Dana Whitfield, Controller.
Marcus books our vendor rebates every month at a blended 2.1% of cost of goods
sold, reviews them each quarter, and trues them up to the four rebate programs
at the year-end close. The true-up lives in his workbook. This year it had to
cope with a new AP system halfway through the year and a contract we had read
wrong, and I want it out of the workbook and into a skill the team can run and
I can review.File: data/capstone/brief/README.md (lines 12–30).
Build it for the December 2025 true-up: a memo I can sign, with the journal
entry, from the files in this folder. Use the method: screen the process,
shadow it from Marcus's notes, sort the steps, write the skill and its script,
write the output contract, write a test case and its checks, run it, and tell
me whether it is ready to release.
| File | What it is | From |
| --- | --- | --- |
| how-we-do-it.md | How Marcus does the true-up today | Marcus Oyelaran, senior accountant |
| q3-rebate-review.md | Last quarter's review memo | Marcus Oyelaran |
| email-corbel-agreement.txt | One email thread about the Corbel agreement | Dana, Mira, Marcus |
| rebate_programs_2025.csv | Marcus's sheet of the four programs and their tiers | Marcus, from purchasing's summary |
| ap_register_2025h1.csv | Purchase register, January to June, from the old AP system | Tomas Herrera, AP lead |
| ap_register_2025h2.csv | Purchase register from the new AP system, pulled 6 January 2026 | Tomas Herrera |
| ap_credits_side_file.csv | Tomas's list of vendor credits, keyed or not | Tomas Herrera |
| gl_rebate_accounts_2025.csv | GL activity for 1150 Vendor rebates receivable and 5090 Vendor rebates | General ledger |
Nothing else exists. Where the files do not answer a question, the answer is
a question to its owner, not a guess.Read it as Chapter 2 reads a process. The Controller, Dana Whitfield, signs, so she is the reviewer on every worksheet. The deliverable is a memo with the journal entry for the December 2025 true-up, and the same computation at each quarter-end as a review. The brief names steps 1 to 6, 9 and 10 in its own words. Steps 7 and 8 come to a routing table with one leaf in it. The last line is the one rule: where the files do not answer, “the answer is a question to its owner, not a guess.” Every value no rule places becomes a question with a name on it.
What the brief does not tell you is in the materials or nowhere. “Nothing else exists” means the people in the file table answer no questions during the exercise: the memo asks, and the Controller follows up.
The companion files include the brief’s inventory, with data rows and the first twelve characters of each file’s hash, so you can check your copy:
File: examples/capstone/brief-inventory.txt (lines 1–9).
README.md 30 lines sha256 2222a5658267
ap_credits_side_file.csv 4 rows sha256 125516e51c6f
ap_register_2025h1.csv 141 rows sha256 83e0911e6207
ap_register_2025h2.csv 143 rows sha256 deab8bf87f95
email-corbel-agreement.txt 57 lines sha256 f3e17fbd95c7
gl_rebate_accounts_2025.csv 24 rows sha256 2ee6362e3bf0
how-we-do-it.md 59 lines sha256 8aeb4353a522
q3-rebate-review.md 23 lines sha256 6bafeb3aebb5
rebate_programs_2025.csv 11 rows sha256 4ddf76d16d96
The raw materials
The eight files follow in the brief’s order, each with what it contains, its grain and where it comes from. Read every one before you fill the problem screen.
how-we-do-it.md is Marcus Oyelaran’s description of the true-up: the monthly accrual, then eight numbered actions from pulling the registers to writing it up, most with their rule in the same sentence. After the list come paragraphs of context: what he knows about the systems and the vendors, the Controller’s rule, whom to ask about what, and what he looks at for the buyers. It is a work map in prose.
q3-rebate-review.md is last quarter’s memo, one page: booked, earned at projected tiers, the gap as a percentage of booked, a vendor table and four notes. It is the shape the Controller is used to. Your contract replaces it.
In email-corbel-agreement.txt, the Controller, the buyer Mira Halvorsen and Marcus exchange four messages on 2 and 3 December 2025 about the Corbel agreement. The last is an instruction for the memo.
rebate_programs_2025.csv is Marcus’s sheet of the four programs, eleven rows, one per tier, with the program, vendor, product family, tier type, floor, rate and the buyer who owns it. Floors have thousands commas inside quotes, and rates are written 3.0%. He keeps it by hand.
The old AP system’s export, ap_register_2025h1.csv, covers January to June, 141 data rows, one per invoice. Its header and first two rows:
File: data/capstone/brief/ap_register_2025h1.csv (lines 1–3).
Vendor Name,Invoice No,Invoice Date,PO Number,Category,Description,Merchandise Amt,Freight Amt,Tax Amt
Dunmore Print Supply,DPS-23333,2025-01-06,PO-41333,MERCH,Toner cartridges,"37,288.41",633.90,0.00
Halyard Breakroom Supply,HBS-22551,2025-01-06,PO-41338,MERCH,Coffee and filters,"7,036.83",112.59,527.76
Dates are ISO, amounts have thousands commas inside quotes, and Category takes MERCH, RETURN or REBATE. The new system’s export, ap_register_2025h2.csv, pulled on 6 January 2026, has 143 data rows, one per invoice line:
File: data/capstone/brief/ap_register_2025h2.csv (lines 1–3).
Supplier ID,Supplier,Document No,Line,Doc Date,PO,Item Class,Memo,Line Total,Freight,Sales Tax
V-1240,Corbel Filing Systems,CFS-23276,1,07/02/2025,PO-42000,INV,Lateral file cabinets,22234.80,393.15,0.00
V-1119,Ardent Packaging Supply,APS-23688,1,07/05/2025,PO-42001,INV,Corrugated shipping cartons,4530.72,84.48,0.00
Every column name differs from the old export’s. In the rows shown, dates are month/day/year, amounts have no commas, and Item Class uses the new system’s codes.
Tomas Herrera’s list of vendor credits, ap_credits_side_file.csv, has four rows, each marked as keyed in AP or not. Its header and first two rows:
File: data/capstone/brief/ap_credits_side_file.csv (lines 1–3).
credit_date,vendor,credit_note,amount,reason,keyed_in_ap,entered_by
2025-11-12,Dunmore Print Supply,CN-DPS-0447,"-2,175.40",Damaged toner cartons returned,Y,Tomas Herrera
2025-12-19,Dunmore Print Supply,CN-DPS-0461,"-5,940.00",Short-dated stock returned,N,Tomas Herrera
gl_rebate_accounts_2025.csv is the ledger’s activity for 1150 Vendor rebates receivable and 5090 Vendor rebates: 24 rows, one per month and account, with opening, debits, credits and closing, debits positive and credits negative. It is the one file the entry must tie to, and the one no person wrote.
The order of work
Work the ten steps in order, each on its worksheet from Appendix C (blank copies under worksheets/).
Pick the process (step 1, Section 2.2). Fill the problem screen: process, deliverable and signer, frequency, preparer, reviewer and consumers, and every fixed input with its grain and source system. Five files arrive each cycle, from three systems and two people. Ask whether the inputs are fixed. Where the answer is no, say which fix of Section 2.6 applies to which file, and whether the fix is yours to make. No file in the brief records how long the true-up takes or how often it is corrected, so write “record” in every baseline value cell, the rubric’s word for a figure the team must measure rather than invent. The reviewer checks that the hand-kept files and the GL extract are on the inputs list.
Shadow it (step 2, Section 2.4). Shadow Marcus from his notes, with the Q3 memo and the email beside them. Write one row per action and quote his rule where he states one. His judgment calls belong in rows of their own, which is what the reviewer reads the map for. Where one of his sentences contains two kinds of work, split it into two rows. Record the checks he runs, if any.
Sort every step (step 3, Chapter 3). Give every row one kind. Compute takes every rule Marcus can state, and any the data needs that he never wrote down. Judgment takes what the brief’s last line leaves to a person, which points the buyers need, and the memo’s wording. House rules are the voice and the source trace, copied from house/ with the pin and the lock Chapter 8 describes, and amounts in cents, because a journal entry is booked to the cent. Proof is the identities, one of them across two inputs from two systems. The reviewer reads the sheet for any number, classification or tier left to the model.
Write the skill and its script (step 4, Chapters 4 and 5). The input policy comes first: the script reads either register layout by its header, refuses any other with exit 2 and one error: line, and never edits an input to make it fit. If one flag takes both registers, the display block calls their roles register_1 and register_2 in flag order (Appendix A, 3.7.4). The period is a flag with a stated default. Exit codes follow Table 5.1, with exit 3 for an identity across inputs. In the leaf, the first instruction step gates the headers, the command names the script from the pack root, and the description says what the skill is not for, starting with the nearest request, the month-end accrual review. The reviewer asks whether the description would fire on an accrual review.
Write the output contract (step 5, Chapter 6). Sections come in a fixed order: a headline, the true-up by program as a table whose rows come from a display list, the proposed entry as a table, the questions, and data notes for all five inputs. Each question names who can answer it and what changes if the answer is yes. One rule applies under every section: every figure in the memo is one the script printed. Fill the contract worksheet slot by slot, with the display key, golden string and the check that reads each. The reviewer checks that the entry and the questions are fixed in shape.
Prove the skill (step 6, Sections 9.3 to 9.6). The case lists five files under inputs, a prompt in business words that names the files but not the skill, the skill files to read, and the checks in order. Your checks.py contains the generic core, copied unchanged, and a SKILLS entry: an identity from the result, an identity from the raw files that never calls the script, the contract specification, the binding records and the header contract. Add one check of the leaf’s own point: the entry recomputes from the registers and the GL, or the memo asks about exactly the values the script could not place. A good fixture passes every check, and each check is shown failing on a defect you plant. Write the out-of-scope case for the accrual review. The reviewer reads the source-side identity for a call to the script or a copy of the result.
Group the skills and Route and share (steps 7 and 8, Chapters 7 and 8). One leaf makes a routing table of two rows: the leaf’s, and the stop row for requests the pack is not for. The shared layer contains the two house copies, pinned and locked, and the reviewer checks that each house skill is one hop from the router.
Prove the pack (step 9, Sections 9.8 to 9.12). Run both cases on your host with the runner, in the clean configuration. Fill the test plan, then the sign-off grid with the run folder’s stem and the verdict line as recorded, because without the folder and the copied verdict the reviewer has nothing to sign. Every failed run gets a disposition, and a re-checked verdict never stands alone.
Roll out and measure (step 10, Chapter 10). The two decisions rest on separate evidence. Whether the pack version is released comes from the sign-off grid. Whether the December memo goes to the Controller comes from the release gate on its run folder and the reviewer’s signature, with every open question stated. The reviewer checks that the two decisions are kept apart.
Exercise 13-1. Screen a second candidate from the brief’s world: the monthly accrual at 2.1 percent of cost of goods sold. Answer the five questions of Section 2.1 and say whether it should become a skill.
Exercise 13-2. Marcus’s step 7 reads “Sum by vendor, find the tier, apply the rate, compare with 5090, and book the difference.” Write its work-map rows, with input, output and his rule where he states one, then sort them. How many rows does the one sentence become, and of which kinds?
Exercise 13-3. Write the header contract for both register layouts as your SKILLS entry would hold it, and the one error: line the script prints for a file whose header matches neither.
Exercise 13-4. The contract’s entry table has two amount cells. Which display keys do they copy, and which check fails if the model writes the entry’s amount in whole dollars?
Exercise 13-5. After your own work is done, open the reference pack’s golden file, answers/capstone/vendor-rebates/tests/golden/rebate-true-up.json. From its display block, write one memo sentence that provenance passes and binding fails, and name the record the figure belongs to.
What to hand in
Nine artifacts, each a file or a folder:
The problem screen with its baseline block (Section C.1).
The work map (Section C.2).
The sort sheet (Section C.3).
The skill file: the leaf’s
SKILL.mdand the router.The script, under the leaf’s
scripts/.The output contract: the leaf’s section and the contract worksheet (Section C.4).
The test case and checks:
tests/with the case, the out-of-scope case, the golden file, the good fixture andchecks.py.The test run: the repository-side run and the host run’s folder, with the test plan and sign-off grid (Section C.5) filled.
The release decision, one page.
The release decision has a fixed shape. For the pack version it says released, or held with the failing check named, and cites the run folder the grid names. For the memo it says released, released with a question open, or held, and cites the gate’s release.md and the reviewer’s signature. A decision with no run folder behind it scores nothing. A process owner following the owner’s path (Table .2) produces artifacts 1 to 3, the contract worksheet of 6 and artifact 9. The skill file, the script, the test kit and the host run belong to the maintainer.
The scoring rubric
Table 13.1 gives the rubric’s rule for each artifact, shortened. The full text is data/capstone/rubric.md. Each artifact scores 2, 1 or 0, so a solution scores up to 18.
The rubric, shortened.
| Artifact | Full credit (2) | Partial (1) | None (0) |
|---|---|---|---|
| Artifact | Full credit (2) | Partial (1) | None (0) |
| Problem screen | Process, deliverable, signer, frequency, preparer, reviewer, consumers; every input with grain and source, hand-kept files and ledger extract included; each unfit input named with its fix and whose it is; failure modes traced to the materials; baseline says record | Fixed inputs passes an unfit input; generic failure modes; an input missing | Missing; another process; invented baseline |
| 2 Work map | One row per action: input, output, Marcus’s rule in his words; judgment calls as rows of their own; his checks, or none | Steps copied without rules; judgment rows missing; a two-kind row left whole | Missing |
| 3 Sort sheet | Every row one kind, split rows lettered; every stated rule compute, in the script; proof rows name checks, one tying inputs from two systems | A figure, class or tier left to the model; no proof beyond the script’s identity | Missing |
| 4 Skill file | Validates; description names its requests and the accrual review it is not for; step 1 gates headers; exits 2 and 3 stop; the leaf says what the model may not do; router table and rules | The model computes or classifies; description fires on an accrual review; a stop rule missing | Does not validate |
| 5 Script | To the standard; every layout read by header, any other refused; every irregularity handled by a stated rule the brief supports, or left out and priced; an identity across inputs; no planted mistake sprung | One to three mistakes sprung; no identity across inputs | Model computes; more than three sprung; no identity |
| 6 Output contract | Fixed sections in order with checkable rules; the entry a table; questions name a person and the effect if yes; data notes name every input; every slot mapped to a key and its check | Slots unmapped; entry or questions free in shape; a data note missing | Missing; a template without rules |
| 7 Test case and checks | Case to the standard, prompt names the inputs without naming the skill; out-of-scope case; generic core unchanged; both identities, contract, binding records, header contract; a check of the leaf’s own point; defect tests | Source-side identity calls the script or reads the result; no out-of-scope case; no defect test | Missing; does not run |
| 8 Test run | Repository-side run and a host run, folder cited, verdict as recorded; every failure dispositioned, re-check beside recorded | Repository-side only; host failures undispositioned | A pass with no run folder |
| 9 Release decision | Two decisions apart: the version released only on a grid row where every check passed on the required models, else held; the memo released after the gate exits 0 and the reviewer signs, every open question stated with its effect | One decision; the memo released with an open question unstated | A release on a failed check or a re-checked verdict alone |
The rubric’s first rule to a scorer: “Score what the files show, not what their author meant.” A figure counts only when the script printed it or a run folder contains it. A solution that differs from the reference earns full credit when it meets the criteria. Only its figures are compared with the reference, program by program. The materials contain thirteen planted mistakes, which the rubric does not name.
Artifact 8 needs a host run for full credit and artifact 9 scores nothing without a run folder, so a pack not yet run on a host scores at most 15. A score of 16 to 18 shows the method carried through: a pack that ran its checks on a host, dispositioned every failed run and rested both release decisions on that record. A score of 10 to 15 is a working pack with gaps, or one complete in files and not yet run. A solution below 10 is not yet a skill.
The same rubric is the second half of the reader trial that Section 10.8 describes (plan/reader-trial.md, Section 11): two scorers mark each reader’s artifacts independently, and the record is counts per artifact.
The reference solution, and what it was held to
The reference solution is answers/capstone/: six filled forms, the pack vendor-rebates at 1.0.0, and the assessor’s key, assessor-key.md. The key lists what the rubric leaves out: the planted mistakes and their effects, the expected figures, the question to the owner and the reference’s choices. The pack has one leaf, rebate-true-up, with its script, one reference file and the output contract; a router pinned to house 1.0.0, one MAJOR behind the house and the one pack inside the lag window (Section 8.5), with the two house copies in _shared/ and their lock; and a test kit with the case, an out-of-scope case for the accrual review, the golden file, a good fixture and a checks.py whose generic core is the four packs’. On 2026-10-23 it passed the validator and the repository tests, which break the good fixture one defect at a time and watch the named check fail:
$ python3 tools/validate_pack.py answers/capstone/vendor-rebates/
answers/capstone/vendor-rebates: ok (bundle, 6/20 files, 43924 bytes below the root)
$ python3 -m pytest -q tests/test_capstone.py
50 passed
The reference pack then ran both cases three times on each of the three models, on the edition’s host and in the clean configuration. As recorded, the true-up case passed 3 of 3 runs on each primary model and 1 of 3 on the third model. The out-of-scope case passed all nine. In runs/20261004-1740-repeat-vendor-rebates-<case>-<model>/, five verdict lines begin passed on this configuration and the third model’s true-up line reads did not pass on this configuration (0 model families): its second and third runs failed contract because the memo added a section, December 2025, under its title. Both failures are real and on the third model, on which no sign-off rests. The re-check changed no verdict.
That record is narrow: a pack built by the method passed its own checks on both primary models of the edition’s host, three repeats each. It does not show that your pack is wrong where it differs: two sort sheets can place the same row differently and both be right, and the registers may be one flag or two.
The reference pack’s release decision, both halves, is answers/capstone/09-release-decision.md. Read it beside your own, after yours is written.
Exercise 13-6. Run the reference pack’s true-up case on your host with the runner. Which checks, if any, differ from the counts above, and what does the detail line say?
Exercise 13-7. Write the rollout plan’s first block for this pack from the brief’s names: owner, reviewer, consumers and the review cadence, as roles rather than people. Who must not review the memo, and why?
Exercise 13-8. The central team releases house 2.1.0, a MINOR with a new rule in the executive voice. What changes in this pack, in which files, and what version does it carry once its owner adopts the release (Chapter 8; Section 10.3)?