Recommended actions
No repository changes recommended.
Failure patterns
Missing public visibility on an event table (1 task)
- Classification: No action
- Confidence: Medium
- What the model wrote:
const damageEvent = table(
{ name: 'damage_event', event: true },
...
ctx.db.damageEvent.insert({ entityId, damage, source });
- What was expected:
const damage_event = table({
name: 'damage_event',
public: true,
event: true,
...
ctx.db.damage_event.insert({ entityId, damage, source });
- What the error says:
schema_parity: failed; behavioral_scenario: missing event:
- Why this happened: The generated module defined the table as an event table, but omitted
public: true, and used a different accessor name than the golden answer. The evidence supports a model-side omission rather than a repository defect.
- Suggested action: None
- Suggested area: None
- Affected tasks:
t_024_event_table
- AI guidelines gap: Needs manual review
Invalid TypeScript module setup in a reducer module (1 task)
- Classification: No action
- Confidence: Low
- What the model wrote:
import { schema, table, t } from 'spacetimedb';
const generatedGeneratedValue = table(
{
name: 'generated_value',
public: true,
},
...
id: t.u32().autoInc().primaryKey(),
...
randomValue: BigInt(ctx.random.integerInRange(-1000000, 1000000)),
- What was expected:
import { schema, table, t } from 'spacetimedb/server';
const generatedValue = table(
{ name: 'generated_value', public: true },
{ id: t.u64().primaryKey().autoInc(), createdAt: t.timestamp(), randomValue: t.i64() }
);
...
id: 0n,
...
randomValue: BigInt(ctx.random.integerInRange(1, Number.MAX_SAFE_INTEGER)),
- What the error says:
publish_error: spacetime publish (typescript) failed (exit=2)
- Why this happened: The published module likely failed to compile because it imported schema builders from the wrong package path (
spacetimedb instead of spacetimedb/server). The remaining differences may also have contributed, but the supplied stderr does not isolate a single compile error, so this is treated as a model-side failure with low confidence.
- Suggested action: None
- Suggested area: None
- Affected tasks:
t_059_deterministic_context
- AI guidelines gap: Needs manual review