Pinned Tweet
Even one liners pack high value punches 👊
Accessibility for all @reactnative @expo
github.com/necolas/react-nat…
1
10
1,341
Software has the same question. Our answer: the claim carries the burden.
Our recap tool named a task owner who was right only because the model said so. Now it must find the transcript turn holding the quote first. A quote found in two people's turns gets no single owner.
Let me return to the issue of AI-generated papers, because many seem to be missing the fundamental point of my paper with Dario Caldara: who should carry the burden of verification.
I went to law school. One of the first things you learn there is that a key decision in any legal system is which side bears the burden of proof. In criminal cases, the burden of proof lies with the state, not the defendant.
Placing the burden of proof on the state is a straightforward application of optimal mechanism design: proving guilt is easier than proving innocence, and, as a society, we have decided to minimize the number of innocent persons who are punished.
But civil law shifts the burden of proof to the defendant when the facts point to the defendant’s negligence, and the defendant can produce the evidence at a lower cost. The classic case in English tort law is Byrne v. Boadle (1863), which established the principle of res ipsa loquitur (“the thing speaks for itself”). The court held that, when a barrel of flour falls from a second-story warehouse window onto a passerby, it is the warehouse owner who must show that he was not negligent. Barrels do not usually fall on their own, and only the warehouse owner can know how the barrel was handled and why it fell.
The same applies to papers. The burden of verifying the argument and the results lies with the author, not the editor or the referee. The author has a lower cost (they know the paper, after all), and the verification only needs to be done once, not repeated by every reader. This is not about equity; it is about simple mechanism design.
The editor and the referees need to judge whether the paper is an important contribution to the literature and whether it is a good fit for the journal in terms of focus and quality. They can also provide useful feedback on how to frame the question or on how to propose further exercises. But neither the editor nor the referees should be forced to check the proofs or the computations.
Now, as a by-product of reading the paper, the editor and the referees often find mistakes. That was useful in the past. Right now, it would make much more sense to require the authors to formally verify their results with Lean or LLMs and submit verification evidence with their paper (or an explanation of why they disagree with Lean or the LLM).
In the past, checking that the author had undertaken a reasonable amount of due diligence was based, to a large extent, on the writing. A clearly written paper correlated, not perfectly but to a high degree, with due diligence. If you are writing your paper carefully, you have probably found where most of the material mistakes are.
The problem is that right now I can prompt an LLM, generate something that looks like a reasonable paper in a few hours, and submit it to a journal without even reading it (or only cursorily). This is not a hypothetical; it is already happening at an increasing speed: I get one of those papers every morning.
The problem is not that the text is AI-generated, but that AI-generated text correlates highly with a lack of verification.
This leads to a pooling equilibrium in which editors and referees cannot distinguish papers with verification from those without. It is the market for lemons all over again. And that would break the peer review process.
Again, I insist: a paper flagged by Pangram as 100% AI-generated would not be a problem in itself if I had reason to believe the author had verified it. The problem is that I usually do not.
Even when I generate texts myself with AI (for example, when I write instructions for my RAs) and I read them, I find that, while the original text is quite good, I need to change things here and there, and, before you realize it, Pangram no longer flags the text as 100% AI-generated: it has become my text.
You may ask: doesn’t this mean, then, that Pangram is useless? No. Forcing authors to “humanize” their text is a tax, not a large one, but a tax that will deter the most outrageous cases of “I just submit whatever the LLM produces for me.” It is a first line of defense, a thin screening one, not the whole defense structure.
This does not mean, either, that authors should not use LLMs. I use LLMs aggressively. I burn through my token allocation every week like there is no tomorrow (and perhaps, with AI, there is no tomorrow anyway). Academics who refuse to use AI in their research are sore losers.
But look, at the end of the day, you need to write your own introduction, even if the LLM can help you with a first rough draft. If you didn’t even write your introduction, you are not getting the point of your own paper. I feel this myself when my coauthor write the introduction to our joint paper. Until I write my own slides, I don’t get all the nuances of the introduction.
And I am not advocating automatically rejecting papers flagged as 100% AI-generated, either. I am advocating looking at them but never giving them the benefit of the doubt. If the argument is not clear, if the contribution is not transparent, if there is a serious mistake, out! I am happy to spend time as an editor with the paper of an assistant professor who has made rookie mistakes in their introduction. I am not happy to spend time as an editor going over the output of an LLM that the author did not bother to verify.
The ironic thing is that, if we don’t fix this problem, journals will end up going, even more than it is the case now, for papers by “big names.” If you think that AI-generated text will “democratize” economics, you are mistaken. It will make it even more hierarchical. If you are junior researchers, you will be the one losing, not me.
Now, before wrapping up:
1) No, if English is your second language, Pangram will not flag your text because an LLM helped you with grammar and syntax. I have checked that myself (how many “Fernández-Villaverdes” do you know who have English as their first language?).
2) No, Pangram does not discriminate against people from any particular group. There is zero evidence of that outside the New York Times craziness.
3) And yes, the cartoon is AI-generated.
My paper with Dario is here:
sas.upenn.edu/~jesusfv/Peer_…
5
Our diligence chat used to take 65 seconds to answer a question. Now it takes about 1 ms, because it reads the stored workup and never rebuilds it.
Regulators are asking who answers for an AI agent in finance, and a coalition just proposed tying every agent to a responsible person. If AI touches your deal work, run the 4 checks we run on ours:
1. Does the answer come from a record or a fresh guess? Ours quotes the stored workup. It never recomputes mid-conversation.
2. Does a stale answer say it is stale? Ours gets labeled stale instead of quietly recomputed.
3. Can the AI change a number, or only suggest one? Our planning assistant shows every change as a preview. Nothing saves until a person clicks apply.
4. Did you replay it before you trusted it? Our 16th replay round passed 24 of 25.
An auditor will ask who changed the number. Have the answer before the deal closes.
Which fails first in your diligence AI: the stale answer or the silent change?
1
1
69
The diligence side of this, written up: pineapples.dev/blog/diligenc…
4
Missing from the list: learning to say who owns it.
Our AI call recap named the person who asked as the owner of the task. New rule: the owner is the person asked, or whoever says "I'll". Anything else prints "Owner not stated" instead of a guess.
New manager challenges, in rough order:
- learning to manage anybody
- learning to manage folks who aren't like you
- learning to manage folks not like they are your friends
- learning to hire people better than you
then
- learning to hire people far more experienced than you
1
2
26
Our AI call recap read 40,000 of 67,245 characters of a 69 minute call, failed, and said nothing.
Vercel just launched Board, one queue where agents and humans share tasks and approvals. Before you plug an agent into yours, run the 4 checks we now run on ours:
1. Does it fail out loud? Our recap now reads the whole call in parts, retries once, and pings a human if no recap exists after 30 minutes.
2. Can your log answer "what did this answer read?" If not, you can't defend the answer. Every tool call of ours now records the projects it touched.
3. Is hidden on the page really never sent? In our dev environment an API returned 38 listings, the page showed 5, and the 33 hidden ones still shipped names and facts. Now 0 hidden, 13,934 bytes down to 2,127.
4. Is the revert written before the raise? We ran 3x AI budget for one day, with the rollback in the plan first.
Silence is not success.
Which fails first in your stack: the quiet failure or the hidden data?
4
1
58
The governance side of this, written up: pineapples.dev/blog/ai-gover…
10
The grader checking the database is the right instinct. Do the same for "nothing found."
Our deal-change watcher's first real run read 7 documents and reported 0 changes. The answer had hit an 8,000-token output cap. Now a cut-off answer is a failure in words, never a 0.
This harness paper is f*cking gold
Anthropic's engineers explain agent evals with a flight booking. The agent says "booked." The grader checks the airline's database. Now try that on a coding agent that says "all tests passed" after running 0 tests.
Here's the fix: the harness makes the agent show which test passed before it can mark the task done.
command → test name → result → verdict
The 6 parts of a harness replay:
Part 1 → capture the run
Save the command, the filter and the output. Look for two lines together: "0 tests selected" and "exit code 0."
Part 2 → replay from the same snapshot
Same repo. Same task. Same model.
Run it once with the old harness and once with the new rule.
Part 3 → change the finish line
Say the task requires login_after_refresh. The harness looks for that exact name and a passing result in this run.
Part 4 → try all 3 cases
Empty filter → task stays open.
Test fails → task stays open.
Test passes → done.
Part 5 → recover from a bad filter
List the available tests → find login_after_refresh → rerun it by name. Still missing? Leave the task open and record why.
Part 6 → score both versions
Repeat the paired runs. Count false passes, genuine passes and extra tool calls. A harness that blocks everything gets zero false passes too.
The old harness sees exit code 0 and closes the ticket. The new one sees 0 tests and keeps working.
I packed all 6 parts into one prompt. Drop it into Claude Code and it replays your last suspiciously green run against both rules.
6 parts. 1 prompt. 0 green checks for empty runs.
full breakdown in the Harness Engineering guide below ↓
17
Our deal-room AI said $5 million in earnest money. The document said $2.5 million.
The model didn't make it up. Our own code read the "." in "$2.5" as the end of a sentence and kept "5 million in earnest money" as the quote.
Then we counted. 43 stored quotes in production were cut inside a number. 32 at the start, 11 at the end, mostly from PDF tables where the text runs together. One read "0% down payment" where the document said 50%.
How we caught it: a fixed set of 14 real deal questions, asked six times over one weekend. Pass one had 8 wrong statements. Every wrong answer got a root cause, a rule and a test before the next pass.
The trend this weekend was nearly 1,000 AI agents doing research and inventing their own peer review. Same lesson in a deal room: most bad answers are plumbing, not the model. A decimal point. A blank signature line read as signed. Upload dates that let V1 outrank V5.
Buying AI for diligence, what do you ask the vendor for first: their fixed question set and pass history, or a live demo on your own data room?
3
2
59
UCLA at Michigan, 3:30 on CBS. Mute the TV, put on the radio call, and you hear the snap before you see it.
The Call fixes that: tap when you hear the snap, tap when you see it, and the radio waits. One page, built with Grok's app builder.
wave-comet-clover-frost.grok…
56
Enterprises afford it the boring way: a cap in code and an owner.
One client's background model spend has a daily cap. To clear a backlog of 212 graph extractions and 494 figure reads, the owner approved 3x for one day. The revert was in the PR before the raise.
How in the world can enterprise afford Anthropic tokens? They are so rediculously expensive. The cost isn't justified. It's just because they have the best product. Shows how much product matters.
1
19
Our meeting AI turned one call into three sets of to-dos. Then nobody did any of them.
One meeting often reached it as three copies: the PDF, the AI notes, the recorder's report. It proposed tasks from each one. In a deal team's shared review queue, 47 of 64 proposals had no owner and expired after 7 days. Nothing got approved.
What we changed:
1. One meeting, one run, one review card. Copies match on the calendar event first. Otherwise they need the same day in the owner's time zone plus the same title, people or start time. Same day alone never counts.
2. The card lands in the owner's own to-do list, not a shared queue.
3. Approving re-checks each task, so an existing one gets linked, not copied.
4. The recap stays out of the knowledge base, so the AI never counts a decision twice.
This week everyone is launching AI that listens to your meetings and acts: swipe-to-approve decision cards, preconfigured AI chiefs of staff. The listening is solved. Deciding what counts as one meeting, and whose card it is, is the part nobody demos.
When your AI proposes tasks from a meeting, who should own the approval: the person who ran the call or the deal lead?
1
20
Platform ROAS also counts things your customer never did.
One program this week sent the ad platform 17 Schedule events for 12 people, staff rebooks and tests included. Only 8 were prospect bookings. Platform: about 10 bookings. CRM: 5.
Fix: one event per person per program.
Platform ROAS is the most dangerous number you can run a business on.
It only measures what that one platform can see, which is a fraction of your actual business.
It skews in favor of whichever dashboard you’re looking at.
As your ad stack grows across Meta, Google, TikTok, and YouTube, each platform’s attribution model is built to claim maximum credit for any touchpoint it played a part in.
Customer journeys rarely close on one click.
A shopper sees a TikTok video, clicks a Google search ad 3 days later, then converts off a Meta retargeting ad, and all 3 platforms report that same sale as their own conversion.
Add up every platform’s reported revenue and compare it to what your Shopify account shows for that period.
Add up what Meta and Google each claim they drove and compare it to what your Shopify account actually shows for that period. Stack in TikTok and Snap on top of that, or widen the attribution windows, and the platform total can climb past what Shopify shows for the same period.
So now, alongside platform ROAS, we ask:
- Is the number you’re looking at the platform’s reported revenue, or your actual Shopify revenue for that period?
- Could more than one platform be claiming credit for the same sale, even when the totals don’t look inflated?
- What happens to total Shopify revenue specifically when you pause or cut spend on one platform?
- Is the lift you’re crediting to ads something you’ve tested with a holdout, or something the dashboards assumed?
Bookmark this post to refer back to next time a platform report looks too good to be true.
1
16
Testers deleted files from a deal room. Our AI kept answering from them.
On one client firm, 1,096 facts in its knowledge graph (773 of them financial) outlived the documents they came from.
Root cause: when a file was replaced or removed, the database cascade deleted the evidence rows. It never touched the graph edges built from that evidence. Nothing marked the old version as superseded, and the readers never checked whether a fact still had a live source.
What we changed:
1. A fact answers only while at least one piece of its evidence sits on a document still live in that project's vault. Every graph read enforces it: statements, contradictions, neighbors, paths.
2. Removing a document retires its graph in the same commit.
3. Deal terms and ledgers hide evidence from a trashed file or mark it "no longer in the vault", with no quote.
4. Cleanup jobs run dry first and wait for the owner's OK. Trash stays restorable for 30 days.
5. One end-to-end test on real Postgres checks 24 surfaces. Two of them fail on the old code.
This week a judge approved Google buying Spirit Airlines' old emails and chats for AI training, with de-identification rules attached. Everyone is promising what happens to the source data. The harder part is what the AI already learned from it.
If a seller pulls a document from your data room tomorrow, how would you prove your AI stopped quoting it?
3
1
64
Another document pipeline lesson from our AI work: 63 files sat "pending" for days with no failure written and no owner. Three causes and the fixes: pineapples.dev/blog/pending-…
7
In deal knowledge, versions bite before search does.
A deal-team assistant we build kept answering from the draft LOI. The first fix recovered 3 of 15 questions: the draft's chunks filled the 24-chunk cut. Now the signed copy wins each field and the draft goes to history.
A mid market Private Equity firm in the US came to us with a clear ask: the intelligence platform mega funds pay $1M+ a year for, without their deal data living in someone else’s software.
The problem was familiar. Deal knowledge was scattered across CIMs in folders, unsearchable calls and Zooms, banker emails in partners’ inboxes, and a lot of it only in people’s heads. Every Sunday night, an associate rebuilt it all by hand for Monday’s partner meeting.
So we’re building one knowledge graph of the entire deal operation. Every fund, mandate, CIM, target, banker, call and email becomes a record, linked by what actually happened.
Three jobs run on top of it:
Sourcing: Every CIM is scored against mandate, sector, EBITDA range, check size and geography the day it lands, with a drafted brief waiting.
Coverage: Every banker becomes a record: deals shown, hit rate, and whether their quoted multiple tracks the clearing price.
Synthesis: Every call, Zoom and email on a target merges into one timeline, surfacing what no single call shows.
By 7 a.m. every Monday, partners get one brief with drafted actions ready for approval.
It runs single tenant inside the firm’s own Azure tenancy, with transcription on their own servers. Nothing leaves their walls.
The result: the firm’s knowledge stays when people leave, and Monday runs on synthesis instead of Sunday night assembly.
Three jobs. One knowledge graph. One accountable engineering partner.
If you lead a mid market fund whose edge lives in calls, documents and relationships, reach out.
1
14
Someone asked our AI deal-team assistant for an 11am PST meeting "today". It booked Nov 7, ten days in the past.
Then they asked "is it done?" and it made a second invite.
Root cause: the chat never told the model what day it was, so it guessed. Reading production also showed the saved calendar time zone was empty for all 7 users.
What we changed:
1. Every chat turn gets the person's date, their zone and the next 8 dates.
2. The calendar tool takes "PST" or "friday" in the person's own words. Code turns that into an exact time and zone. A start in the past is refused.
3. Every confirmation reads back the full date, weekday and zone.
4. Email and tasks got the same rules. "Is it done?" returns the existing task instead of making a new one.
5. Evals now grade the write itself (start, zone, attendees, due date) across 1,500 random clocks and zones. The old evals only checked the words, so they missed this.
KPMG just ran a full audit with 100+ AI agents, and humans still stepped in for the key checks. Same idea at our size: the model never decides what day it is.
If your AI books meetings or sets due dates, where does "today" come from: the prompt or the tool contract?
13
The first pass is the easy part to hand off. The line we still read ourselves is where the money comes from.
Yesterday we changed a client checkout to price on the server from the catalog and ignore the amount in the request. If the paid total doesn't match, fulfillment stops.
The tech leads at a PE-backed US healthcare data company were reviewing every pull request by hand.
They asked us to take some of that work off their plate.
We built an AI reviewer to handle the first pass.
By November:
- It had reviewed 110 pull requests on their main product.
- The median wait for its first comment was 22 minutes.
- The team had fixed or closed more than half of its comments.
The leads now have a first review waiting when they open a pull request, so they can focus on design and risk.
Getting there took more than switching a reviewer on.
The customer had three conditions: don't hold up delivery, keep source code and secrets inside their perimeter, and keep AI spend predictable.
So the reviewer can suggest, but it can't block a merge. If it fails, delivery carries on. And on a new repository, it posts nothing until the team gives the go-ahead.
It reads each change alongside the linked ticket and checks whether the code does what was asked. Every finding has to point to actual code in the change, or it gets thrown out.
Then we asked the developers what was useful and what was annoying.
Most of the changes from that feedback made the reviewer talk less fluff. Dismissed comments stay dismissed. Findings don't repeat. Each pull request gets one summary thread.
That matters because a reviewer nobody reads isn't taking work off anybody's plate.
We also launched their own AI platform inside their cloud account. It gives each product a key and a spending limit, and records model usage and cost without storing prompts.
The reviewer is its first use case. A second repository is getting the same reviewer now, with one configuration file and no new infrastructure.
Their own DevOps engineer deployed both systems with us and runs them day to day.
The code is in their repositories, the changes were reviewed, and both systems have runbooks.
They can keep running it without us.
22
Our AI financial planner saved "$7,000 a month" as $7,000 a year.
The chat asked for monthly expenses. The save tool had no period field, and the service stores everything as annual. Whether to multiply by 12 was left to the model.
QA found two more in the same feature:
1. A chat update added a second expense line instead of replacing the first. In the test case the record summed both, $174,000 instead of $90,000, while the agent said it had replaced the figure.
2. One page called an education goal "On Track ($0/mo)". Two pages later, the same plan showed a $225,000 shortfall. Two functions, two answers.
The fixes:
1. Every line carries monthly or annual. Code annualizes, not the model.
2. The save returns a receipt, "$84,000 a year ($7,000 a month)", and the agent reads it back.
3. One shared calculation for every page that shows the goal.
Anthropic's Claude Code team says verification loops are what let agents write most of its code. Same lesson here: the model never decides units.
If an AI writes numbers into your system of record, where are units enforced: the prompt or the tool contract?
1
31
The renewal test for SaaS is shifting to: can the customer's own agent use us?
Our MCP server listed 433 tools. ChatGPT caps at 128, so it couldn't load it. We now list 38 core tools and the rest sit behind search, with the same approvals.
We have 2 agents we pay five figures each for. They are great products and we recommend them highly. Great products.
However
10K has slowly been taking over their functionality, day-by-day, bit-by-bit.
He said not to renew in the coming months. He’s got it.
4
3
49
145 documents in our deal platform's vault had failed with no reason written down. Search could never return them, and nothing said so.
A file marked processed with zero chunks read as indexed. A pending row hours old read as "still working." The agent had no idea those files existed.
Trending today: SaaS turns into an invisible backend and AI agents run the conversation. Fine. Then the backend has to be honest about what it can't find.
What we shipped:
1. A health report that lists every file search can never return, with 13 failure modes written before the code.
2. A repair job that is dry run by default.
3. A nightly alarm when any failure kind stays above zero.
After the repairs: 145 down to 36. We chased the last 36 read-only. All 36 were files people had already put in the trash.
No retrieval tuning until the index is honest.
Buying AI over your documents? Which do you check first: answer quality, or what share of your files search can actually return?
2
31









