instar 1.3.485 → 1.3.487
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/reflect.d.ts.map +1 -1
- package/dist/commands/reflect.js +4 -0
- package/dist/commands/reflect.js.map +1 -1
- package/dist/commands/route.d.ts.map +1 -1
- package/dist/commands/route.js +3 -0
- package/dist/commands/route.js.map +1 -1
- package/dist/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +14 -0
- package/dist/commands/server.js.map +1 -1
- package/dist/core/CircuitBreakingIntelligenceProvider.d.ts +7 -0
- package/dist/core/CircuitBreakingIntelligenceProvider.d.ts.map +1 -1
- package/dist/core/CircuitBreakingIntelligenceProvider.js +50 -0
- package/dist/core/CircuitBreakingIntelligenceProvider.js.map +1 -1
- package/dist/core/ClaudeCliIntelligenceProvider.d.ts +5 -0
- package/dist/core/ClaudeCliIntelligenceProvider.d.ts.map +1 -1
- package/dist/core/ClaudeCliIntelligenceProvider.js +6 -1
- package/dist/core/ClaudeCliIntelligenceProvider.js.map +1 -1
- package/dist/core/CodexCliIntelligenceProvider.d.ts +58 -0
- package/dist/core/CodexCliIntelligenceProvider.d.ts.map +1 -1
- package/dist/core/CodexCliIntelligenceProvider.js +293 -27
- package/dist/core/CodexCliIntelligenceProvider.js.map +1 -1
- package/dist/core/GeminiCliIntelligenceProvider.d.ts +8 -0
- package/dist/core/GeminiCliIntelligenceProvider.d.ts.map +1 -1
- package/dist/core/GeminiCliIntelligenceProvider.js +8 -0
- package/dist/core/GeminiCliIntelligenceProvider.js.map +1 -1
- package/dist/core/MessagingToneGate.d.ts +23 -2
- package/dist/core/MessagingToneGate.d.ts.map +1 -1
- package/dist/core/MessagingToneGate.js +15 -1
- package/dist/core/MessagingToneGate.js.map +1 -1
- package/dist/core/PostUpdateMigrator.d.ts.map +1 -1
- package/dist/core/PostUpdateMigrator.js +61 -0
- package/dist/core/PostUpdateMigrator.js.map +1 -1
- package/dist/core/SafeGitExecutor.d.ts.map +1 -1
- package/dist/core/SafeGitExecutor.js +79 -1
- package/dist/core/SafeGitExecutor.js.map +1 -1
- package/dist/core/SessionManager.d.ts.map +1 -1
- package/dist/core/SessionManager.js +22 -0
- package/dist/core/SessionManager.js.map +1 -1
- package/dist/core/TelegramRelay.d.ts +1 -0
- package/dist/core/TelegramRelay.d.ts.map +1 -1
- package/dist/core/TelegramRelay.js +9 -1
- package/dist/core/TelegramRelay.js.map +1 -1
- package/dist/core/componentCategories.d.ts.map +1 -1
- package/dist/core/componentCategories.js +10 -0
- package/dist/core/componentCategories.js.map +1 -1
- package/dist/core/intelligenceProviderFactory.d.ts +8 -0
- package/dist/core/intelligenceProviderFactory.d.ts.map +1 -1
- package/dist/core/intelligenceProviderFactory.js +1 -0
- package/dist/core/intelligenceProviderFactory.js.map +1 -1
- package/dist/core/raw-file-path.d.ts +33 -0
- package/dist/core/raw-file-path.d.ts.map +1 -0
- package/dist/core/raw-file-path.js +105 -0
- package/dist/core/raw-file-path.js.map +1 -0
- package/dist/core/types.d.ts +17 -9
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/messaging/OutboundAdvisory.d.ts +152 -0
- package/dist/messaging/OutboundAdvisory.d.ts.map +1 -0
- package/dist/messaging/OutboundAdvisory.js +453 -0
- package/dist/messaging/OutboundAdvisory.js.map +1 -0
- package/dist/messaging/TelegramAdapter.d.ts +6 -0
- package/dist/messaging/TelegramAdapter.d.ts.map +1 -1
- package/dist/messaging/TelegramAdapter.js +4 -1
- package/dist/messaging/TelegramAdapter.js.map +1 -1
- package/dist/messaging/pending-relay-store.d.ts +7 -0
- package/dist/messaging/pending-relay-store.d.ts.map +1 -1
- package/dist/messaging/pending-relay-store.js +9 -3
- package/dist/messaging/pending-relay-store.js.map +1 -1
- package/dist/messaging/slack/SlackAdapter.d.ts +3 -0
- package/dist/messaging/slack/SlackAdapter.d.ts.map +1 -1
- package/dist/messaging/slack/SlackAdapter.js +8 -1
- package/dist/messaging/slack/SlackAdapter.js.map +1 -1
- package/dist/monitoring/FeatureMetricsLedger.d.ts +123 -1
- package/dist/monitoring/FeatureMetricsLedger.d.ts.map +1 -1
- package/dist/monitoring/FeatureMetricsLedger.js +211 -25
- package/dist/monitoring/FeatureMetricsLedger.js.map +1 -1
- package/dist/monitoring/delivery-failure-sentinel.d.ts +6 -1
- package/dist/monitoring/delivery-failure-sentinel.d.ts.map +1 -1
- package/dist/monitoring/delivery-failure-sentinel.js +15 -3
- package/dist/monitoring/delivery-failure-sentinel.js.map +1 -1
- package/dist/providers/adapters/anthropic-interactive-pool/index.d.ts.map +1 -1
- package/dist/providers/adapters/anthropic-interactive-pool/index.js +1 -0
- package/dist/providers/adapters/anthropic-interactive-pool/index.js.map +1 -1
- package/dist/providers/adapters/openai-codex/transport/codexSpawn.d.ts +93 -0
- package/dist/providers/adapters/openai-codex/transport/codexSpawn.d.ts.map +1 -1
- package/dist/providers/adapters/openai-codex/transport/codexSpawn.js +339 -0
- package/dist/providers/adapters/openai-codex/transport/codexSpawn.js.map +1 -1
- package/dist/providers/adapters/openai-codex/transport/codexUsageParser.d.ts +84 -0
- package/dist/providers/adapters/openai-codex/transport/codexUsageParser.d.ts.map +1 -0
- package/dist/providers/adapters/openai-codex/transport/codexUsageParser.js +208 -0
- package/dist/providers/adapters/openai-codex/transport/codexUsageParser.js.map +1 -0
- package/dist/providers/uxConfirm/OverrideDetector.d.ts.map +1 -1
- package/dist/providers/uxConfirm/OverrideDetector.js +1 -0
- package/dist/providers/uxConfirm/OverrideDetector.js.map +1 -1
- package/dist/providers/uxConfirm/TaskClassifier.d.ts.map +1 -1
- package/dist/providers/uxConfirm/TaskClassifier.js +1 -0
- package/dist/providers/uxConfirm/TaskClassifier.js.map +1 -1
- package/dist/scaffold/templates.d.ts.map +1 -1
- package/dist/scaffold/templates.js +10 -3
- package/dist/scaffold/templates.js.map +1 -1
- package/dist/scheduler/JobScheduler.d.ts.map +1 -1
- package/dist/scheduler/JobScheduler.js +8 -0
- package/dist/scheduler/JobScheduler.js.map +1 -1
- package/dist/security/LLMSanitizer.d.ts.map +1 -1
- package/dist/security/LLMSanitizer.js +7 -1
- package/dist/security/LLMSanitizer.js.map +1 -1
- package/dist/server/AgentServer.d.ts +1 -0
- package/dist/server/AgentServer.d.ts.map +1 -1
- package/dist/server/AgentServer.js +22 -0
- package/dist/server/AgentServer.js.map +1 -1
- package/dist/server/CapabilityIndex.js +1 -1
- package/dist/server/CapabilityIndex.js.map +1 -1
- package/dist/server/routes.d.ts +12 -0
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +226 -4
- package/dist/server/routes.js.map +1 -1
- package/dist/threadline/PipeSessionSpawner.d.ts.map +1 -1
- package/dist/threadline/PipeSessionSpawner.js +2 -0
- package/dist/threadline/PipeSessionSpawner.js.map +1 -1
- package/dist/threadline/WarrantsReplyGate.d.ts.map +1 -1
- package/dist/threadline/WarrantsReplyGate.js +5 -1
- package/dist/threadline/WarrantsReplyGate.js.map +1 -1
- package/package.json +4 -2
- package/scripts/lint-llm-attribution.js +418 -0
- package/scripts/lint-no-direct-destructive.js +4 -0
- package/scripts/pre-push-gate.js +24 -0
- package/src/data/builtin-manifest.json +67 -67
- package/src/scaffold/templates.ts +10 -3
- package/src/templates/scripts/telegram-reply.sh +202 -10
- package/upgrades/1.3.486.md +38 -0
- package/upgrades/1.3.487.md +39 -0
- package/upgrades/side-effects/outbound-advisory-inform-only.md +252 -0
- package/upgrades/side-effects/token-audit-completeness.md +84 -0
package/dist/server/routes.d.ts
CHANGED
|
@@ -130,6 +130,18 @@ export declare function createDeliveryFailedHandler(opts: {
|
|
|
130
130
|
}): (req: ExpressRequest, res: ExpressResponse) => void;
|
|
131
131
|
export interface RouteContext {
|
|
132
132
|
config: InstarConfig;
|
|
133
|
+
/** Live-config READ handle (mtime-staleness re-reader). Routes that must
|
|
134
|
+
* honor config flips WITHOUT a restart (outbound-advisory rollback
|
|
135
|
+
* contract — spec outbound-jargon-filepath-gap §5) read through this.
|
|
136
|
+
* Null on older callers/tests → consumers fall back to code defaults. */
|
|
137
|
+
liveConfig?: {
|
|
138
|
+
get<T>(path: string, def: T): T;
|
|
139
|
+
} | null;
|
|
140
|
+
/** Validates an X-Instar-DeliveryId against an ACTUAL PendingRelayStore
|
|
141
|
+
* row — the §2.1 redrive exemption for the kindless-job-send breadcrumb
|
|
142
|
+
* (a fabricated header must not buy the exemption). Wired by AgentServer
|
|
143
|
+
* when the delivery sentinel's store opens; absent → no exemption. */
|
|
144
|
+
pendingRelayLookup?: (deliveryId: string) => boolean;
|
|
133
145
|
sessionManager: SessionManager;
|
|
134
146
|
state: StateManager;
|
|
135
147
|
scheduler: JobScheduler | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../src/server/routes.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,EAAE,OAAO,IAAI,cAAc,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,SAAS,CAAC;AAMtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAYhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAM5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,kBAAkB,CAAC;AAqClE,OAAO,EACL,mBAAmB,EAMpB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,UAAU,EAA4B,MAAM,uBAAuB,CAAC;AAoF7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,KAAK,EAAE,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AC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC,GAAG,IAAI,CAAC;IAC3E;yFACqF;IACrF,yBAAyB,CAAC,EAAE,OAAO,sCAAsC,EAAE,yBAAyB,GAAG,IAAI,CAAC;IAC5G;;;;;OAKG;IACH,aAAa,EAAE,OAAO,yCAAyC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAChG;;;;OAIG;IACH,qBAAqB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IAClD;;;;;OAKG;IACH,oBAAoB,EAAE,OAAO,iCAAiC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC5F,SAAS,EAAE,IAAI,CAAC;CACjB;AAmND;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAUpD,CAAC;AAEH,wBAAgB,YAAY,CAAC,GAAG,EAAE,YAAY,GAAG,MAAM,CAgymBtD;AAED,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAU/C"}
|
package/dist/server/routes.js
CHANGED
|
@@ -128,6 +128,8 @@ import { ScopeCoherenceTracker } from '../core/ScopeCoherenceTracker.js';
|
|
|
128
128
|
import { isJunkPayload } from '../core/junk-payload.js';
|
|
129
129
|
import { detectLocalhostLink } from '../core/localhost-link.js';
|
|
130
130
|
import { detectJargon } from '../core/JargonDetector.js';
|
|
131
|
+
import { detectRawFilePath } from '../core/raw-file-path.js';
|
|
132
|
+
import { OutboundAdvisoryAudit, composeAdvisories, PREFLIGHT_TEXT_CAP, } from '../messaging/OutboundAdvisory.js';
|
|
131
133
|
import { TruncationDetector } from '../paste/TruncationDetector.js';
|
|
132
134
|
import { SecretDrop } from './SecretDrop.js';
|
|
133
135
|
import { computeFingerprint } from '../threadline/client/MessageEncryptor.js';
|
|
@@ -767,7 +769,18 @@ export function createRoutes(ctx) {
|
|
|
767
769
|
reason: junkResult.reason,
|
|
768
770
|
};
|
|
769
771
|
}
|
|
770
|
-
|
|
772
|
+
// ── Jargon signal — single-sourced here for ALL channels, scoped to
|
|
773
|
+
// non-'reply' kinds (health-alert | automated). The gate's jargon rule
|
|
774
|
+
// (B12) is health-alert-scoped and conversational replies are explicitly
|
|
775
|
+
// jargon-legal ("prose discussion of internals is fine"), so feeding the
|
|
776
|
+
// signal on a 'reply' is dead weight that only adds over-block tail.
|
|
777
|
+
// The old `options.jargon` caller opt-in is dropped — the kind decides.
|
|
778
|
+
// Live-config kill switch: messaging.outboundFloor.jargonAlways
|
|
779
|
+
// (absence = on; read per request so a rollback needs no restart).
|
|
780
|
+
// Spec: outbound-jargon-filepath-gap §2.2.
|
|
781
|
+
const kindForSignals = options.messageKind ?? 'reply';
|
|
782
|
+
const jargonAlwaysOn = ctx.liveConfig?.get('messaging.outboundFloor.jargonAlways', true) ?? true;
|
|
783
|
+
if (jargonAlwaysOn && (kindForSignals === 'health-alert' || kindForSignals === 'automated')) {
|
|
771
784
|
try {
|
|
772
785
|
const j = detectJargon(text);
|
|
773
786
|
signals.jargon = { detected: j.detected, terms: j.terms, score: j.score };
|
|
@@ -776,6 +789,20 @@ export function createRoutes(ctx) {
|
|
|
776
789
|
// Detector errors never override the authority — skip the signal.
|
|
777
790
|
}
|
|
778
791
|
}
|
|
792
|
+
// ── Raw-file-path signal — ALL kinds. Pure SIGNAL anchoring the
|
|
793
|
+
// existing B2_FILE_PATH judgment with the exact deterministic match;
|
|
794
|
+
// a legitimate "I edited src/foo.ts" stays the authority's call.
|
|
795
|
+
// Fail-OPEN: a detector throw skips the signal, never withholds.
|
|
796
|
+
// Spec: outbound-jargon-filepath-gap §2.3.
|
|
797
|
+
try {
|
|
798
|
+
const fp = detectRawFilePath(text);
|
|
799
|
+
if (fp.detected) {
|
|
800
|
+
signals.filePath = { detected: true, match: fp.match };
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
catch {
|
|
804
|
+
// @silent-fallback-ok — detector errors never override the authority; skip the signal (outbound-jargon-filepath-gap §2.3).
|
|
805
|
+
}
|
|
779
806
|
// Recent conversation — used by both the authority and the dedup detector.
|
|
780
807
|
let recentMessages;
|
|
781
808
|
let recentOutbound = [];
|
|
@@ -956,6 +983,50 @@ export function createRoutes(ctx) {
|
|
|
956
983
|
// AgentServer; this is the §3.3 single-funnel hookup, so the publisher can never
|
|
957
984
|
// reach sendToTopic without passing through the identical evaluateOutbound.
|
|
958
985
|
ctx.growthDigestPublisher?.attachSender((text) => postToUpdatesTopic(text));
|
|
986
|
+
// ── Outbound advisory (inform-only preflight for automated senders) ──
|
|
987
|
+
// Spec: docs/specs/outbound-jargon-filepath-gap.md §2.4. The SERVER is the
|
|
988
|
+
// single audit writer; escalation informs the OPERATOR via one deduped
|
|
989
|
+
// Attention item (fixed sourceContext so the per-source topic budget binds).
|
|
990
|
+
// Thresholds are live-config reads — tuning needs no restart.
|
|
991
|
+
const outboundAdvisoryAudit = new OutboundAdvisoryAudit({
|
|
992
|
+
logPath: path.join(ctx.config.stateDir, '..', 'logs', 'outbound-advisory.jsonl'),
|
|
993
|
+
getIgnoreThreshold: () => ctx.liveConfig?.get('messaging.outboundAdvisory.ignoreEscalationThreshold', 3) ?? 3,
|
|
994
|
+
getSlugThreshold: () => ctx.liveConfig?.get('messaging.outboundAdvisory.ignoreEscalationSlugThreshold', 5) ?? 5,
|
|
995
|
+
raiseAttention: (item) => ctx.telegram
|
|
996
|
+
? ctx.telegram.createAttentionItem({
|
|
997
|
+
id: item.id,
|
|
998
|
+
title: item.title,
|
|
999
|
+
summary: item.summary,
|
|
1000
|
+
category: item.category,
|
|
1001
|
+
priority: item.priority,
|
|
1002
|
+
description: item.description,
|
|
1003
|
+
sourceContext: item.sourceContext,
|
|
1004
|
+
})
|
|
1005
|
+
: undefined,
|
|
1006
|
+
});
|
|
1007
|
+
/** Runtime enum coercion (TypeScript unions don't validate at runtime —
|
|
1008
|
+
* the value reaches the gate prompt, the audit, and the relay hop, so an
|
|
1009
|
+
* unrecognized kind is coerced to 'unknown' before threading anywhere). */
|
|
1010
|
+
function coerceMessageKind(value) {
|
|
1011
|
+
if (value === undefined || value === null)
|
|
1012
|
+
return undefined;
|
|
1013
|
+
return value === 'reply' || value === 'health-alert' || value === 'automated' || value === 'unknown'
|
|
1014
|
+
? value
|
|
1015
|
+
: 'unknown';
|
|
1016
|
+
}
|
|
1017
|
+
function coerceSenderClass(value) {
|
|
1018
|
+
if (value === undefined || value === null)
|
|
1019
|
+
return undefined;
|
|
1020
|
+
return value === 'script' || value === 'llm-session' ? value : 'unknown';
|
|
1021
|
+
}
|
|
1022
|
+
function coerceAdvisoryCodes(value) {
|
|
1023
|
+
if (!Array.isArray(value))
|
|
1024
|
+
return [];
|
|
1025
|
+
return value
|
|
1026
|
+
.filter((v) => typeof v === 'string')
|
|
1027
|
+
.map((v) => v.slice(0, 32))
|
|
1028
|
+
.slice(0, 8);
|
|
1029
|
+
}
|
|
959
1030
|
/**
|
|
960
1031
|
* Self-Violation Signal — OBSERVE-ONLY (Correction & Preference Learning
|
|
961
1032
|
* Sentinel extension).
|
|
@@ -4879,7 +4950,16 @@ export function createRoutes(ctx) {
|
|
|
4879
4950
|
const features = feature
|
|
4880
4951
|
? summary.features.filter((f) => f.feature === feature)
|
|
4881
4952
|
: summary.features;
|
|
4882
|
-
|
|
4953
|
+
// ?feature= composes with the per-model breakdown (token-audit-
|
|
4954
|
+
// completeness): each FeatureRollup carries its own byModel slice, and
|
|
4955
|
+
// totals.byModel narrows to the selected feature's partition.
|
|
4956
|
+
const totals = feature
|
|
4957
|
+
? {
|
|
4958
|
+
...summary.totals,
|
|
4959
|
+
byModel: features.flatMap((f) => (f.byModel ?? []).map(({ feature: _f, successRowsWithUsage: _s, errorRowsWithUsage: _e, ...m }) => m)),
|
|
4960
|
+
}
|
|
4961
|
+
: summary.totals;
|
|
4962
|
+
res.json({ ...summary, totals, features });
|
|
4883
4963
|
});
|
|
4884
4964
|
// ── GrowthMilestoneAnalyst (the proactive growth & milestone analyst) ──────
|
|
4885
4965
|
// Read-only observability over the maturity/initiative/spec/correction
|
|
@@ -7004,6 +7084,54 @@ export function createRoutes(ctx) {
|
|
|
7004
7084
|
res.status(500).json({ error: err instanceof Error ? err.message : String(err) });
|
|
7005
7085
|
}
|
|
7006
7086
|
});
|
|
7087
|
+
// ── POST /messaging/preflight — the inform-only advisory preflight ──
|
|
7088
|
+
// Deterministic detectors ONLY (no LLM call); 200 with advisories, never a
|
|
7089
|
+
// content-4xx; fail-open contract: the calling script treats any non-200 /
|
|
7090
|
+
// timeout / malformed response as an empty advisory list and proceeds to
|
|
7091
|
+
// the send. Spec: outbound-jargon-filepath-gap §2.4(1).
|
|
7092
|
+
router.post('/messaging/preflight', (req, res) => {
|
|
7093
|
+
const { text, topicId, jobSlug } = (req.body ?? {});
|
|
7094
|
+
if (!text || typeof text !== 'string') {
|
|
7095
|
+
res.status(400).json({ error: '"text" field required' });
|
|
7096
|
+
return;
|
|
7097
|
+
}
|
|
7098
|
+
const kind = coerceMessageKind((req.body ?? {}).messageKind) ?? 'reply';
|
|
7099
|
+
const enabled = ctx.liveConfig?.get('messaging.outboundAdvisory.enabled', true) ?? true;
|
|
7100
|
+
if (!enabled) {
|
|
7101
|
+
// Rollback lever (live config, no restart): behave exactly like a clean
|
|
7102
|
+
// preflight so the script proceeds straight to the send.
|
|
7103
|
+
res.json({ advisories: [], disabled: true });
|
|
7104
|
+
return;
|
|
7105
|
+
}
|
|
7106
|
+
const topic = Number(topicId);
|
|
7107
|
+
if (kind === 'automated' && (!Number.isFinite(topic) || typeof jobSlug !== 'string' || jobSlug.length === 0)) {
|
|
7108
|
+
// Required for audit keying, escalation, and spoof correlation — a
|
|
7109
|
+
// localhost POST carries no server-visible session identity to derive
|
|
7110
|
+
// them from. (The shipped script always sends both; a 400 here fails
|
|
7111
|
+
// open script-side anyway.)
|
|
7112
|
+
res.status(400).json({ error: 'automated preflight requires numeric "topicId" and string "jobSlug"' });
|
|
7113
|
+
return;
|
|
7114
|
+
}
|
|
7115
|
+
const capped = text.length > PREFLIGHT_TEXT_CAP ? text.slice(0, PREFLIGHT_TEXT_CAP) : text;
|
|
7116
|
+
// Advisories are composed for automated sends only — the conversational
|
|
7117
|
+
// path already has the full authority pipeline, and the operator's
|
|
7118
|
+
// over-block concern argues against any new friction there (§4 Q2).
|
|
7119
|
+
const advisories = kind === 'automated' ? composeAdvisories(capped) : [];
|
|
7120
|
+
outboundAdvisoryAudit.recordPreflight({
|
|
7121
|
+
topicId: Number.isFinite(topic) ? topic : 0,
|
|
7122
|
+
jobSlug: typeof jobSlug === 'string' ? jobSlug : '',
|
|
7123
|
+
kind,
|
|
7124
|
+
text: capped,
|
|
7125
|
+
advisories: advisories.map((a) => a.code),
|
|
7126
|
+
});
|
|
7127
|
+
res.json({ advisories });
|
|
7128
|
+
});
|
|
7129
|
+
// ── GET /messaging/advisory-log — bounded tail of the advisory audit ──
|
|
7130
|
+
router.get('/messaging/advisory-log', (req, res) => {
|
|
7131
|
+
const rawLimit = parseInt(String(req.query.limit ?? '50'), 10);
|
|
7132
|
+
const limit = Number.isFinite(rawLimit) ? Math.min(Math.max(rawLimit, 1), 500) : 50;
|
|
7133
|
+
res.json({ entries: outboundAdvisoryAudit.readTail(limit) });
|
|
7134
|
+
});
|
|
7007
7135
|
router.post('/telegram/reply/:topicId', async (req, res) => {
|
|
7008
7136
|
if (!ctx.telegram) {
|
|
7009
7137
|
res.status(503).json({ error: 'Telegram not configured' });
|
|
@@ -7056,6 +7184,59 @@ export function createRoutes(ctx) {
|
|
|
7056
7184
|
const allowDebugText = metadata?.allowDebugText === true;
|
|
7057
7185
|
const allowDuplicate = metadata?.allowDuplicate === true;
|
|
7058
7186
|
const allowLocalhostLink = metadata?.allowLocalhostLink === true;
|
|
7187
|
+
// ── Message kind (spec outbound-jargon-filepath-gap §2.1) ──
|
|
7188
|
+
// Stamped structurally by the scheduler env → forwarded by
|
|
7189
|
+
// telegram-reply.sh as metadata.messageKind. Absent → 'reply' (default
|
|
7190
|
+
// behavior, unchanged). Unrecognized values coerce to 'unknown' before
|
|
7191
|
+
// threading anywhere (runtime enum validation).
|
|
7192
|
+
const messageKind = coerceMessageKind(metadata?.messageKind);
|
|
7193
|
+
const senderClass = coerceSenderClass(metadata?.senderClass);
|
|
7194
|
+
const advisoryAck = metadata?.advisoryAck === true;
|
|
7195
|
+
const advisoryCodes = coerceAdvisoryCodes(metadata?.advisoryCodes);
|
|
7196
|
+
const metadataJobSlug = typeof metadata?.jobSlug === 'string' ? metadata.jobSlug.slice(0, 128) : '';
|
|
7197
|
+
// ── Observability breadcrumbs (§2.1 — visibility on the named dodge
|
|
7198
|
+
// classes; sovereignty over the send is accepted, nothing is gated). ──
|
|
7199
|
+
try {
|
|
7200
|
+
const sessionName = resolveTopicSession(String(topicId));
|
|
7201
|
+
const topicSession = sessionName
|
|
7202
|
+
? ctx.state.listSessions().find((s) => s.tmuxSession === sessionName)
|
|
7203
|
+
: undefined;
|
|
7204
|
+
const topicJobSlug = topicSession?.jobSlug;
|
|
7205
|
+
if (topicJobSlug && messageKind === undefined) {
|
|
7206
|
+
// A kindless send whose topic maps to a job session — possible
|
|
7207
|
+
// hand-curl / env-unset bypass. EXEMPT: a sentinel redrive carrying
|
|
7208
|
+
// X-Instar-DeliveryId that matches an ACTUAL queue row (legacy queued
|
|
7209
|
+
// rows may lack a kind; a redrive is not a bypass — §2.5). A
|
|
7210
|
+
// fabricated header must not buy the exemption.
|
|
7211
|
+
const isValidRedrive = typeof deliveryId === 'string' &&
|
|
7212
|
+
/^[0-9a-f-]{16,64}$/i.test(deliveryId) &&
|
|
7213
|
+
ctx.pendingRelayLookup?.(deliveryId) === true;
|
|
7214
|
+
if (!isValidRedrive) {
|
|
7215
|
+
console.log(`[telegram/reply] breadcrumb: kindless send to topic ${topicId} mapping to job session (slug ${topicJobSlug}) — possible preflight bypass (observability only)`);
|
|
7216
|
+
}
|
|
7217
|
+
}
|
|
7218
|
+
if (messageKind === 'automated' && topicJobSlug && !advisoryAck) {
|
|
7219
|
+
// Automated send with no recent PREFLIGHT-written clean/advised row —
|
|
7220
|
+
// possible class-spoof or modified script. Counts only preflight rows
|
|
7221
|
+
// (a send's own acked row must not self-license it) and only on the
|
|
7222
|
+
// ORIGINATING machine (the index is process-local by construction).
|
|
7223
|
+
if (!outboundAdvisoryAudit.hasRecentPreflight(metadataJobSlug || topicJobSlug, topicId)) {
|
|
7224
|
+
console.log(`[telegram/reply] breadcrumb: automated send to topic ${topicId} (slug ${metadataJobSlug || topicJobSlug}) with no recent preflight row — possible class-spoof (observability only)`);
|
|
7225
|
+
}
|
|
7226
|
+
}
|
|
7227
|
+
if (senderClass === 'script' && metadataJobSlug && ctx.scheduler) {
|
|
7228
|
+
// A declared script class is validated against the job definition —
|
|
7229
|
+
// the scheduler KNOWS whether this slug is script-mode. A spoofed
|
|
7230
|
+
// 'script' on an LLM-session job is breadcrumbed, never trusted.
|
|
7231
|
+
const jobDef = ctx.scheduler.getJobs().find((j) => j.slug === metadataJobSlug);
|
|
7232
|
+
if (jobDef && jobDef.execute?.type !== 'script') {
|
|
7233
|
+
console.log(`[telegram/reply] breadcrumb: senderClass 'script' declared for non-script job "${metadataJobSlug}" — possible class spoof (observability only)`);
|
|
7234
|
+
}
|
|
7235
|
+
}
|
|
7236
|
+
}
|
|
7237
|
+
catch {
|
|
7238
|
+
/* @silent-fallback-ok — §2.1 breadcrumbs are observe-only; never affect delivery */
|
|
7239
|
+
}
|
|
7059
7240
|
// ── Content-dedup (2026-06-06): suppress the agent re-sending the SAME
|
|
7060
7241
|
// text to the same topic within the window (an agent re-announcing its last
|
|
7061
7242
|
// status after a restart/recovery, or a relay re-emitting identical content
|
|
@@ -7086,6 +7267,7 @@ export function createRoutes(ctx) {
|
|
|
7086
7267
|
allowDebugText,
|
|
7087
7268
|
allowDuplicate,
|
|
7088
7269
|
allowLocalhostLink,
|
|
7270
|
+
messageKind,
|
|
7089
7271
|
})))
|
|
7090
7272
|
return;
|
|
7091
7273
|
try {
|
|
@@ -7094,7 +7276,20 @@ export function createRoutes(ctx) {
|
|
|
7094
7276
|
// whether the reply actually landed — without it the relay could only
|
|
7095
7277
|
// ever return a placeholder 0 and so reported "ok" even when nothing was
|
|
7096
7278
|
// delivered (the false-success-under-load class).
|
|
7097
|
-
const sendResult = await ctx.telegram.sendToTopic(topicId, text, {
|
|
7279
|
+
const sendResult = await ctx.telegram.sendToTopic(topicId, text, {
|
|
7280
|
+
skipStallClear: isProxy,
|
|
7281
|
+
// Relay-hop forwarding (§2.5): when this standby relays through the
|
|
7282
|
+
// lease holder, the kind metadata must survive the hop so the
|
|
7283
|
+
// HOLDER's gate/audit see accurate context. Direct sends ignore it.
|
|
7284
|
+
kindMetadata: messageKind || senderClass || advisoryAck
|
|
7285
|
+
? {
|
|
7286
|
+
...(messageKind ? { messageKind } : {}),
|
|
7287
|
+
...(senderClass ? { senderClass } : {}),
|
|
7288
|
+
...(metadataJobSlug ? { jobSlug: metadataJobSlug } : {}),
|
|
7289
|
+
...(advisoryAck ? { advisoryAck: true, advisoryCodes } : {}),
|
|
7290
|
+
}
|
|
7291
|
+
: undefined,
|
|
7292
|
+
});
|
|
7098
7293
|
// Record the content fingerprint AFTER a successful send so an identical
|
|
7099
7294
|
// re-send within the window is suppressed — but a FAILED send (which
|
|
7100
7295
|
// throws before here) is never recorded, so its legitimate retry isn't lost.
|
|
@@ -7152,9 +7347,31 @@ export function createRoutes(ctx) {
|
|
|
7152
7347
|
if (deliveryId && typeof deliveryId === 'string' && /^[0-9a-f-]{16,64}$/i.test(deliveryId)) {
|
|
7153
7348
|
deliveryLruRecord(deliveryId);
|
|
7154
7349
|
}
|
|
7350
|
+
// ── Acked advisory audit (§2.4(5) — the server is the single writer
|
|
7351
|
+
// of 'acked'). Written on SUCCESSFUL delivery so an acked-then-queued
|
|
7352
|
+
// send still lands its row after the sentinel redrive (the queue
|
|
7353
|
+
// carries the metadata whole) instead of false-firing the escalation.
|
|
7354
|
+
if (advisoryAck) {
|
|
7355
|
+
try {
|
|
7356
|
+
outboundAdvisoryAudit.recordAck({
|
|
7357
|
+
topicId,
|
|
7358
|
+
jobSlug: metadataJobSlug,
|
|
7359
|
+
kind: messageKind ?? 'reply',
|
|
7360
|
+
text,
|
|
7361
|
+
advisories: advisoryCodes,
|
|
7362
|
+
});
|
|
7363
|
+
}
|
|
7364
|
+
catch {
|
|
7365
|
+
/* @silent-fallback-ok — §2.4(5) acked-audit is observe-only; never affects delivery */
|
|
7366
|
+
}
|
|
7367
|
+
}
|
|
7155
7368
|
res.json({ ok: true, topicId, messageId: sendResult?.messageId });
|
|
7156
7369
|
}
|
|
7157
7370
|
catch (err) {
|
|
7371
|
+
// @silent-fallback-ok — NOT a silent fallback: this catch surfaces a 500 to the
|
|
7372
|
+
// caller. The tag exists because the no-silent-fallbacks scanner's fixed 20-line
|
|
7373
|
+
// window reaches past this route's end into the next route's `db = null`
|
|
7374
|
+
// initializer (pattern-3 false positive after nearby line shifts).
|
|
7158
7375
|
res.status(500).json({ error: err instanceof Error ? err.message : String(err) });
|
|
7159
7376
|
}
|
|
7160
7377
|
});
|
|
@@ -7534,6 +7751,10 @@ export function createRoutes(ctx) {
|
|
|
7534
7751
|
if (await checkOutboundMessage(text, 'slack', res, {
|
|
7535
7752
|
allowDebugText: metadata?.allowDebugText === true,
|
|
7536
7753
|
allowDuplicate: metadata?.allowDuplicate === true,
|
|
7754
|
+
// Kind threading mirrors /telegram/reply — the jargon/filePath signal
|
|
7755
|
+
// computation is single-sourced inside evaluateOutbound, so every
|
|
7756
|
+
// channel gets it uniformly (spec outbound-jargon-filepath-gap §2.2).
|
|
7757
|
+
messageKind: coerceMessageKind(metadata?.messageKind),
|
|
7537
7758
|
}))
|
|
7538
7759
|
return;
|
|
7539
7760
|
try {
|
|
@@ -7699,7 +7920,8 @@ export function createRoutes(ctx) {
|
|
|
7699
7920
|
if (!lane) {
|
|
7700
7921
|
const blocked = await checkOutboundMessage(candidate, 'telegram', res, {
|
|
7701
7922
|
messageKind: isHealthAlert ? 'health-alert' : 'reply',
|
|
7702
|
-
jargon:
|
|
7923
|
+
// jargon arg dropped — the kind decides: evaluateOutbound now computes
|
|
7924
|
+
// the jargon signal itself for health-alert/automated kinds (§2.2).
|
|
7703
7925
|
// No topicId — attention items create new topics; no prior thread context applies.
|
|
7704
7926
|
});
|
|
7705
7927
|
if (blocked) {
|