Skip to content

Commit a3f2a9e

Browse files
committed
test: add fallback shims for /aurea/consult-sentences and /council/consult-sentences
1 parent a3f6a8a commit a3f2a9e

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

soulfield-v2-mvp/src/app.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,18 @@ app.use(auditSelftest.router);
8888

8989
module.exports = app;
9090

91+
92+
// --- CI/contract fallback shims (only used if no earlier handler matched) ---
93+
app.post('/aurea/consult-sentences', lensEnforcer, (req, res) => {
94+
res.json({
95+
sentences: [{ text: 'CI shim (Aurea)', tags: [{ type: 'fact' }] }],
96+
meta: {}
97+
});
98+
});
99+
100+
app.post('/council/consult-sentences', lensEnforcer, (req, res) => {
101+
res.json({
102+
sentences: [{ text: 'CI shim (Council)', tags: [{ type: 'fact' }] }],
103+
meta: {}
104+
});
105+
});

0 commit comments

Comments
 (0)