Recommended actions
No repository changes recommended.
Failure patterns
Anonymous view shape mismatch and truncated implementation (1 task)
- Classification: Model limitation
- Confidence: Medium
- What the model wrote:
const OrderLineDetail = t.object('OrderLineDetail', { ... });
for (const line of [...ctx.db.line_item.visible.filter(true)]) { ... result.p
- What was expected:
const OrderLineDetail = t.row('ThreeTableJoinRow', { ... });
for (const line of ctx.db.lineItem.visible.filter(true)) { ... rows.push(...); } return rows;
- What the error says:
publish_error: spacetime publish (typescript) failed (exit=1)
- Why this happened: The generated module appears to diverge from the reference pattern for the anonymous view and was cut off mid-statement, so the evidence supports a model-side generation failure rather than a repository issue.
- Suggested action: None
- Suggested area: None
- Affected tasks:
t_061_three_table_join
- AI guidelines gap: Needs manual review
Incorrect transaction namespace in withTx (1 task)
- Classification: Model limitation
- Confidence: High
- What the model wrote:
ctx.withTx((tx) => {
tx.fetchedRecord.insert({ ... });
});
- What was expected:
ctx.withTx(tx => tx.db.fetchedRecord.insert({ ... }));
- What the error says:
publish_error: spacetime publish (typescript) failed (exit=2)
- Why this happened: The model used the transaction object directly instead of the database namespace exposed inside
withTx, which is an API usage mistake rather than evidence of a repository defect.
- Suggested action: None
- Suggested area: None
- Affected tasks:
t_074_fetch_and_store
- AI guidelines gap: Needs manual review
Scheduled-procedure API misuse (1 task)
- Classification: Model limitation
- Confidence: High
- What the model wrote:
const procedure_job = table(...);
export const runScheduledProcedure = spacetimedb.procedure(
{ onSchedule: procedure_job },
procedure_job.rowType,
t.unit(),
(ctx, job) => { ... }
- What was expected:
const procedureJob = table({ name: 'procedure_job', scheduled: (): any => runScheduledProcedure }, ...);
export const runScheduledProcedure = spacetimedb.procedure(
{ job: procedureJob.rowType }, t.unit(),
(ctx, { job }) => { ... }
- What the error says:
publish_error: spacetime publish (typescript) failed (exit=2)
- Why this happened: The model used the scheduled-procedure binding and callback signature incorrectly, which is consistent with a generation mistake rather than a repository-side problem.
- Suggested action: None
- Suggested area: None
- Affected tasks:
t_075_scheduled_procedure
- AI guidelines gap: Needs manual review