Outcome
Add a parser/inspection test that proves formula-prefix detection treats tab-indented formulas the same way it treats space-indented formulas.
Likely files
packages/headless/src/__tests__/work-paper-sheet-inspection.test.ts
packages/headless/src/work-paper-sheet-inspection.ts
Suggested approach
Extend the existing detects formula prefixes and compares sheet names test. It already covers =A1, =A1, and a non-formula string. Add assertions for \t=A1 and a non-formula tabbed text cell such as \tA1.
If the current implementation already passes, this is just coverage. If it fails, keep the implementation change minimal and local to formula-prefix detection.
Acceptance proof
Run:
pnpm exec vitest --run packages/headless/src/__tests__/work-paper-sheet-inspection.test.ts
The proof is a passing test with both tab-indented formula and tab-indented non-formula examples.
Scope check
Notes
This is a good first patch because it is a narrow expectation with one file, one helper, and one test command.
Outcome
Add a parser/inspection test that proves formula-prefix detection treats tab-indented formulas the same way it treats space-indented formulas.
Likely files
packages/headless/src/__tests__/work-paper-sheet-inspection.test.tspackages/headless/src/work-paper-sheet-inspection.tsSuggested approach
Extend the existing
detects formula prefixes and compares sheet namestest. It already covers=A1,=A1, and a non-formula string. Add assertions for\t=A1and a non-formula tabbed text cell such as\tA1.If the current implementation already passes, this is just coverage. If it fails, keep the implementation change minimal and local to formula-prefix detection.
Acceptance proof
Run:
pnpm exec vitest --run packages/headless/src/__tests__/work-paper-sheet-inspection.test.tsThe proof is a passing test with both tab-indented formula and tab-indented non-formula examples.
Scope check
Notes
This is a good first patch because it is a narrow expectation with one file, one helper, and one test command.