TOGBankClassic-v1.9.0
What's new
TOGBankClassic Changelog
[v1.9.0] (2026-10-16) - My Characters
New Features
- ACCOUNT-MODE-001: "My characters" in the Requests window's Requester filter. Discord, Terra
2026-10-15: "curious if an 'account mode' can be added so that all requests per-account are shown
in the requests window regardless of which toon you're on." Every character that logs in is noted
account-wide (
accountCharactersinTOGBankClassicOptionDB.global, written byEvents:PLAYER_LOGINand again whenever the Requests filters update). When the account has more than one, the Requester dropdown offers "(N) My characters" at the top, and it shows the requests of all of them. Picking it turns account mode on (requests.accountMode), so the list opens there on every character; picking any other requester turns it off. Bankers still open on their own Bank filter.Modules/Options.lua(NoteAccountCharacter,GetAccountCharacters,IsAccountModeEnabled,SetAccountMode),Modules/UI/Requests.lua,Modules/Events.lua; the Requester label tooltip and the "?" help describe it. Specs inTests/requestsactions_spec.luaandTests/optionslayout_spec.lua. A character only counts once it has logged in with this version. Checked in the Classic Era client by the operator, 2026-10-16.
Bug Fixes
SEARCH-007: the Requests search box now matches every column. The operator, 2026-10-15: "the search requests needs to filter off the data in any column, right now it doesn't". SEARCH-006 matched only Date, Requester, Bank and Item, so a quantity, a sent count or the status shown by the date's glyph found nothing.
#andSentare now markedsearch = trueinCOLUMNS, andColumnTextreturns what each column shows: the quantity as3x, the date followed by its status word (open / fulfilled / cancelled, matching the glyph), and the banker followed by the sister-guild name XGUILD-LABEL-001 prints beside it. Only Actions, a row of buttons, is not searched.Modules/UI/Requests.lua;Tests/searchbox_spec.lua(its old assertion that the quantity was not searched is reversed, and it now loads the real Guild and RequestLog modules for the status and guild name). Checked in the Classic Era client by the operator, 2026-10-16.LOCALE-SENDTRIM-001: in a guild with players on different client languages, an order mailed with the Fulfill buttons could go uncredited. Peer Review 4d7fc1c4. At send time
Mail:OnSendMail(Modules/Mail.lua) cuts each order on the mail to what is really attached, and it matched the attachment by name: the slot's name fromGetSendMailItemis in the banker's language, the order's is in the requester's, so a German requester's order on an English banker's mail matched nothing and was dropped. The send slots now record their item id (GetSendMailItem's second return), each order on the mail carries its request'sitemID(PrepareFulfillMailandFulfillStep), and the cut matches by id. Random-suffix variants share one base id, so every order first takes the slots matching its id AND name, and only then what is left by id alone; otherwise, with one variant detached by hand, its order took its sibling's slot and the wrong order was credited (found in this fix's self-audit, specced). An order with no stored id (from a pre-REQ-001 client) still matches by name, which is safe because such an order was found in the banker's bags by that same name.GetSendMailItemreturns the id second in every flavour's UI source (Classic Era, TBC, MoP, Forever; Peer Review f6aa732c).Tests/multifill_spec.lua, red with the name match. The same bug sat one call further on (Peer Review f6aa732c, F3/F4):Guild:FulfillRequest(Modules/RequestLog.lua) matched orders only by lowercased name, so a mail the banker built by hand, or a stack hand-added to an addon mail, credited nothing when the two clients' languages differed (a German banker mailing 20 Teufelsstoff left an English order for 20 Felcloth open).FulfillRequestnow takes an optional item id and matches on it when the order has one, serving every order that matches id AND name before any that matches id alone, for the suffix reason above.Mail:ApplyPendingSendpasses the slot's id from both of its loops, and the hand-added extras are grouped by id rather than by the banker's name for them.Mail:DebugSendMailStatenow reads the slots through the sametog_readSendSlotsas the send hook (F5). Decided with it: when one mail covers part of several of a person's orders for one item, the OLDEST is filled first (Guild.RequestOlderFirst, moved toModules/Guild.luafrom Mail.lua'stog_olderFirst, which now calls it); it used to be whichever orderpairs()reached first, so a partial mail could complete a newer order and leave the older one open. Because of that sort, a spill with no target order now skips cancelled orders (found in this round's self-audit): the old loop never skipped them either, but oldest first made a cancelled order left short the likeliest to take the credit ahead of the open order the items were for. A targeted send still credits its own order whatever its state, as before. FINISHED-001 (Peer Review 2073754c) widened that skip to every finished order: an order closed short ascomplete(a peer'scompletemutation is applied after only a permission check, and the load-time normaliser keeps it) took the spill the same way. "Is this order finished" is now one function,Guild.IsRequestFinished, used by the spill,CancelRequestandReopenRequest, and the three "a fill must not overwrite this status" checks read oneCLOSED_STATUStable; there were seven hand-written copies, and the cancelled-only skip already disagreed with the rest.Guild:CompleteRequesthad no caller outside the specs since COMPLETEQTY-001 moved the hand-off button toFulfillRequestById, so it is removed and its four spec uses (requestchain_spec,xguild_spec,xguildfleet_spec) callFulfillRequestById.Tests/localefill_spec.lua, each example red first (no id match and no sort: the manual mail, the extra and the oldest-first examples; the exact pass ignoring the name: the suffix example; the cancelled filter off: the cancelled example; the cancelled-only skip: the short-completeexample). The oldest-first example keys its two orders under idspairs()walks newer first and asserts that walk as a precondition, so a change in Lua's hash order fails it rather than letting it pass unsorted. One residual, LOW: in a MIXED-language guild, two suffix variants on one mail (for example "of the Bear" and "of the Monkey" bracers, which share a base id) can still be credited to each other's orders, because the id-and-name pass needs equal names and the id-alone pass takes them in order.GetSendMailItemLinkcarries the suffix and is the named remedy; not done. Not checked in a game client: a mixed-language guild was not available, and the operator closed it without one (2026-10-16, "mark the language stuff as done, i'm not going to test it").COLLECT-LAG-001: Fulfill Oldest could pull one stack too many from the mail. Peer Review bf89d59d. Taking an item out of the mail is not instant: the inbox drops it before the bags show it. In that moment the order being collected for reads short, and Fulfill Oldest serves another order. The count of what had already been pulled was one shared
collectState, replaced then; when the first order came back it was recomputed from the bag count, which did not yet include the stack on its way, and that stack was pulled again.FulfillStep(Modules/Mail.lua) now keeps the count per order (collectStates[req.id]), drops an order's entry once its bags cover it, and drops them all when the mailbox closes. One consequence kept on purpose: if the banker moves a pulled stack away before the order is sent, that order says it is waiting until the mailbox is closed and reopened, as the single shared count already did for the order in front.Tests/bankcollect_spec.lua, red without the fix (three stacks pulled for an order that needed two).MAIL-SLOTCAP-001: an order needing more than twelve stacks was mailed short and credited in full. Peer Review bf89d59d, finding B1.
CalculateFulfillmentPlannever looks at the mail's twelve attachment slots, andMail:FindOldestServiceableOrder(Modules/Mail.lua) accepted the plan whatever its size; ATTACH stopped at slot 12, and SEND credited the full quantity. An order for 13 Linen held as 13 single stacks went out with 12 and was marked filled for 13. Now a plan that does not fit is cut to its twelve largest whole stacks (tog_capPlanToMail), the mail is credited what those stacks hold, and the order stays open and oldest so the next click mails the rest. ATTACH also returns what it actually attached and SEND credits no more than that. The mailbox message says the mail is part of the order ("Order: 12 of 13x Linen Cloth for Alice ... (one mail holds 12 stacks; the rest goes next)"; the capped plan carriescappedFrom; self-audit 9da6eefd F2).Tests/multifill_spec.luadrives the two-mail case end to end, through the real send hookMail:OnSendMailbefore each send (F1). Checked in the Classic Era client by the operator, 2026-10-16. The twelve-slot cap is now one helper,tog_mailCap, at all nine sites that spelled it out, and the capped plan's never-shownreasontext is gone (Peer Review 024ada6d F2).SEND-SNAPSHOT-001: an addon send could credit nothing if the client empties the attachment slots inside
SendMail. Peer Review 024ada6d F1. The send hook is ahooksecurefuncpost-hook and read what went fromGetSendMailItem; when the client empties those slots is not in its UI source (MAIL_SEND_SUCCESSonly resets the name, subject and body boxes). The slots are now also recorded onMAIL_SEND_INFO_UPDATE(Mail:OnSendInfoUpdate, wired inModules/Events.lua), andMail:SendAttachmentsuses that record when the hook finds the slots empty -- but only when they went empty in the same frame as the send (GetTime()is frozen within a frame), so stacks the banker took off the mail earlier are never credited. The record is consumed by each send and dropped onMAIL_CLOSED. A MAIL debug line in the hook says how many slots it saw and whether it used the record.Tests/multifill_spec.luasends the capped mail through the real hook with the slots emptied before the hook and still full in it (both credit 12), and a hand-detached mail (credits nothing); each guard was switched off once and went red. Those examples fireMAIL_SEND_INFO_UPDATEandMAIL_CLOSEDthrough the realEvents:RegisterEventsregistration, so dropping either wiring line fails them (Peer Review 1aa094de F2). Measured in the Classic Era client by the operator, 2026-10-16, over three Fulfill sends in a row: the hook found 1, 2 and 3 slots still attached, the recorded update agreed each time, every order was credited, and no "Mail sent." reached the mail-error path. So on Classic Era the slots are still full inside the post-hook, and the record is a fallback for a case not seen in game (Peer Review c46172df). The test harness pin moved to WoWAPITestingbe92d12(inbox da34acf1): itsSendMailnow keeps the slots untilwow.completeMailSend(), the stand-in for the server's confirmation, soTests/multifill_spec.luaconfirms each batch send through aconfirmSendhelper instead of relying on the send click to empty them. The "slots still full" example now uses the harness's ownSendMail; the "already empty" one installs its own. The manualMAIL_SEND_INFO_UPDATEfires stay, because that describe registers the addon's handlers into a captured table the harness's event never reaches. The pin then moved on to9f4d90a(f6e5fde: a secondSendMailbefore the first is answered now raises, andSetPointbinds a frame name at call time). The fourTests/multifill_spec.luaexamples the harness named as at risk already pass, becauseconfirmSendanswers every send; the whole suite stayed green with no spec change.SUFFIX-KEY-001: an order with no random suffix and an "of the Bear" order of the same item did not hold each other's place in the queue. Peer Review bf89d59d. An order with no suffix counts every variant of its item in the bags, but it was keyed apart from the Bear order, so first come, first served did not apply between them: a newer Bear order could take the stack an older any-variant order was waiting on, and the other way round. Such orders still exist (stored before INV2-SUFFIX-001, from an older client, or placed by another addon through
Guild:AddRequest; the addon's own request dialog always carries the suffix).Modules/Mail.luanow measures each order against a pool of its competitors (tog_newPool/tog_poolAdd/tog_poolFor): two orders compete when they share a key, or share an item id and either has no suffix. The mailbox hold, the ride-along reservation and the bank shortfall all use it; Bear and Tiger orders still never hold each other up. At the bank the error is toward pulling a stack too many for a suffixed order, never toward leaving one short.Tests/bankcollect_spec.lua, red without the fix.Tests/multifill_spec.luanow loadsModules/Inventory/Record.lua, which it needed and had only been inheriting from an earlier spec file.NAME-POOL-001: an order with no item id and an order with one did not hold each other's place. Peer Review 1aa094de F1, the same class as SUFFIX-KEY-001. An order with no item id (stored before REQ-001, or from an old client) counts its item in the bags by name, so it takes every item of that name, but it was pooled only with other no-id orders. The pool now also sums by lowercased name (
tog_nameKey): a no-id order competes with every order of its name, and every id order with the no-id orders of its name. Where two items share a name it over-holds; where the stored names match it never under-holds (two orders placed from clients in different languages store different names and still do not hold each other, deferred with the other locale work). At the bank the over-hold is toward pulling a stack too many for an id order, never toward leaving one short. An order with no usable name pools by name with nothing: the key used to betostring(item), so every nameless order shared the key"nil"and a nameless no-id order held every nameless order behind it (Peer Review 104ff6f7 N1). How many no-id orders still exist is not known, so the path is kept rather than deleted.Tests/bankcollect_spec.lua, three of the first four new examples red without the fix (the fourth, a different name, passes either way by design), plus one for the nameless case.Tests/multifill_spec.lua's event-wiring examples now put back theTOGBankClassic_Coremethods and the addon globals they set, and assert it (Peer Review 104ff6f7 F3).FCFS-SELF-001: one requester's newer order could ride along on stock their own older order needed. Peer Review bf89d59d.
Mail:FindMoreOrdersForreserved stock only for other people's orders; an order of the same requester that could not ride now reserves its quantity too.Tests/bankcollect_spec.lua.The mailbox now says which order is holding the queue. When Fulfill Oldest has nothing it can send because the oldest order for an item cannot be covered yet, the message names that order's requester, quantity and item instead of a bare "no orders" (Peer Review bf89d59d, B2).
MAIL-ADDPARTIAL-001: adding an order to a mail that ran out of slots said "Click Send to complete". Found by COVERAGE-MAIL-001. When a banker added a second order to a mail already open for the same person,
Mail:PrepareFulfillMail(Modules/Mail.lua) replaced its message with the "N orders on this mail. Click Send to complete." line whatever was attached, so an order of 20 with only 10 slots' worth attached read as done. It now says "Attached 10 of 20 ... (partial) -- N orders on this mail. Click Send, then fulfill again." when the order is short. The credit was always right (the pending send carries what was really attached); only the message was wrong.Tests/mailcoverage_spec.lua. That example was not confirmed red on the old code.EVENTS-UIERR-001: a failed mail send left Fulfill answering "waiting for the last order" for up to five seconds. Found by COVERAGE-EVENTS-001.
TOGBankClassic_Events:UI_ERROR_MESSAGE(Modules/Events.lua) took(_, message), but the event's payload is(errorType, message)on every flavour this addon ships (Blizzard_APIDocumentationGenerated/SystemDocumentation.lua,UiErrorMessage, read in the classic_era, classic_anniversary, classic and forever trees). Somessagewas the numeric error type, no mail error ever matched, andMail.batchInFlightwas only cleared by the 5 s safety timerMailstarts with each batch send (Modules/Mail.lua, afterSendMailin the batch path). An earlier draft of this entry said "until a reload"; that was wrong. It now takes(_, _, message).Tests/eventscoverage_spec.luafires the event with both values; that example was not run against the old code, the failure there is by reading. Follow-up, EVENTS-UIERR-002 (Peer Review 511e37b8, L1): the message is the client's own localized text, and the test wasmessage:lower():find("mail"), so a mail failure on a non-English client still left the batch blocked. A file-localisMailErrorinModules/Events.luanow decides by the error's id:GetGameMessageInfo(errorType)returns the error's string name (Blizzard_APIDocumentationGenerated/GameErrorDocumentation.lua; Blizzard's ownUIErrorsFrame.luacalls it with the same index), and a name startingERR_MAIL_is a mail error, in any language. The English word is only the fallback when the function is absent or knows no name for the index (it is documentedMayReturnNothing). Peer Review 6639c74e (R1) proposed this; the first draft of the fix matched the text against everyERR_MAIL_*string in_Ginstead, which walked all of_Gon the first UI error of a session (combat included) and could never match a template string. The handler now names its second parametererrorType. Which error names exist and which indexes map to them is not verified (GlobalStrings are not in the local source trees);GetGameMessageInfois documented in the classic_era tree read here and, per Peer Review, in classic, classic_anniversary and forever.Tests/eventscoverage_spec.luastubs it: index 3 namesERR_OUT_OF_RANGEwith a text that says "mail" and leaves the batch alone, index 51 namesERR_MAIL_DATABASE_ERRORwith a German text and frees it, and an unknown index falls back to the English word. Not run against the old code.GetGameMessageInfois added to.luarc.jsonand.luacheckrc(read-only for the addon, writable for the Tests). Follow-up, EVENTS-UIERR-004 (Peer Review 030b8a0a, F2): any mail error cleared the batch flag, including one from an inbox action. The flag is set only by a batch send and cleared on its confirmation or by its 5 s safety timer, so the exposure was an inbox error landing while a send was unconfirmed: it freed the next click early.UI_ERROR_MESSAGEnow leaves the flag set for the twoERR_MAIL_*names that can only come from the inbox, by their enUS text in the classic_era GlobalStrings (Ketho/BlizzardInterfaceResources,Resources/GlobalStrings/enUS.lua, read on the web because GlobalStrings are not in the local trees):ERR_MAIL_ATTACHMENT_EXPIRED("That item has expired.") andERR_MAIL_DELETE_ITEM_ERROR("You can't delete that."). The text ofERR_MAIL_DATABASE_ERRORnames no side, so it may come from either and still frees the batch: a wrong free costs one early click, a wrong block costs the 5 s timer on every failed send. Inbox errors without theERR_MAIL_prefix (a full bag) were already ignored. Only the flag skips the two: they still write the MAIL debug line and put "Mail error: ..." in an open Requests window's status bar, so a failed take is still reported (Peer Review ca15a538, U1; the first cut skipped that whole branch). The English-text fallback cannot tell the sides apart and is unchanged. A gate onMail.pendingSendwas built and then removed (Peer Review 7562cf08, G1): whenever the flag is set,pendingSendis set too, so the gate never changed an outcome.MAIL_FAILEDwas not used: Blizzard's own Open All listens for it during inbox takes too (Blizzard_UIPanels_Game/Classic/MailFrame.lua), so it has the same breadth.Tests/eventscoverage_spec.luafires both inbox-only ids with a batch pending and the flag stays set; confirmed red with the exclusion removed. Which index each name has in a client, and whether those two are ever raised during a send, is not verified in a client.BATCH-TIMER-001: an earlier send's safety timer could free Fulfill Oldest while a later send was unconfirmed. Peer Review 030b8a0a (N1). Every batch send in
Mail:FulfillStep(Modules/Mail.lua) starts a 5 s timer that clearedbatchInFlightunconditionally. Send A confirms, send B starts two seconds later, A's timer fires and frees a third click before B confirms. Each send now stampsMail.sendGen, and its timer clears the flag only if no later send has stamped it since. How often a confirmation takes long enough for this to matter in a client is not measured.Tests/multifill_spec.luadrives two sends two seconds apart on the harness clock; confirmed red with the unguarded timer put back.SEND-RECIPIENT-001: a mail to one person could credit another person's order. Peer Review f4c6a142 (R1).
Mail:OnSendMail(Modules/Mail.lua) kept any pending send under 10 s old without checking who the mail was going to. Two ways in: a Fulfill Oldest send that failed leaves its pending send behind (nothing clears it on failure), and after a row's Fulfill the banker can retype the name box. Either way, a mail to Bob carrying the same item credited Alice's orders, and any extra stacks spilled to Alice's other orders. The pending send is now kept only when the mail goes to the same person, compared without case because the client sends to a name typed in any case; otherwise the mail is tracked as a hand-built mail to its real recipient.NormalizePlayerNamedoes not fold case, and Lua'slowerfolds only ASCII, so a name whose accented capital is typed in lower case falls to the hand-built path: the order loses its id targeting but nobody is wrongly credited.Tests/multifill_spec.lua: a row Fulfill for Alice mailed to Bob credits Alice nothing, and the same name typed in lower case still credits the prepared order. The first was confirmed red without the check. Checked in the Classic Era client by the operator, 2026-10-16 (a row Fulfill mailed to another name, and the right name typed in lower case).
Internal
COVERAGE-MAIL-001:
Modules/Mail.luaandModules/RequestLog.luaat 100% line coverage. Peer Review 074cdad6 and 5bd709cf. Mail.lua went from 86.90% to 1138/1138 lines and RequestLog.lua from about 79% to 1560/1560, measured with the harness'scoverage.luaover the whole forward run (2094 passing). NewTests/mailcoverage_spec.luaandTests/requestlogcoverage_spec.lua, 85 examples between them. Three blocks that could not run were deleted rather than covered, each checked against its callers:mergeRequest's nil-id/nil-record guard (both callers,ApplyRequestSnapshotandApplyRequestMutation, refuse those first); the per-sender cooldown inCanQueryRequestsIndexand itsperSendermap (written in the same step aslastQueryAt, the only writer of either, so it could never refuse when the global cooldown had passed); and the "single large stack" branch at the end of Mail.lua's fulfillment plan (for a positive need PHASE 3 already splits from the largest stack, and a need of 0 returns at PHASE 1; only a negative need reached it, and it planned a negative split, which now fails closed). No production caller can pass a negative need: all four take it fromRequestQuantityNeeded, which never returns below 0.COVERAGE-EVENTS-001:
Modules/Events.luaat 100% line coverage. Peer Review 074cdad6. It went from 56.28% to 100%, measured with the harness'scoverage.luaover the whole forward run: 420/420 lines, with Mail.lua at 1144/1144 after BATCH-TIMER-001 and SEND-RECIPIENT-001 (2137 passing; reverse parts 569 + 809 + 759 = 2137). After EVENTS-UIERR-004 the gate is 2138 forward and 569 + 809 + 760 = 2138 reverse, with Events.lua at 423/423. NewTests/eventscoverage_spec.lua. It found EVENTS-UIERR-001 above.Changelog archive: the whole v1.6.1 section moved to
CHANGELOG_ARCHIVE.md(Peer Review e1e13df8). This file was 115,152 characters, 4,848 under the 120,000 ceiling.FORWARD-PARTS-001: the fallback forward parts find new spec files by themselves. Peer Review e1e13df8. The four forward parts (A8a, A6c, B3a, B3b) were writ suites listing their spec files by hand, and
mailcoverage_spec,requestlogcoverage_specandlocalefill_specwere in none of them, so a forward run split into parts skipped them. NewTests/run_forward.lua <part> <parts>slices the sorted spec glob the wayTests/run_reverse.luaalways has; both now share the discovery and slicing in newTests/run_parts.lua. Declared as writ suitesforward 1/4..4/4; the old hand-listed parts and their superseded predecessors (A, A2-A5b, A7a, B) were removed. Forward parts 556 + 547 + 508 + 483 = 2094 over all 102 files, reverse 568 + 806 + 720 = 2094 after the refactor.ENV-SWEEP-LIB-001: the test reset no longer silences once-loaded libraries. Peer Review bf89d59d, B3.
env.resetinTests/env_togbank.luawiped every AceComm/AceEvent handler, so a library that registers once per run (VersionCheck-1.0 registers its comm prefixes on AceComm itself behind a flag that never resets) went deaf for the rest of the run after the first reset. Handlers owned by a LibStub library are now kept; an event left with none is removed. The whole forward run passed with the sparing switched off, soTests/envreset_spec.luanow pins it (red without the fix, checked). Forward-run time on a machine shared with other test runs: 229 s with the sparing off, 174 s with it on, heap about 135 MB at the end in both -- one run each, so not a measured speed-up.Peer Review bf89d59d B2 (the bank search should hold newer orders behind an older one of the same item) needed no code change: orders with one item key match the same bank stock, so the bank never helps a newer order it could not help the older one with. A spec pins the review's worked case. (Orders of one item with and without a suffix do not share a key; SUFFIX-KEY-001 above covers them.)
SLOW-REQACTIONS-001: why
Tests/requestsactions_spec.luatimed out under load. Peer Review 074cdad6 A7. One forward run (20261015-141135) aborted the file at the runner's 60 s per-FILE limit; the example it named is only where the file's total crossed 60 s. The runner's per-example telemetry for that run shows the time was the reset, not the tests:reset_mswas over 90% of most examples (47-78% in a few) and most of it was garbage collection (the slowest example: 11.7 s, 11.5 s of it reset, 8.2 s collecting). The spec'sload()calledenv.reset()and thenframes.reset().frames.reset()runs one full collection (its ownwow.reset()defers its collection to it,Tests/wowapi/env/frames.lua:7288-7315); the barewow.reset()insideenv.reset()runs another, but only while the hollow frame registry is not empty (Tests/wowapi/env/wow.lua:2044). The telemetry says it was not empty:gc_n(collections per example) was 2 for eachload()in the timed-out run (4 and 6 for examples that load two or three times), and is 1 for eachload()after the change (2 and 3), in a later forward run (telemetry run 20261015T215820). The hollow frame count itself was not read. So every reset collected twice over a heap of about 52 MB (heap_kb53518 at the file's first example in the timed-out run's telemetry; one sample read). The machine was shared with other test runs (that whole forward run took 10m56s against 4m52s for a green one later the same day), and the runner's deadline isos.clock(), which on Windows is wall time (the harness's own note,run.lua:970), so CPU starvation counts against it. This halves the work; it does not make the file immune to a badly starved machine.load()now callsenv.reset({ frames = true }), the single-reset formTests/env_togbank.luadocuments: the file alone went from 10.12 s to 4.21 s CPU, 47 passing before and after, same heap and frame counts.Tests/browsepersist_spec.luahad the same pair and got the same change, and so did 12 more spec files that reset twice per example (browse,craftlistwindow,escape,hideitems,item,mailbox,mailwindow,optionslayout,search,searchbox,statusbaryield,windowchrome); each passed alone with the same count before and after. Each of the 12 diffs was read (Peer Review aa437aa8 B6). Every hunk swaps the pair for the single reset, with three exceptions. First, incraftlistwindowandstatusbaryieldthe frames reset left a sharedloadStack()/load(), and every caller now resets first (checked for both). Second,mailbox's "is ON by default" example used to runframes.reset()partway through, afterload(true)and its first assert. It now resets once at the start, so nothing resets betweenload(true)and the rest of the example. What the old mid-example reset cleared was not read. It passes either way. Third, a straywow =package.loadedspacing slip inwindowchromeis fixed. The other changes inbrowse(FINISHED-001) andoptionslayout(ACCOUNT-MODE-001) are their own entries.FINISHED-001, follow-up (Peer Review f40a8e77 H2). The Requests window's own "is this order finished" check (
Modules/UI/Requests.lua, which decides whether Cancel and Complete show) andExpireStaleRequests,PruneRequestsand the/reqscandiagnosticGuild:ReqScan(Peer Review 7b5e912d) (Modules/RequestLog.lua) now callGuild.IsRequestFinishedinstead of their own copies, so the window can no longer offer a Cancel thatCancelRequestrefuses, and/reqscancounts as done exactly the set the prune drops. No behaviour change: every path that stores an order gives it a known status (the normaliser maps anything else to "open"), so the old "status is open" test and "not finished" select the same orders.ExpireStaleRequestshad no spec at all;Tests/localefill_spec.luanow runs it on stale open, part-filled, filled, closed-short, cancelled and recent orders and checks which ones it tombstones, and one example pins/reqscan's done count (it had no spec either).Tests/browse_spec.luaandTests/requestsactions_spec.lualift the real function onto their stub Guild tables rather than copying it.REQSCAN-AGE-001:
/reqscanreported a recent finished order as expired (Peer Review aa437aa8 B2). It aged a finished order byupdatedAtalone, so one with noupdatedAtaged from 0 and counted as "done+expired" whilePruneRequests, which ages byupdatedAtand thendate, kept it.Guild:ReqScan(Modules/RequestLog.lua) now ages by the prune's own spelling, for the expired count and the age buckets, and its two labels say "updatedAt, else date"; the missing-updatedAtcount still reads the raw field. Narrow reach:AddRequeststampsupdatedAtand the normaliser fills it fromdate, so only a record that skipped both could show it. A red-first example inTests/localefill_spec.lua(a finished order with noupdatedAtand today'sdate) failed with "1 done+expired" before the change. Follow-up, REQ-AGE-001 (Peer Review ca7dc86f): the expressiontonumber(req.updatedAt or req.date or 0) or 0was written out in five places and had a flaw of its own. A non-numericupdatedAtstring won theor,tonumberturned it into nil, and the order aged from 0 without falling back todate. SoPruneRequestsdropped such a finished order at once, whatever its date. All five sites now call one file-localrequestAgeTshelper that converts each field on its own:PruneRequests,ExpireStaleRequests,ReqScan, and the duplicate pick inNormalizeRequestList. Left as it was:sanitizeRequest'svalidateTimestamp(req.updatedAt or req.date or now, now), which falls back to now rather than 0 and is the normaliser's own job. Reach is narrow, becausesanitizeRequestreplaces a non-numericupdatedAton every stored path. Only a record not yet normalised can carry one. A red-firstTests/localefill_spec.luaexample (a finished order withupdatedAt = "garbage"and today'sdatemust survive the prune and show 0 expired in/reqscan) failed with "1 done+expired" before the helper.
[v1.8.1] (2026-10-09) - Oldest Order First
Bug Fixes
- BANKCOLLECT-SHARE-001: at the bank, Fulfill Oldest skipped a newer order for the same item.
crimsonmane, Discord 2026-10-08: Fulfill Oldest "does not fulfill the oldest order first" when a
second player orders the same item plus more.
Mail:FindOldestBankFillableOrder(Modules/Mail.lua) measured every order against the whole bag count, so the stack I pulled for the older order also "covered" a newer order of the same item, and the newer one was never collected for -- it then could not be filled at the mailbox, and only that player's other items went out. The bags are now handed to open orders oldest-first, and each order's shortfall is what is left after the older orders' share.Tests/bankcollect_spec.luapins both the search and the click-through. Not yet checked in a game client. - FCFS-001: at the mailbox, Fulfill Oldest mailed a newer order ahead of an older one for the same
item. The operator, 2026-10-09: "you are supposed to fill the oldest order first. first come
first server".
Mail:FindOldestServiceableOrder(Modules/Mail.lua) picked the oldest order the bags could fully fill and skipped any it could not, so a newer, smaller order for the same item went out first and spent the stock the older order was waiting on. I had described that skip as by design in this entry and in my Discord reply to crimsonmane; it contradicted the operator's rule. Now the first order for an item that cannot be filled yet holds its place: no newer order for that item is sent until it is. Orders for other items still go out, since they do not use the same stacks.Mail:FindMoreOrdersFor(the same person's other orders riding on one mail) now leaves the stock other people's older orders need, so riding along cannot jump the queue either. The three fulfillment searches share one "oldest" ordering and one item key. The envelope's tooltip and the Requests "?" help inModules/UI/Requests.luasaid unfillable orders "are skipped"; both now describe the first-come-first-served rule, as does the Fulfill Oldest feature line on the CurseForge page. Four examples inTests/bankcollect_spec.lua, including crimsonmane's case. Not yet checked in a game client.
Internal
- SUITE-SPEED-001: the whole forward test run fits in one run again. Every spec builds a fresh
copy of the addon, and libraries that load once per run (AceComm, AceEvent and the other Ace
mixins, AceAddon's queue of addons waiting to load, VersionCheck's listener list) kept a strong
reference to every earlier copy, so the run held tens of thousands of dead frames and each reset's
garbage collection grew slower; late files took 40 seconds or more that take under one alone.
env.resetinTests/env_togbank.luanow clears those references, and a test window's close releases its tab contents instead of only hiding them. Measured: objects left afterbrowse_spec30,800 to 5,400. The forward run passes whole (1970 examples, 2026-10-09) and matches the three reverse parts (545 + 722 + 703). Clearing the handler lists means no spec can rely on an addon copy from an earlier file still hearing messages; the reverse parts passing is the check on that. No addon code changed.
[v1.8.0] (2026-10-08) - Donations Setting
The "Enable donations" setting is back, off by default, and the Donation popup can be turned off again. Checked in a game client by the operator on 2026-10-08 (the Donation popup, the tooltip toggle and the outstanding in-game checks from earlier releases all passed).
New Features
- TOOLTIP-TOGGLE-001: a setting to turn the bank stock off in item tooltips. The operator,
2026-10-07: "someone asked to be able to turn it off" / "we need to add one to settings, and have
it on by default". There was no such setting:
Modules/TooltipBankerInfo.luadrew its "Bankers:" block on every item tooltip unconditionally. General settings gain "Show bank stock in item tooltips" (db.global.bank.itemTooltipBankers, account-wide like the Mailbox switches, AceDB defaulttrue;Options:IsItemTooltipBankersEnabledalso reads a missing key or no DB as on). The check is inTooltipBankerInfo:AppendTo, the one renderer, so it also covers TOGProfessionMaster's recipe tooltips, which call it.Tests/tooltipbankerinfo_spec.luapins the default, the off state and the shipped toggle.
Bug Fixes
MAILBOX-POPUP-001: the Donation popup could not be stopped on a bank character. GUNNEY, Discord 2026-10-07: "donation window pops up on all bankers even when unchecked and I cannot get it to stop poping up". Confirmed in the code:
Mail:Scan(Modules/Mail.lua) stood aside only while the Mailbox window auto-opened, so unticking the General setting "Open the Mailbox window at a mailbox" (a global setting, so every banker at once) brought the per-mail Donation popup back in its place on every mailbox visit -- and v1.5.2 (UX-WATERFALL-001) had removed the per-character "Enable donations" box that used to turn the popup off. The only remaining off switch was "Enable for <player>", which also stops bank scanning. That "the popup returns when unticked" rule was my design choice in UX-WATERFALL-001, not a request, and it contradicted the setting's own description ("Untick to stop that").DONATIONS-BOX-001: the "Enable donations" setting is back, unticked by default. The operator, 2026-10-07: "we should have the setting to enable/disable donations back where it was, and have it unchecked by default." The per-character box returns to the Bank panel at its old place (order 2,
db.char.bank.donations,Options:GetDonationEnabled), and it alone decides whether the Donation popup opens at a mailbox:Mail:Scanno longer consults the Mailbox window's setting or verdict, so the two settings are independent. The AceDB default changes fromtruetofalse; AceDB never wrote the old default to disk, so every character that never touched the box starts unticked. This replaces the first fix above, which had tied the popup to the Mailbox window's setting a second way. KNOWN COST: a banker who ticks both gets both windows, as before v1.5.2; gifts taken through the Mailbox window are credited either way.Tests/donations_spec.luapins the popup following the box alone, the box's place, key and OFF default, and the real accessor.PKG-EMBED-001: the CurseForge app stopped installing LibDBIcon for Classic Era, TBC and MoP. The copy of LibDBIcon bundled for WoW Forever in v1.7.1 (
Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua, taken from TOGProfessionMaster) began with the packager's--@curseforge-project-slug: libdbicon-1-0@marker. The BigWigs packager greps every packaged.luafor that marker and records the slug asembeddedLibrary(release.sh:1882-1889), overriding.pkgmeta's required dependency, so the upload told CurseForge LibDBIcon was embedded and the app did not install the standalone addon -- while the Era, TBC and MoP TOCs list it under## Dependenciesand never load the bundled copy. Marker removed; the harness.pkgmetachecker now reportslibdbicon-1-0=requiredDependencyfor the upload, andTests/wiring_spec.luafails if the marker comes back. Whether v1.7.1's CurseForge file actually shows LibDBIcon as embedded was not checked on the site (not verified). The design is the operator's (2026-10-07): bundled ONLY for WoW Forever, an external required dependency everywhere else..pkgmetaalso lost all its comments, per the operator's no-comments rule of 2026-10-03; release.sh skips whole-line comments, so that change alters nothing uploaded.
Internal
- HARNESS-PIN c2fd446: Tests/wowapi moved from a49127f. Taken for WoWAPITesting's fix to
harness thread
1a91c3ca. Under load the runner's per-file TIMEOUT used to escape as a barelua.exe: (error object is not a string), with no file named; it is now a named failure. Adoption fix: twoTests/searchbox_spec.luafixtures built a FontString with no font, which the harness now refuses as the client does (FontString:SetText(): Font not set); they useGameFontHighlightSmall, the real cells' font. Production was already right (Requests.luagives every glow copy a font object). - GATE-LOAD-001: the gate survives a busy machine. run.lua's per-file limit is wall time on
Windows (WoWAPITesting, same thread), so it tripped whenever other desk runs shared the machine.
Every forward part now passes
--timeout=240, andTests/run_reverse.luapasses--timeout=600(browse_spec ran past 240 s late in the reverse order with three other runs in flight, and passed 697/0 at 600 s). Forward B2 is split into B3a and B3b, because under load its 52 files outran the desk's 15 minutes.CLAUDE.mdnames the new parts. - BOARDS-REMOVED-001: the last boards are gone.
docs/LIBRARY_CONTRACTS.md,docs/DEPENDENCY_CONTRACTS.md,Tests/HARNESS_CONTRACT.md,docs/contracts.mdanddocs/AUDIT.mdwere imported into the writ inbox and deleted. Writ, 2026-10-07: the operator's directive is "the boards should be removed after a migration"; git history keeps them. All 81 imported items were triaged the same day: 79 were already delivered, fixed or board prose. The other two were closed with a comment-level change: LOG-001's self-logging is kept on purpose and now says so (Modules/Output.lua), and Q1's false "nil when there is no link" claim was corrected (Modules/MailInventory.lua).
[v1.7.1] (2026-09-29) - WoW Forever
TOG Bank on WoW Forever, the fourth supported client. Checked in a Forever client by the operator on 2026-09-29: "everything seems to be working right now ... the display and everything is working, no more lua errors", and order highlighting "works now as intended". What that session could NOT check, for lack of other guild members running the addon: sync between players on Forever, and other players' names arriving over addon messages there.
New Features
- FOREVER-001: WoW Forever is a supported flavour (
TOGBankClassic_Camelot.toc, new, Interface 16001; the operator, 2026-09-28: "i have wow forever now, we need to onboard to make that a supporeted version with it's own .toc and updating the .ps1"). The fourth TOC is the Era TOC with one deliberate difference: LibDBIcon-1.0 is not published for Forever (it is absent from the_classic_beta_install; TOGProfessionMaster's Forever TOC embeds it for the same reason), so a hard## Dependencies:entry would stop the whole addon loading there. That TOC lists it under## OptionalDeps:instead and loads a bundledLibs/LibDBIcon-1.0/LibDBIcon-1.0.lua(MINOR 56, the copy TOGProfessionMaster ships) straight after LibDataBroker; LibStub keeps the higher MINOR if a standalone copy is also installed. TEMPORARY: once LibDBIcon-1.0 ships for Forever, make it a dependency again and delete the bundled copy. Every other dependency (Ace3, AceCommQueue-1.0, VersionCheck-1.0, DeltaSync, LibAceGUIWidgets, GuildRoster, ItemDB, ProfessionDB) already declares Interface 16001 or ships a_CamelotTOC. Not yet checked against the Forever client API (F:\Blizzard API Docs\wow-ui-source-forever) and not yet run in a Forever client. - FOREVER-HIGHLIGHT-001: order highlighting reaches the WoW Forever bank.
Modules/ItemHighlight.lualooked only for Classic'sBankFrameItemNbuttons and the-1vault, neither of which Forever has. Its bank is the tabbedBankPanel(ForeverCamelot/BankFrame.xml:85), which draws one tab from a pool of buttons.UpdateBankPanelHighlightingwalksBankPanel:EnumerateValidItems()and reads each button's ownGetBankTabID()/GetContainerSlotID(). A tab switch re-inits the pooled buttons with no bag event (GenerateItemSlotsForSelectedTab), so that is hooked to refresh, and the refresh clears every button it dimmed first. The dim-or-clear step for one slot is now one helper,HighlightBankButton, which the Classic vault and bank-bag loops also use. Spec'd inTests/itemhighlight_spec.lua. Not run in a Forever client. The icon key on Forever's bank item button (iconorIcon) was not found in the Forever source; both are tried, and a button with neither is left undimmed rather than raising. - FOREVER-HIGHLIGHT-002: the bags too. The operator, on Forever with no orders open, ticked
"Highlight needed items" and nothing in the Combined Backpack greyed. That is not a Forever
difference in what is needed: every item should grey. The bag path looked up Classic's
ContainerFrameNItemMbuttons, and Forever's modern container frames (ContainerFrameCombinedBags, andContainerFrameContainer.ContainerFramesfor split bags) draw pooled buttons with no such names.UpdateModernBagHighlightingwalks each shown frame'sEnumerateValidItems()and reads each button'sGetBagID()/GetID()(ForeverMainline/ContainerFrame.lua:560,:566-567). It answers false on a client without those frames, so Classic Era, TBC and MoP keep the Classic path unchanged. Not run in a Forever client. Whether Forever's own button refresh resets the grey before our next refresh is not known.
Bug Fixes
- FOREVER-002: TOG Bank raised a Lua error at login on WoW Forever (the operator, from game,
2026-09-28:
bad argument #2 to '?' (Usage: local success = self:HookScript(scriptTypeName, script [, bindingType]))atModules/TooltipBankerInfo.lua:117). The Forever client's GameTooltip has noOnTooltipSetItemscript -- nothing inwow-ui-source-foreverreferences it -- and builds item tooltips throughTooltipDataProcessor.AddTooltipPostCall(Enum.TooltipDataType.Item, ...)(Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:199).TooltipBankerInfo:Initializenow tries the old hook underpcallfirst, so every client that has it keeps exactly its behaviour, and falls back to the item post-call, limited to GameTooltip (the only tooltip the old hook reached).pcallrather thanHasScript: the offline harness does not claim the client'sHasScriptsemantics.Tests/tooltipbankerinfo_spec.lua: a client refusing the script gets the post-call, which renders throughAppendToon GameTooltip and leaves any other tooltip alone.TooltipDataProcessoradded to.luacheckrcand.luarc.json. Not yet re-run in a Forever client. - FOREVER-NAME-001: a banker on WoW Forever was not a banker to itself, so the Bank settings page
never appeared (the operator, 2026-09-28: "i set myself as gbank, and show up on the roster ...
but i don't have the options in the settings menu to make myself visible as a banker";
/togbanklisted them asQuebeldorf Flamehammer). Forever characters have a first name and a surname: the roster listsFirst Surname, andUnitName("player")returns the two as separate values (Blizzard'sBlizzard_FrameXMLUtil/Camelot/NameUtil.lua:4-12joins them withConstants.CharacterNameSeparatorConsts.CHARACTERNAME_SURNAME_SEPARATOR).Guild:GetPlayerused only the first, so the player wasQuebeldorf-Realm, matched no roster key,IsBank(self)was false andOptions:InitGuildnever registered the page. The same wrong name reached every self-check (own scans, own requests, own-echo guards). NewGuild:GetPlayerFullName()(Modules/Guild.lua) appends the second value as a surname only on a client that has that separator constant and only when it is not the realm (the documented second return isunitServer, andUnitPopupUtils.lua:126shows the slot can carry either); it is used byGetPlayerand the request dialog's fallback (Modules/UI/Search.lua). Era, TBC and MoP have no such constant and keep the bare name.Tests/guild_spec.lua: four examples (surname joined and IsBank true; realm in the second slot ignored; a surname already in the first slot not doubled; no constant, second value ignored).Constantsadded to.luarc.json. Not yet re-run in a Forever client, and other players' names arriving over addon messages on Forever have not been checked for the same split. - PENDING-STATE-001: a banker's own bank read "Old format" between its scan and its first
publish (the operator, 2026-09-29, on a brand-new Forever banker's Bankers tab: "there is only
one format of data on newer clients, right?").
Guild:GetAltStalenessreturns"v1"for any held copy with no canon, and a canon is minted only AT publish -- so a banker whose scan was stored but held by the MULTIPC-001 publish gate (the guild had not answered yet; the status bar's countdown) was labelled old-format. New state"pending": our OWN bank, no canon, andBank.deferredset. The Bankers tab says "Not published yet" in yellow (Modules/UI/Browse.luaSTATE_TEXT / STATE_COLOR / STATE_RANK), the Inventory tab is not painted red and its tooltip explains the hold (Modules/UI/Inventory.lua). A later version named by another PC still wins ("behind"), and anyone else's canon-less copy is still "v1". Every flavour, not only Forever -- any new banker in a quiet guild saw it.Tests/tabstaleness_spec.lua: one example walking pending -> behind wins -> another banker stays v1 -> published is current. - FOREVER-BANK-001: on WoW Forever every bank-character scan raised an error, so a banker's items
never reached the Guild Bank window (the operator, 2026-09-29, with BANK debug on:
OnUpdateStop called/Calling Scan()and nothing after, thenInventory/Scan.lua:77: bad argument #1 to 'GetContainerNumFreeSlots'fromBank:Scanon closing the bank). Forever has noBANK_CONTAINER,NUM_BANKGENERIC_SLOTSorNUM_BANKBAGSLOTS-- the Forever tree defines onlyNUM_BAG_SLOTS-- because its bank is the modern bank-TAB system: each purchased character tab is a container whose id comes fromC_Bank.FetchPurchasedBankTabData(Enum.BankType.Character), which is how Forever's ownBlizzard_UIPanels_Game/Camelot/BankFrame.lua:91-98counts them. NewTOGBankClassic_Constants.BankContainers()(Modules/Constants.lua) is the one list of the character's bank containers: on Classic Era, TBC and MoP the vault then the bank-bag range, the same ids in the same order as before; on Forever the character tabs. The ACCOUNT (warband) bank is left out on purpose -- it is shared by every character on the account, so each alt would publish the same items as its own.Inventory/Scan.luawalks the tabs when there is noBANK_CONTAINER(Scan:ScanBankTabs; the Classic branch is untouched) and treats tabs reporting no slots as "bank out of sight", keeping the stored bank rather than emptying it (INV2-VAULT-001).Bank:FindItemsInBankandMail:FindEmptyBankSlotwalk the same list; on Forever both would have raised the same way.Tests/scan_spec.lua: four examples (both character tabs read and the account bank not; no tab or no slots returns nil; a whole ScanAll completes; the Classic list is the vault then BankBagRange).Tests/itemhighlight_spec.lua's BANKSLOT-001 one-spelling guard acceptsBankContainersas the shared spelling and pins that it is built onBankBagRange.C_Bankadded to.luacheckrcand.luarc.json. FOREVER-BANK-002 (the same session's self-audit): the tabs are read only while the bank window is open (Bank.atBank, set onBANKFRAME_OPENED, cleared after the close's own scan inModules/Events.lua), because a tab reporting slots is not proof its contents are readable away from the bank, and an empty read there would have replaced the stored bank on the next vendor or mailbox scan;scan_specpins nil away from the bank. Item highlighting on Forever's bank followed as FOREVER-HIGHLIGHT-001, above. - FOREVER-NAME-002: on WoW Forever a character's name carries no realm, and TOG Bank added one
(the operator, 2026-09-28: "could it have something to do with the fact that Forever doesn't
have <name><realm> it has <first name><last name>"). Forever runs regional unique names
(
RegionalUniqueNamesEnabled(), which exists only in the Forever tree): the full name is the identity, with no realm. The guild roster returns it bare, Forever's own AceDB keys the character asFirst Surname(AceDB-3.0.lua:263-278in the_classic_beta_install), and LibGuildRoster keys its roster by the bare full name (LibGuildRoster-1.0.lua:1264,:1345,:1659). TOGBank'smemberRosteris keyed by the library's names (Guild:_RefreshFromRosterLib), but every lookup went throughNormalizeName, which appended-<realm>, so on Forever every direct roster lookup (IsBank's fast path, IsInCurrentGuildRoster, IsPlayerOnline's fallback, whisper targets) missed. On a regional-names clientNormalizeNamenow keeps a bare name bare and drops a realm suffix, andGetPlayeris the bare full name -- the library's rule, in the library's words. The earlier FOREVER-NAME-001 surname join is now gated on the same switch instead of on the separator constant. Era, TBC and MoP have noRegionalUniqueNamesEnabledand take the old path unchanged.Tests/guild_spec.lua: five examples (the player is the bare full name and IsBank finds them under the library's key; a realm suffix is dropped; a surname already in the first slot is not doubled; no switch, or a switch answering false, changes nothing). The zero-data banker record saved under the old-ClassicBetaPvEkey is removed by the existing stale-stub cleanup at the next roster rebuild. Not yet re-run in a Forever client. - FOREVER-EVENTS-001: on WoW Forever the addon stopped half-way through setting up its event
handling, so a banker's bags were never stored and the Guild Bank window stayed empty (the
operator, 2026-09-28: bags full, Guild Bank window "0 items across 0 banks", no debug output with
BANK and uncategorized debug on).
Events:RegisterEventscalled the bareChatFrame_AddMessageEventFilter, which on Era and Forever alike is only a deprecation alias ofChatFrameUtil.AddMessageEventFilter(Blizzard_DeprecatedChatInfo/Deprecated_ChatFrame.lua:51, loaded only while theloadDeprecationFallbacksCVar is on). On the operator's Forever client it was nil, so the call raised and everything after it was skipped: the mailbox hooks, the share timer andeventsRegistered. It now callsChatFrameUtil.AddMessageEventFilter, the same function the alias points at on Era, TBC and MoP (ChatFrameFilters.lua:195in each tree), with the alias only as the fallback. A sweep of every global Forever defines only in itsBlizzard_Deprecated*files found two more, both in the debug chat tab (Modules/Output.lua):ChatFrame_RemoveAllMessageGroupsandChatFrame_RemoveAllChannels, now called as the chat frame's ownChatFrameMixinmethods, present on all four clients.Tests/events_spec.lua: RegisterEvents finishes with the alias absent and installs the offline-whisper filter throughChatFrameUtil. Not yet re-run in a Forever client; whether this is the whole reason the scan stored nothing there is NOT established -- the empty debug output is consistent with it, but the scan's own path was not shown to raise.
Internal
- FOREVER-001: the lockstep specs cover the Forever TOC.
Tests/wiring_spec.luapins it as the Era TOC with only its Interface line and the LibDBIcon difference changed, so a module added to one TOC only still fails; the per-TOC "is this module loaded" examples inbrowse,item,logapi,mailbox,pricelist,sendresult,togtoolsbridge,usable,windowalphaandguildroster_integrationnow include it. LIBDBICON-DEP-001's "not vendored" example keeps the three other TOCs and names Forever as the exception. wow-version-replication.ps1also mirrors into_classic_beta_, the WoW Forever install.- Harness pin
ee56a45->a49127f;frames.setScreenSizeadopted.Tests/browsepersist_spec.lua'sstandUpnow makes oneframes.setScreenSize(2560, 1440)call. It replaces three hand writes, one of them into the harness's privateUIParent._fixedRect(harness thread36d5a55f). The undragged-window scale example is back at scale 2. Its 1.25 workaround was hiding a gap in my own hand-rolled resize, not a harness defect. - REVERSE-TIMEOUT-001: the reverse runner passes
--timeout=240. This pin brings in a 60 s per-file CPU limit. In the a-end reverse slice,browse_spectook 97 s where it takes 9 s alone, because everyframes.reset()fully collects what earlier files left alive (~450 MB, ~150k frames by then). All 696 examples passed once the limit was raised.Tests/run_reverse.luanow also forwards flags after<part> <parts>torun.lua(--times), so a slice can be measured. The timeout was escaping as(error object is not a string)with no file named; reported to WoWAPITesting on thread5f29b50aand fixed there in2b63397(now a namedTIMEOUTline and one failure). The harness's new.pkgmetachecker (pkgmeta.lua) reports no FAIL here; its six WARNs are the defensive ignore entries that match no tracked file today (tmpclaude-*,*.bakand the like), kept on purpose. KNOWN COST: a file that slows down in reverse order is now caught at 240 s, not 60. The retained heap is still SUITE-HEAP-001's. - SPEC-NIL-001: 19 weak
is_nilassertions strengthened in the five spec files above that writ's new spec-shape check flagged (Writ inbox thread004cbf2f:is_nilon a literal key passes for ever if the literal is misspelt). Removed members are now pinned by an enumerated key set (browse,item); a state that is cleared is first asserted present (mailbox,pricelist,guildroster_integration). The PriceList debounce example now holds the timer, so it sees the latch set, one publish per burst, and the latch released -- it previously ran the timer synchronously and never observed the latch at all. The remaining 59 sites in 22 more spec files followed the same day, so writ's spec-shape check is clean repo-wide (Tests/wowapiexcepted, per the thread). The method, in order of preference: a whole-tableassert.samewhere the table should hold exactly something (L.opening,info.alts, the answer kinds a responder sent); an enumeration of keys by pattern where a removed member must not come back under any name (snapshot helpers, the Escape and store settings, the old-wire observer, vendored libraries); anassert.is_not_nilon the same expression BEFORE the state that clears it (batch state, pending sends, the legacy rows); a local constant shared by fixture and check for bracketed string keys, which the checker does not pair; and the public API where one answers the question (D:Entries(),Guild:IsBank,Switches:IsEnabled). - LAGW-PERSIST-SCALE-001 + LAGW-FORGET-001: TOGBank's window-scale stand-ins retired onto
LibAceGUIWidgets MINOR 35/36 (released as v0.2.7). The library's
PersistWindowfollows a live scale change itself for an AceGUI Frame and re-evaluates a FUNCTION floor on each change, soUI:PersistWindownow hands it the max(1, scale) floor rule asfloorAt(px)and registers no listener of its own;Persist_OnScaleChanged, thewindow._togPersistrecord andUI:SetPersistedAnchor(SCALE-DOCK-001's re-dock hook, and its two callers inRequests.luaandSearch.lua) are deleted. The re-dock hook existed only because the old listener re-ranPersistWindow, whoseApplyStatuscleared a hand-made dock; the library's listener raises size and bounds only, so a docked window keeps its anchor with nothing registered.UI:ForgetPersistedWindowis nowW:ForgetWindow(which also restores a ClearFrame handle's own floor, SCALE-FLOOR-002). An older library copy withoutForgetWindowkeeps the pre-35 hand-removal of the library record, and gets NO floor (LAGW-OLD-FLOOR-001, below).browsepersist_spec: the live-scale examples pass unchanged on the library's listener alone; the released-window example checks the library's record; SCALE-DOCK-001's three examples now pin a dock surviving a scale change with nothing registered, a control provingApplyStatuswould clear it, and a released docked window left alone by the next scale change. Not run in a client. - DS-422-001 / CLAMP-SCREEN-001: 11 offline failures fixed, all from two sibling-library releases
the specs had not caught up with (the addon code was right in each case). Whole suite now
1939 forward and 1939 reverse, 0 failed.
- DeltaSync v4.4.0 (MINOR 22) parks a broadcast whose numbers a listener cannot yet resolve and
replays it once the table lands. A viewer now requests straight from the banker's replayed login
broadcast, with no offer and no version query, seconds after adopting the table.
fullsync_specpinned the old offer + query round (4 examples): the first-sync example now asserts the shorter path and that it goes to the author; "four cold viewers" counts the slots while they drain; "already current" counts offers from the second broadcast on; SYNCED-001 reads "pending" as the broadcast leaves, not two seconds later when the receipt has genuinely arrived.congestion_spec's park example stamped its offerv = 99, and a table version is a timestamp, so 99 now reads as a table BEHIND the viewer's and is dropped rather than parked; it uses the viewer's own version. - LibAceGUIWidgets v0.2.7 (MINOR 36):
PersistWindowclamps a saved window to the screen.browsepersist_specsaved windows 1200-2000 wide on the harness's 1024x768 screen (6 examples). Its fixture now stands up a 2560x1440 screen (tunable, size AND the anchor rectangle, guarded byscreenMismatch), saved tops sit on-screen, and the undragged-window example uses a 1.25 scale: that window's CENTER still resolved against a 1024x768 parent after the resize (cause not established), so at 2x it hung off the left edge and the clamp correctly moved it. TOGBank's own scale listeners were searched for the cause: only the standalone Requests window re-runsPersistWindow(Requests_OnUIScaleChanged,Modules/UI/Requests.lua:1345); Browse's (Browse.lua:1181) only re-lays its lists. A harness helper that resizes the screen coherently is requested on WoWAPITesting's inbox (harness thread36d5a55f). Delivered and adopted later in this release (the harness-pin entry above): the_fixedRectwrite and the 1.25 scale are gone. - Coverage moved, stated so nobody looks for it here:
fullsync_spec's "four cold viewers" now drives four requesters through DeltaSync's replay path, so the simultaneous-login-broadcast storm is covered only bycongestion_spec's storm example.
- DeltaSync v4.4.0 (MINOR 22) parks a broadcast whose numbers a listener cannot yet resolve and
replays it once the table lands. A viewer now requests straight from the banker's replayed login
broadcast, with no offer and no version query, seconds after adopting the table.
- LAGW-OLD-FLOOR-001: an outdated LibAceGUIWidgets (no
ForgetWindow, before MINOR 35) is handed no window floor (Peer Review on self-audit587af509, finding 2). Such a copy never gives a released ClearFrame's resize handle its own floor back, and AceGUI's frame pool is shared by every addon, so TOGBank's floor would have ridden a pooled frame into another addon's window. With no floor set there is nothing to leak. KNOWN COST: on an outdated library TOGBank windows can be dragged below their minimum;UI:PersistWindowprints one warning per session asking the player to update the library.browsepersist_spec: an outdated stand-in is handed width and height only and warns once across two windows; the control shows a current library still gets the floor as a function.
[v1.7.0] (2026-09-26) - The Shopping List
GuildShoppingList merged into TOG Bank (GSL-MERGE-001; the operator, 2026-09-25: "ok, we can do the gsl
integration in v1.7.0"). Design and build order: docs/GSL_MERGE.md. The operator's standing rule
for the whole merge: "i don't want to build new stuff as much as possible i want to use the
libraries" -- LibProfessionDB, LibItemDB through Inventory/Resolve, LibAceGUIWidgets.
New Features
- GSL-MERGE-001 step 2: the shopping list's model (
Modules/CraftList.lua, new;TOGBankClassic_CraftList). What the guild wants crafted (a LibProfessionDB recipe) or gathered (a plain item, GuildShoppingList's Miscellaneous bucket), and the gather window. Writers (D2, the operator: "so the GSL player is a tag like gbank, use what is in the GSL app for that. the officers/gm should be able to edit the shopping list"): the GM, officers, and a home member whose PUBLIC note carries[GSL](GuildShoppingList's own marker,GuildShoppingList.lua:799). Sync: four fields on the existing guild-settings payload --craftListandcraftListStampsmerged entry by entry (a removal keeps its stamp; thebankerOwnersrule),gatherStart/gatherEndfield by field.BroadcastSettingsnow sends from a[GSL]member, andApplyRemoteSettingstakes ONLY the list from one. The four fields are left out ofSettingsCanon, so a v1.6.1 client with the same settings still matches (KNOWN COST in the code). A sister guild's list never crosses. Demand: a recipe expands into its reagents (LibProfessionDB, by item id) for what the HOME bank does not already hold of the crafted item; each reagent row nets the home bank (Guild:GetAltItemTotal) and your bags (C_Item.GetItemCount); items are named throughInventory/Resolve. ProfessionDB is a required dependency in every TOC and.pkgmeta(sluglibprofessiondb). No window yet (step 3). Offline:Tests/craftlist_spec.lua(new, 20, on the real ProfessionDB Vanilla Alchemy data; the canon example goes red with the exclusion removed). Locations:Modules/CraftList.lua,Modules/Guild.lua, the TOCs,.pkgmeta,.luacheckrc,.luarc.json. - GSL-MERGE-001 step 3: the two tabs (
Modules/UI/CraftList.lua, new;TOGBankClassic_UI_CraftList). In the Guild Bank window, after the existing tabs so none moves: Shopping List for everyone (a View dropdown between what the guild wants, with its profession, how many the home bank holds and how many are still needed, and the reagents that takes, with Needed, Bank, You and Missing), and List Setup for the list's writers only (a search across LibProfessionDB recipes and, with no profession picked, LibItemDB items; a How many box; left-click puts an entry on the list or changes its count, right-click takes it off; the gather window on LibAceGUIWidgets' date picker). Built on the existing machinery, per the operator's rule: Browse's tab group andBuildSimpleStrip,UI/RowList, the shared chrome and status line, items named throughInventory/Resolve. Profession names and icons come from the client'sC_TradeSkillUI.GetTradeSkillDisplayName/GetTradeSkillTexture(present in the Era, TBC and MoP trees).Browse:SyncTabsre-renders the tab strip on open when the set of tabs changed, since the writer role moves with the roster, andBrowse:RememberedTabnow validates its fallback too, so a demoted writer is not reopened on a tab the strip no longer carries. A refused edit says whether the player may not edit the list or the list already holds that count. The quality-coloured item name is one helper,UI:QualityText, which the Browse rows now use as well. Offline:Tests/craftlistwindow_spec.lua(new, 13, on the real Guild, ProfessionDB Alchemy data, LibItemDB for the item search, AceGUI, Browse and the date pickers; red with List Setup shown to everyone, and red with every open rebuilding the tab strip).C_TradeSkillUIcomes from the harness (WoWAPITestingee56a45, thread b856f5a5).Modules/UI/CraftList.lua,Modules/UI/Browse.lua, the three TOCs,.luacheckrc,.luarc.json. - GSL-MERGE-001 step 4: the Reagent Tracker (
Modules/UI/CraftTracker.lua, new;TOGBankClassic_UI_CraftTracker; D5). GuildShoppingList's detached overlay as a small window of its own, showing the Shopping List tab's reagent roll-up (UI_CraftList:ReagentRows, the same columns), sorted by Missing, persisted astracker. It repaints on a list change, onBAG_UPDATE_DELAYEDwhile shown (registered on open, dropped on close, as ItemHighlight does), when bank data lands (UI_Inventory:RefreshSoonnow fans out to it on its own debounce, since it is often up with neither bank window open), and on a roster change (Browse:Refresh). It opens from a Tracker button on the Shopping List strip and from the new/togbank tracker. It is deliberately left out of Escape: a gathering overlay that the Escape stand-in counted would close on every Escape pressed in the world instead of the game menu opening. Offline: six examples inTests/craftlistwindow_spec.lua; the bank-data one was red before theRefreshSoonfan-out existed, and the bag-update one fires the real event through the harness and asserts the registration on open and its removal on close (Peer Review F5, red with the registration taken out).Modules/UI/CraftTracker.lua,Modules/UI/Inventory.lua,Modules/UI/Browse.lua,Modules/UI/CraftList.lua,Modules/Chat.lua, the TOCs,.luacheckrc,.luarc.json,README.txt. - GSL-MERGE-001 step 5: GuildShoppingList's list comes across, once (D9;
CraftList:ImportGSL,CraftList.ResolveGSLName). On a roster refresh (Guild:RefreshOnlineCache, both the library and the legacy path, beside the officer-floor publish), a client that may edit the list and whose guild has never had one (no entries and no stamps) readsGuildShoppingList_SavedItems("<name> x<N>") and its gather dates (GuildShoppingList_Config.GatherStartDate/GatherEndDate), writes the entries, and publishes once. Each name is matched through LibProfessionDB by recipe name, then effect, then both with a trailing parenthetical stripped, and last as a plain item by its exact name through LibItemDB (GuildShoppingList's Miscellaneous turn-in items). A spelling two recipes or two items share maps to neither (REQ-001); an ambiguous name does not fall through to the effect. Repeats are summed. The entries are stampedCraftList.IMPORT_STAMP(1), older than any TOGBank edit, because the first roster refresh can come before this client has heard the guild's list: stamped "now", an import would have overwritten the guild's counts and brought back entries it had removed (Peer Review F1 on self-audit 13180dbf). What matches nothing is reported withOutput:Response, which no setting mutes, and the names are kept indb.global.gslImport.unmappedNames(F2). GuildShoppingList's variables are account-wide, so the import runs once per account. KNOWN COST in the code: on an account with writers in two guilds the list goes to whichever guild such a character logs into first; the gather dates ride the ordinary settings stamp, so the race can still let imported dates replace a guild's newer ones; and on a client that has never held the guild's settings, an import racing an existing list is merged into it rather than refused (Peer Review on daa08281). The migration lives inModules/CraftList.lua, beside the list's other writers, rather thanModules/Database.luaas the design first said, because it writes through the list's own rules. Offline: sixTests/craftlist_spec.luaexamples on the real ProfessionDB Alchemy and Enchanting data and the real LibItemDB, including the race (red with the import stamped now), a recipe effect two recipes share (Health +5, red with the ambiguity marking removed) and a name nine items share (Punctured Voodoo Doll, red with the two-ids refusal removed); the importing examples went red with the roster hook removed. And oneTests/xguildfleet_spec.luaexample: a home[GSL]bank character's list reaches its guild, and neither a whisper of it nor a federation pull puts it in the sister guild (red with the XGUILD-SETTINGS-001 gate taken out).Modules/CraftList.lua,Modules/Guild.lua. - GSL-MERGE-001 step 7: order from a Shopping List row (D6;
UI_CraftList:OnListRowClick,UI_CraftList:OrderSource). A left click on a row in either view (a wanted item, the item a wanted recipe makes, or a reagent) opens the existing request dialog on the bank character holding the most of it. The row comes fromBrowse:BuildRows, the Browse tab's own rows, so a sister guild's bank character counts as it does there, and the click goes throughBrowse:OnBrowseRowClick, so ordering closed, not-for-sale and the request limit refuse it exactly as on the Browse tab. A view-only bank and a hidden row are skipped when choosing. An enchant (no item) and an item no bank character holds say so on the status line; Shift/Ctrl-click links or previews; a right-click does nothing. A tie goes to the first bank character in name order. Offline: eightTests/craftlistwindow_spec.luaexamples (six red before the change). The spec's bank fixture now runs the realGuild:RebuildBankerRosterfrom the banker's gbank note, the path a live client takes onGUILD_ROSTER_UPDATE, rather than a hand-set roster (Peer Review on self-audit 93c01c04).Modules/UI/CraftList.lua. - WANTED-BREATH-001: Still needed breathes (the operator: "can you have the wanted stuff
'breath' using the function from the widgets library?"). On the Shopping List tab's Wanted view
the Still needed number pulses through LibAceGUIWidgets'
W:Breathe(the call the help icon, the cancelled date and the stay-online line make) while it is above zero, and stops at full alpha when the bank covers it. The breath animates a frame, so the column builds its own cell (a frame holding the number) and the list'sonRowRenderpaints it; a pooled row reused for a met entry is stopped, not left dim. Offline: oneTests/craftlistwindow_spec.luaexample (red before).Modules/UI/CraftList.lua. - SETUP-SPLIT-001: List Setup split, TOGPM's shopping-list box on top (the operator: "split
the list setup into whats on the list on top and the selection bit on the bottom. lets make it
look like TOGPM's 'shopping list' bit at the top of the professions page"). What is on the list is
now a bordered box at the top of the tab (
UI_CraftList.SetupBox, a RowList): icon, quality-coloured name, type, then TOGPM's-count+and redx. It is capped at 40% of the tab's height and scrolls beyond that, as TOGPM's is. The search results sit under it, and an empty search no longer lists the list there.-from 1 andxtake an entry off; every control goes through the list's own writers and the same may-edit gate as a result click (UI_CraftList:StepEntry/RemoveEntry/WriteEntry). TOGPM's "!" alert and reagent expander are not carried: they are per-character craft features with no meaning for a guild list.OnSetupRowClick's branch for on-list rows could no longer be reached and is removed.Browse:AnchorListscallsUI_CraftList:AnchorSetupto put the box over the results. Offline: the old "empty search lists the list" example is replaced by four (box over results, the controls, a member refused, the height cap).Modules/UI/CraftList.lua,Modules/UI/Browse.lua. - GATHER-BREATH-001: the gather dates breathe (the operator, of the Shopping List tab's
"3 wanted -- gathering 2026-09-26 to 2026-10-03": "the date isn't breathing"). That line was what
"the wanted stuff" in WANTED-BREATH-001 meant, and I built the Still needed pulse instead; the
Still needed pulse stays unless the operator wants it gone. The status bar gains
Instance:SetLeftBreathing(on): the left text is AceGUI's FontString on the pooled status background, which cannot host the breath (BREATH-001), so the first request moves it onto a frame of the bar's own (cached on the pooled background, as the centre host is, POOL-CHROME-001) and the bar's release hands it back, still.UI_CraftList:Drawasks for the breath while the Shopping List tab shows a gather window;HideLists, which every tab switch passes through, stops it, so no other tab's line breathes. Offline: twoTests/statusbaryield_spec.luaexamples on the real bar (the breath and its release) and oneTests/craftlistwindow_spec.luaexample (on, both views, off on Browse).Modules/UI/StatusBar.lua,Modules/UI/CraftList.lua. - SETUP-SPLIT-002: the box's scrollbar came in at 3 rows (the operator: "i don't mind the
scrollbar, but we need to expand more than 3 items before we introduce it. how does TOGPM do
it?"). TOGPM shows every row until its 40% cap and pads the section past the rows. My box was
sized to exactly its rows, and RowList counts rows with
floor, so one pixel lost to the client's pixel snapping dropped the last row and showed the scrollbar. The box now carriesUICL.SETUP_BOX_SLACK(2). Offline: aTests/craftlistwindow_spec.luaexample shaves a pixel off the box and requires three rows and no scrollbar (red before). Not yet seen in a client.Modules/UI/CraftList.lua. - GSL-SENDTO-001: the Shopping List tab says who to send items to (the operator: "on the
shopping list tab, we need to show who is the GSL character, so people know who to send items
to"). A "Send items to:" line on the tab's strip names every home-guild member with
[GSL]in their public note (CraftList:GSLPlayers, the same test asIsGSLPlayer), online ones first in green, offline ones grey and marked, and tells a guild with none how to name one. Painted byUI_CraftList:Draw, which a roster change reaches, so online state stays current. Offline: oneTests/craftlistwindow_spec.luaexample.Modules/CraftList.lua,Modules/UI/CraftList.lua. - ITEM-SEARCH-001: every item is searchable on List Setup, whatever the profession (the
operator: "we need to ensure the eko's that make juju's are on the list, why don't we just have
the itemdb searchable on the GSL add list?"). The search skipped LibItemDB whenever the Profession
dropdown named a profession, so an item no profession makes (the E'kos are Quest items) could not
be found from a profession view. A profession now narrows the recipes only. Offline: a
Tests/craftlistwindow_spec.luaexample loads LibItemDB's shipped Quest data and finds all seven E'kos (12430-12436) with Alchemy picked. KNOWN LIMIT: LibItemDB's search is a plain substring, so "eko" without the apostrophe still finds nothing; a punctuation-insensitive match is requested from ItemDB (contracte860cddb848a).Modules/UI/CraftList.lua. - SETUP-REAGENTS-001: made items show their reagents, TOGPM's expander (the operator: "i would
like to do a TOGPM like thing, where each 'made' item shows the mats to make it. so we can say we
need 5 flask OR x reagent y reagent etc. then it can generate a complete reagent list based on the
end items required"). In the List Setup box a made item carries TOGPM's
+; a click opens its reagents under it (indented, at per-craft count times the count wanted, no controls) and-closes them. The box is no longer sortable, as TOGPM's is not, so a reagent stays under its item. The complete roll-up across every end item is the Shopping List tab's Reagents view (CraftList:Demand), unchanged; a raw reagent can still be put on the list directly as an item. Offline: oneTests/craftlistwindow_spec.luaexample.Modules/UI/CraftList.lua. - SHOPLIST-SPLIT-001: the Shopping List tab laid out like List Setup (the operator: "the + and
the shopping list totals need to be on the shopping list tab as well. the guild needs to see how
many dreamfoil etc they need to send ... the shopping list tab needs to be like the list setup
tab, the items on the top, but instead of a search bit on the bottom, the bottom rows should be
all the reagents we need to make the items in the list"). The wanted items are a bordered box on
top (unsorted, so an item's reagents stay under it) and the full reagent roll-up
(
CraftList:Demand, Needed / Bank / You / Missing) is always shown under it; the Show dropdown that switched between the two is removed. A crafted item's+opens its reagents at the count still to make (wanted less what the bank holds of it), so an opened item agrees with the roll-up. Because a row click orders the item (step 7), the+is a button of its own in the first column (buildArrowCell), not a row click as on List Setup. Both boxes are now one builder, one height rule (UICL:BoxHeight) and one expander (UICL.WithReagents), so the two cannot drift. The status line reads "N wanted, N reagents, N still missing". Offline: two newTests/craftlistwindow_spec.luaexamples; the four that drove the old dropdown now open the tab as it is.Modules/UI/CraftList.lua. - GSL-BANK-001: the [GSL] character is the shopping list's banker (the operator: "we also need
what is on the GSL player (bank/bags/mail) just like a banker. they are the 'special' banker for
the shopping list" / "the missing tab should be what the GSL banker is missing"). One rule now
decides what a guild note makes a character a bank,
noteBankRoleinModules/Guild.lua, and the six sites that decide who is a bank ask it instead of testing forgbankon their own:GetBanks' fallback,_SisterBankers,RebuildBankerRoster,IsViewOnlyBank's fallback, and both roster builds (library and legacy) plus the sister roster.SenderHasGbankNotedeliberately staysgbank-only, because it grants settings and donation authority, not bank status. An earlier draft of this entry said "every site", which missed it; and because the sister roster stores a[GSL]-only character asisBank, its sister-guild branch gave such a character that authority until it was changed to re-read the note forgbank(newTests/xguild_spec.luaexample).[GSL]in the PUBLIC note makes a banker flaggedgsl(the field onmemberRoster, read by the newGuild:IsGSLBank), so the GSL character's own client scans and publishes its bags, bank and mail through the banker pipeline. It is view-only unless the note also saysgbank: the guild sends to it, and does not order the shopping list's stock back out. It therefore shows on the Browse and Bankers tabs as a view-only bank, andBankerStoresstrips[GSL]from its note. On the Shopping List tab the reagent roll-up gains a GSL column (CraftList:GSLHolds), Bank no longer counts the GSL character (CraftList:BankHolds, both throughHomeBankersHold), and Missing is the need less what the GSL character holds; Bank and You are shown beside it, not netted out. The Reagent Tracker shows the same columns. Found while wiring it: my new rule madeIsViewOnlyBank's fallback depend on being a banker, which broke the existing "GBANK VIEWONLY" case (the banker test is case-sensitive); the fallback keeps the marker's own answer. Offline: twoTests/craftlistwindow_spec.luaexamples (the note rule, and the GSL column); the roll-up and tracker examples incraftlistwindow_specandcraftlist_specnow expect the new Missing.Modules/Guild.lua,Modules/CraftList.lua,Modules/UI/CraftList.lua,Modules/UI/CraftTracker.lua. - GSL-YOU-001: You and GSL disagreed on the GSL character (the operator 2026-09-26, with a
screenshot of 120 against 160 Dreamfoil: "when i'm on the GSL toon, the GSL and You columns should
match").
CraftList:YouHoldwasC_Item.GetItemCount(itemID), bags only. A bank character (the[GSL]one included) now reads its own scanned total (Guild:GetAltItemTotal: bags, bank and mail), the number the GSL and Bank columns read for it; anyone else gets bags plus bank (includeBank, Classic EraItemDocumentation.lua:242). The mail half is only as fresh as the character's last mailbox visit, since the inbox can be read only while it is open (Modules/Bank.lua:303). Offline: aTests/craftlistwindow_spec.luaexample with bag and mail stock on the GSL character.Modules/CraftList.lua. - TRACE-REALM-001:
/togbank dev trace <name>traced the wrong realm (the operator's own trace, 2026-09-26). A bare name normalised to the PLAYER's realm, so "trace Togcloth" typed on Old Blanchy traced Togcloth-OldBlanchy, which does not exist, and printed the real Togcloth-Azuresong as "banker on the roster: NO". A bare name now resolves to the one bank character (then the one roster member) with that name on any connected realm; an ambiguous name keeps the old reading. Offline: aTests/trace_spec.luaexample.Modules/Chat.lua. - ESC-SPLIT-001: one window list was doing two jobs (Peer Review, inbox a0556886).
UI.ALPHA_WINDOWSwas both the transparency-slider list and the Escape registry, so the Reagent Tracker could not get a slider without also being closed by Escape. Escape now reads its ownUI.ESCAPE_WINDOWS(the seven existing windows); the tracker is inALPHA_WINDOWSonly, so it has its own Appearance slider and is also moved by Recenter Windows. Offline: aTests/windowalpha_spec.luaexample pins the two lists against each other, and aTests/craftlistwindow_spec.luaexample drives the tracker's slider and checks the Escape stand-in stays hidden with only the tracker open; both went red with the tracker added back to the Escape list.Modules/UI.lua,Modules/UI/CraftTracker.lua.
Bug Fixes
- XGUILD-SETTINGS-002: a sister guild's officer still had settings authority behind one branch
(Peer Review F4 on self-audit 13180dbf, traced by them).
SenderHasGbankNote,SenderIsGMandSenderIsOfficereach read the SENDER'S guild roster, so they answer true for a sister guild's bank characters, officers and GM -- right where they authorize that guild's bank data, wrong for settings. The XGUILD-SETTINGS-001 branch at the top ofApplyRemoteSettingswas the only thing between another guild and every officer setting.SettingsSenderAuthorizednow refuses a sender placed in another guild (the same test that branch uses), andApplyRemoteSettingsasks it rather than repeating the three helpers, so the refusal holds even without that branch. The helpers are unchanged. Offline: theTests/xguildfleet_spec.lualist example asserts the home bank character has a gbank note but no settings standing from the sister client (red without the new line), and with the sister branch disabled the home list still stays out.Modules/Guild.lua. - SETTINGS-TIE-001: two clients holding different settings at the same stamp never agreed
(Peer Review F1 on the step-2 self-audit). An equal stamp was taken from whichever payload arrived
last, so two officers' writes in the same second flipped each client back and forth; the
[GSL]path also spelled the same rule differently. Both paths now go through oneadoptSettingsField: a newer stamp wins, an unset field is seeded, and an equal stamp goes to the greater canonical value, so every client picks the same winner. Found while wiring it:ApplyRemoteSettingsmoved the held version BEFORE judging the fields, so a field with no stamp of its own read as exactly the payload's stamp; it now moves after. KNOWN COST in the code: a plain member that sees a tie while the writer holding the greater value is offline asks the other writer once a minute until the two meet. The shopping list's entry merge (CraftList:Merge) and the bank-character owner merge (Guild:MergeBankerOwners, Peer Review on the follow-up audit) had the same defect per entry: on an equal stamp the list now takes the greater count and the owners the greater name. KNOWN COST in both: a removal or a clear counts as nothing and so always loses a tie, and comes back.Modules/Guild.lua,Modules/CraftList.lua;Tests/craftlist_spec.lua(five examples; the settings and owner ones go red on the old rule). - POOL-CHROME-001: a released TOG Bank window left its "?", gear, share button and status-bar
text on AceGUI's pooled frame (Peer Review F5, which asked for a trace; the trace found the
defect, wider than asked).
UI:DressWindowcached the icons on the frame and never hid them, so the next window built on that frame, another addon's included, showed our help icon and a working gear. The share button's OnShow hook still showed it on a bank character.StatusBar:Attachbuilt a NEW centre frame and right-hand text on every attach, left the old ones shown with their last text, and stacked one more OnShow hook per life that redrew a dead bar. Now: one release dispatcher (UI:OnWindowRelease, because AceGUI holds a single OnRelease per widget) runs the chrome's and the status bar's clean-up. The bar's sections are cached on the pooled bar and reused, and its show/hide hooks are set once per frame and read the frame's current bar. Seen offline only, not in a client.Modules/UI.lua,Modules/UI/StatusBar.lua;Tests/windowchrome_spec.lua(red without the release step).
Internal
- Changelog archive: the whole v1.6.0 section moved to
CHANGELOG_ARCHIVE.md. Forward part A8a (A5a pluscraftlist_specandcraftlistwindow_spec) replaces A5a in the gate. - The real LibItemDB in
craftlist_spec(Peer Review F2): one describe loads the installed ItemDB with its shipped Vanilla Miscellaneous, Consumable and enUS name data and asserts both entries resolve through it; the existing naming example pins the no-library client fallback. - CurseForge page checked with the harness's
cfhtml.lua(declared as the writ suitecfhtml): well-formed, 64,542 characters. It flagged two CurseForge links (TOG Profession Master, TOG Tools) against the Discord-only rule for player pages; both names are now plain bold text.docs/Curseforge_Description.html. - The whole-client test env was missing
Modules/CraftList.lua.Tests/env_togbank.lua'sMODULE_ORDERis a second copy of the TOC's load order, and every fleet client built from it silently dropped a heard shopping list, so a fleet example about the list would have passed for the wrong reason. Added where the TOC loads it, withModules/Usable.lua, which it also lacked. MODULE-ORDER-001 (Peer Review F6): aTests/wiring_spec.luaexample now reads the Era TOC and requiresMODULE_ORDERto equal its non-UI module lines in order (red withUsable.luaremoved). - Release docs for v1.7.0:
README.txtbrought level with the CurseForge page and the code -- version 1.7.0, the shopping list in Key Features and the tab lists, a[GSL]setup section, the You column counting bags and bank, List Setup (not the Shopping List tab) setting the gather dates, the Reagent Tracker's transparency slider, a v1.7.0 compatibility note, Changelog Highlights and ProfessionDB under Libraries. The CurseForge page gains ProfessionDB under Required (it was a TOC dependency and missing there), List Setup in both tab lists, the[GSL]setup step, the You column wording, and two New notes: older versions keep syncing but do not see the list or the[GSL]stock, and ProfessionDB is required. - GSL-MERGE-001 step 6, TOGBank's half: a "Guild Shopping List" section in the CurseForge
page's Core Features (telling a GuildShoppingList guild to keep that addon enabled until a list
writer has logged in once, since the import can only read its saved variables while it loads),
the Shopping List tab in the page's tab lists, and a Shopping List section in
README.txt. GuildShoppingList's final release is requested from its own workspace (contract27dae11a3e42).docs/Curseforge_Description.html,README.txt,docs/GSL_MERGE.md. - Harness pin
23d11b1->ee56a45(WoWAPITesting deliveredC_TradeSkillUI, thread b856f5a5). The spec-localC_TradeSkillUIstand-in inTests/craftlistwindow_spec.luais deleted; the spec now runs on the harness's. - Gate: forward 470 + 504 + 961 = 1,935, reverse 537 + 711 + 687 = 1,935, none failed.
Releases v1.6.1 and older have been moved to
CHANGELOG_ARCHIVE.mdto keep this file under GitHub's 125,000-character release-body limit. Nothing was deleted; each section moved whole, at a version boundary.
This mod has no additional files

