teamsmith 0.4.7 → 0.4.8
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/README.md +4 -4
- package/package.json +1 -1
- package/skills/teamsmith/CHANGELOG.md +11 -0
- package/skills/teamsmith/SKILL.md +12 -8
- package/skills/teamsmith/references/config.md +11 -12
- package/skills/teamsmith/scripts/lib/cmd-review.sh +21 -33
- package/skills/teamsmith/scripts/lib/common.sh +1 -1
- package/skills/teamsmith/scripts/panel/README.md +35 -33
- package/skills/teamsmith/scripts/panel/panel.js +217 -199
- package/skills/teamsmith/scripts/panel/src/App.tsx +221 -66
- package/skills/teamsmith/scripts/panel/src/layout.ts +139 -302
- package/skills/teamsmith/scripts/panel/src/project-settings.ts +46 -0
- package/skills/teamsmith/scripts/panel/src/strings/en.ts +71 -205
- package/skills/teamsmith/scripts/panel/src/strings/index.ts +3 -5
- package/skills/teamsmith/scripts/panel/src/strings/zh.ts +72 -204
- package/skills/teamsmith/scripts/panel/src/types.ts +23 -4
- package/skills/teamsmith/scripts/strings/commands.tsv +1 -1
- package/skills/teamsmith/templates/AGENTS.section.md.tmpl +7 -0
- package/skills/teamsmith/templates/pm-prompt.md.tmpl +10 -6
- package/skills/teamsmith/tests/help-surface.sh +75 -7
- package/skills/teamsmith/tests/install-shape.sh +7 -7
- package/skills/teamsmith/tests/key-replies-ui.sh +11 -5
- package/skills/teamsmith/tests/lib/main-team-fingerprint.sh +2 -0
- package/skills/teamsmith/tests/lib/model-routing-boundary.sh +255 -90
- package/skills/teamsmith/tests/lib/model-routing-expansion.sh +181 -61
- package/skills/teamsmith/tests/lib/model-routing-roles.sh +125 -67
- package/skills/teamsmith/tests/lib/reply-fixture.sh +14 -9
- package/skills/teamsmith/tests/lib/tmp-root.sh +1 -1
- package/skills/teamsmith/tests/loop-inventory.tsv +2 -0
- package/skills/teamsmith/tests/panel-b2.sh +91 -31
- package/skills/teamsmith/tests/panel-p21.sh +607 -1162
- package/skills/teamsmith/tests/panel-strings.mjs +21 -113
- package/skills/teamsmith/tests/remind-adversarial-faults.mjs +65 -38
- package/skills/teamsmith/tests/remind-adversarial-faults.sh +64 -12
- package/skills/teamsmith/tests/remind-adversarial-real.sh +13 -12
- package/skills/teamsmith/tests/remind-tool-real.mjs +159 -112
- package/skills/teamsmith/tests/remind-tool-real.sh +178 -3
- package/skills/teamsmith/tests/section-paths.tsv +10 -10
- package/skills/teamsmith/tests/smoke.sh +108 -114
- package/skills/teamsmith/tests/task-model-routing.sh +57 -26
- package/skills/teamsmith/tests/tmp-hygiene.sh +1 -1
- package/skills/teamsmith-init/SKILL.md +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { SettingsKey, SettingsPage, LimitsDraft } from './types.js'
|
|
2
|
+
import type { Strings } from './strings/index.js'
|
|
3
|
+
|
|
4
|
+
// Presentation references only. Values, permissions and validation remain in the command read.
|
|
5
|
+
export const MODEL_SETTINGS = ['TEAM_PM_MODEL', 'TEAM_MODEL_LIMITS'] as const
|
|
6
|
+
export const CHECK_SETTINGS = ['TEAM_PULSE_INTERVAL', 'TEAM_PULSE_MAX_RESTARTS', 'TEAM_UPDATE_CHECK'] as const
|
|
7
|
+
export const COMMAND_SETTINGS = ['TEAM_INSTALL_CMD', 'TEAM_GATES', 'TEAM_REVIEW_TIMEOUT'] as const
|
|
8
|
+
export const SELECTED_SETTINGS = [...MODEL_SETTINGS, ...CHECK_SETTINGS, ...COMMAND_SETTINGS]
|
|
9
|
+
export const effectiveSetting = (key: SettingsKey): string => key.set ? key.value : key.value || key.default
|
|
10
|
+
export const settingLabel = (s: Strings, key: string): string => s[`label_${key}`] || key
|
|
11
|
+
export const isSecondsSetting = (key: string): boolean => key === 'TEAM_PULSE_INTERVAL' || key === 'TEAM_REVIEW_TIMEOUT'
|
|
12
|
+
export function settingTiming(s: Strings, key: string, category?: string): string {
|
|
13
|
+
if (category) return s.settingsNewTasks
|
|
14
|
+
if (key === 'TEAM_PM_MODEL') return `${s.settingsAfterPmRestart} · team up --fresh-pm`
|
|
15
|
+
if (key === 'TEAM_PULSE_INTERVAL') return `${s.settingsAfterPulseRestart} · team pulse restart`
|
|
16
|
+
return ''
|
|
17
|
+
}
|
|
18
|
+
export function settingsPageTitle(s: Strings, page: SettingsPage): string {
|
|
19
|
+
return page === 'commands' ? s.settingsCommands : page === 'records' ? s.settingsRecords
|
|
20
|
+
: page === 'limits' ? s.label_TEAM_MODEL_LIMITS : page === 'rule' ? s.settingsRuleEdit : s.settingsViewTitle
|
|
21
|
+
}
|
|
22
|
+
// Keep every token, including repeated expressions, in its original position. The writer owns
|
|
23
|
+
// accepted patterns; this shape check only decides whether field editing can represent the source.
|
|
24
|
+
export function limitsTokens(value: string): string[] | null {
|
|
25
|
+
const tokens = value.match(/\S+/g) ?? []
|
|
26
|
+
return tokens.every((t) => /^\S+=\d+$/.test(t)) ? tokens : null
|
|
27
|
+
}
|
|
28
|
+
export function limitFields(token: string): [string, string] {
|
|
29
|
+
const at = token.lastIndexOf('=')
|
|
30
|
+
return [token.slice(0, at), token.slice(at + 1)]
|
|
31
|
+
}
|
|
32
|
+
export function withLimitsTokens(draft: LimitsDraft, tokens: string[]): LimitsDraft {
|
|
33
|
+
return { ...draft, tokens, changed: tokens.join(' ') !== (limitsTokens(draft.original) ?? []).join(' ') }
|
|
34
|
+
}
|
|
35
|
+
export function limitsValue(draft: LimitsDraft): string {
|
|
36
|
+
return draft.changed ? draft.tokens.join(' ') : draft.original
|
|
37
|
+
}
|
|
38
|
+
export function limitsDisplay(value: string, s: Strings): string[] {
|
|
39
|
+
const tokens = limitsTokens(value)
|
|
40
|
+
if (!tokens) return [value]
|
|
41
|
+
if (!tokens.length) return [s.settingsUnfilled]
|
|
42
|
+
return tokens.map((t) => {
|
|
43
|
+
const [model, count] = limitFields(t)
|
|
44
|
+
return `${s.settingsRuleModel}: ${model} · ${s.settingsRuleCount}: ${count === '0' ? s.settingsRuleUnlimited : count}`
|
|
45
|
+
})
|
|
46
|
+
}
|
|
@@ -176,76 +176,73 @@ export const en = {
|
|
|
176
176
|
prefProjectSettings: 'Project settings',
|
|
177
177
|
prefNavArrow: '›',
|
|
178
178
|
settingsViewTitle: 'Project settings',
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
179
|
+
settingsChecks: 'Automatic checks',
|
|
180
|
+
settingsCommands: 'Project commands',
|
|
181
|
+
settingsRecords: 'Model records',
|
|
182
|
+
settingsNewTasks: 'New tasks',
|
|
183
|
+
settingsAfterPmRestart: 'After PM restart',
|
|
184
|
+
settingsAfterPulseRestart: 'After Pulse restart',
|
|
185
|
+
settingsNoRecovery: 'No automatic recovery',
|
|
186
|
+
settingsUnfilled: 'Unfilled',
|
|
187
|
+
settingsEntries: '{n} entries',
|
|
188
|
+
settingsRuleModel: 'Applicable model',
|
|
189
|
+
settingsRuleCount: 'Simultaneous quantity',
|
|
190
|
+
settingsRuleUnlimited: 'No limit from this entry',
|
|
191
|
+
settingsRuleAdd: 'Add limit',
|
|
192
|
+
settingsRuleDelete: 'Delete limit',
|
|
193
|
+
settingsRuleEdit: 'Edit limit',
|
|
194
|
+
settingsSave: 'Save',
|
|
195
|
+
settingsRuleOther: 'Other applicable model',
|
|
196
|
+
settingsRuleCountInvalid: 'Enter a non-negative integer',
|
|
197
|
+
settingsOld: 'Old',
|
|
198
|
+
settingsNew: 'New',
|
|
199
|
+
settingsFieldHint: 'Enter Done · Esc Back',
|
|
200
|
+
settingsConfirmHint: 'Enter Save · Esc Cancel',
|
|
201
|
+
settingsEditHint: 'Enter Continue · Esc Cancel',
|
|
202
|
+
settingsSeconds: 's',
|
|
203
|
+
settingsSecondsEditHint: 'Type seconds · Enter Continue · Esc Cancel',
|
|
204
|
+
keySettingsBack: 'Esc back',
|
|
205
|
+
settingsKeepEmpty: 'Leave unset',
|
|
206
|
+
settingsRecordTask: 'Task',
|
|
207
|
+
settingsRecordCategory: 'Category',
|
|
208
|
+
settingsRecordModel: 'Model',
|
|
209
|
+
settingsRecordSid: 'Session ID',
|
|
210
|
+
settingsRecordSelected: 'Model selection',
|
|
211
|
+
settingsRecordLaunch: 'Launch method',
|
|
212
|
+
settingsRecordTime: 'Time',
|
|
213
|
+
settingsRecordWindow: 'Window',
|
|
214
|
+
settingsRecordMode: 'Launch method',
|
|
215
|
+
settingsGroupCategories: 'Models',
|
|
202
216
|
keyFilter: '/ filter',
|
|
203
217
|
settingFilterTitle: 'Filter settings',
|
|
204
|
-
settingConfirm: '
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
settingsCategoryMapHint: 'the categories block is this row’s editor (command: team config set-task-model <category> <model>) — the pair list is never composed in the console',
|
|
222
|
-
settingsCategoryMapEmpty: 'the categories block is this row’s editor (command: team config set-task-model <category> <model>) — the map is empty today; add a category through the CLI first',
|
|
223
|
-
settingsAssignmentHint: 'once a task is dispatched it keeps the model it was given; this setting does not change it',
|
|
224
|
-
settingsAssignmentNote: 'task {task} · category {category} · session {sid} · origin {selected}/{launch}',
|
|
225
|
-
settingsAssignmentNone: 'this seat has not been given a task yet',
|
|
226
|
-
settingsAssignmentUnreadable: 'this seat was given a task, but its record could not be read, so the panel does not show its model',
|
|
227
|
-
settingsReadOnlyBadge: 'change in file',
|
|
228
|
-
settingsPmLaunchLabel: 'last PM start',
|
|
229
|
-
settingsPmLaunchNote: 'window {window} · {mode} · {time}',
|
|
230
|
-
settingsPmLaunchHint: 'the model the PM used the last time it started; it cannot be changed here',
|
|
231
|
-
settingsDiagnosisHeading: 'these settings need an upgrade',
|
|
232
|
-
settingsCliHint: 'CLI: team config set {key} <value>',
|
|
233
|
-
settingsRefusedHint: 'change this value in the project config file .pi/team/config.sh; the panel cannot change it',
|
|
234
|
-
settingsUnknownHint: '{key}: the file carries this setting but the tool does not know it; the panel cannot change it',
|
|
235
|
-
settingsChoiceTitle: 'Choose a value for {label} · {key}',
|
|
236
|
-
settingsChoiceHint: '↑/↓ choose · Enter writes that value now (danger needs one more) · only free text opens the editor · Esc back',
|
|
218
|
+
settingConfirm: '{key}\nOld {old}\nNew {next}\n{timing}',
|
|
219
|
+
settingDanger: 'Danger: {reason} · Enter Confirm',
|
|
220
|
+
settingWritten: 'Saved {key} · {timing}',
|
|
221
|
+
settingRefused: 'Cannot edit: {line}',
|
|
222
|
+
settingInvalid: 'Invalid value: {line}',
|
|
223
|
+
settingConflict: 'Settings changed; not saved',
|
|
224
|
+
settingWriteError: 'Save failed: {line}',
|
|
225
|
+
settingsRefusedRoute: 'Edit .pi/team/config.sh',
|
|
226
|
+
settingsCategoryRow: '{category}',
|
|
227
|
+
settingsCategoryPickerHint: 'New tasks',
|
|
228
|
+
settingsAssignmentNone: 'No dispatch record',
|
|
229
|
+
settingsAssignmentUnreadable: 'Record could not be read',
|
|
230
|
+
settingsPmLaunchLabel: 'Last PM startup',
|
|
231
|
+
settingsDiagnosisHeading: 'Configuration needs updating',
|
|
232
|
+
settingsLaunchFresh: 'Fresh startup',
|
|
233
|
+
settingsLaunchContinued: 'Continue previous session',
|
|
234
|
+
settingsChoiceHint: '↑/↓ Select · Enter Save · Esc Cancel',
|
|
237
235
|
settingsChoiceCurrent: 'current',
|
|
238
236
|
settingsChoiceDefault: 'default',
|
|
239
|
-
settingsChoiceKeepUnset: '
|
|
240
|
-
settingsChoiceClear: '
|
|
241
|
-
settingsChoiceFree: '
|
|
242
|
-
settingsChoiceInterval: '
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
settingsBoolOff: 'off (0)',
|
|
237
|
+
settingsChoiceKeepUnset: 'Keep default value',
|
|
238
|
+
settingsChoiceClear: 'Clear',
|
|
239
|
+
settingsChoiceFree: 'Enter another value',
|
|
240
|
+
settingsChoiceInterval: '{min}–{max}',
|
|
241
|
+
settingCategoryConfirm: '{category}\nOld {old}\nNew {next}\nNew tasks',
|
|
242
|
+
settingCategoryWritten: 'Saved {category} model · New tasks',
|
|
243
|
+
settingPmWritten: 'Saved PM model · After PM restart · team up --fresh-pm',
|
|
244
|
+
settingsBoolOn: 'On',
|
|
245
|
+
settingsBoolOff: 'Off',
|
|
249
246
|
settingsPathExists: 'exists',
|
|
250
247
|
settingsPathMissing: 'missing',
|
|
251
248
|
settingsPathNotExec: 'not executable',
|
|
@@ -253,148 +250,17 @@ export const en = {
|
|
|
253
250
|
seatSourceExplicit: 'chosen at dispatch',
|
|
254
251
|
seatSourcePolicy: 'set by category',
|
|
255
252
|
seatSourceAssignment: 'kept from the record',
|
|
253
|
+
seatSourceRecord: 'from dispatch record',
|
|
256
254
|
|
|
257
|
-
//
|
|
258
|
-
|
|
259
|
-
// the confirmation line, the view's command hint). A key the schema does not know has no label
|
|
260
|
-
// and falls back to its raw name (`keyLabel()`). Completeness is asserted by
|
|
261
|
-
// tests/panel-strings.mjs (schema ↔ both tables, both directions). Order follows the schema.
|
|
262
|
-
// -- identity and ledger layout (read-only)
|
|
263
|
-
label_TEAM_PROJECT: 'Project name',
|
|
264
|
-
label_TEAM_SESSION: 'Session name',
|
|
265
|
-
label_TEAM_PM_WINDOW: 'PM window',
|
|
266
|
-
label_TEAM_AGENTS: 'Roster',
|
|
267
|
-
label_TEAM_DOCS_DIR: 'Ledger dir',
|
|
268
|
-
label_TEAM_WORKTREES_DIR: 'Worktree dir',
|
|
269
|
-
label_TEAM_STATE_DIR: 'State dir',
|
|
270
|
-
label_TEAM_MEETINGS_DIR: 'Meeting dir',
|
|
271
|
-
label_TEAM_SPEC_DIR: 'Spec dir',
|
|
272
|
-
label_TEAM_ROOT: 'Project root',
|
|
273
|
-
label_TEAM_MAIN_ROOT: 'Main checkout root',
|
|
274
|
-
label_TEAM_TMP_ROOT: 'Temp root',
|
|
275
|
-
label_TEAM_CONFIG_FILE: 'Contract file',
|
|
276
|
-
// -- branch and forge (read-only)
|
|
277
|
-
label_TEAM_BRANCH_MODE: 'Branch naming mode',
|
|
278
|
-
label_TEAM_TASK_BRANCH_PREFIX: 'Task branch prefix',
|
|
279
|
-
label_TEAM_AGENT_BRANCH_PREFIX: 'Seat branch prefix',
|
|
280
|
-
label_TEAM_PROTECTED_BRANCH: 'Protected branch',
|
|
281
|
-
label_TEAM_REMOTE: 'Remote',
|
|
282
|
-
label_TEAM_VCS: 'Forge',
|
|
283
|
-
label_TEAM_TOKEN_FILE: 'Token file',
|
|
284
|
-
label_TEAM_GITLAB_HOST: 'GitLab host',
|
|
285
|
-
label_TEAM_GITLAB_PROJECT: 'GitLab project',
|
|
286
|
-
label_TEAM_GITLAB_TOKEN_FILE: 'GitLab token file',
|
|
287
|
-
label_TEAM_MERGE_PREFER_THEIRS: 'Prefer branch side',
|
|
288
|
-
// -- permissions and dependencies (read-only)
|
|
289
|
-
label_TEAM_CONFIRM_WRITES: 'Confirm writes',
|
|
290
|
-
label_TEAM_ALLOW_FOREIGN_IDENTITY: 'Allow foreign ID',
|
|
291
|
-
label_TEAM_ALLOW_FOREIGN_SESSION: 'Allow foreign window',
|
|
292
|
-
label_TEAM_GUARD_FOREIGN_TARGET: 'Guard foreign targets',
|
|
293
|
-
label_TEAM_REPLACE_FOREIGN_PM: 'Replace foreign PM',
|
|
294
|
-
label_TEAM_ALLOW_DESTRUCTIVE_TMUX: 'Allow destructive ops',
|
|
295
|
-
label_TEAM_ASSUME_YES: 'Assume yes',
|
|
296
|
-
label_TEAM_REQUIRE_JS: 'Require JS runtime',
|
|
297
|
-
label_TEAM_REQUIRE_OPENSPEC: 'Require OpenSpec',
|
|
298
|
-
label_TEAM_REQUIRE_MAGIC_CONTEXT: 'Require Magic Context',
|
|
299
|
-
label_TEAM_PI_AGENT_DIR: 'Pi agent dir',
|
|
300
|
-
label_TEAM_PI_SETTINGS_FILE: 'Pi settings file',
|
|
301
|
-
label_TEAM_MEMINFO_FILE: 'meminfo file',
|
|
302
|
-
label_TEAM_DISK_STATS_FILE: 'Disk stats fixture',
|
|
303
|
-
label_TEAM_SMOKE_FAST: 'Smoke fast mode',
|
|
304
|
-
// -- roster, model resolution and adapters
|
|
305
|
-
label_TEAM_MODEL_LIMITS: 'Concurrency limits',
|
|
306
|
-
label_TEAM_MODEL_WINDOWS: 'Context windows',
|
|
307
|
-
label_TEAM_SESSION_WARN_TOKENS: 'Context warn tokens',
|
|
308
|
-
label_TEAM_EXTRA_PI_ARGS: 'Seat extra args',
|
|
309
|
-
label_TEAM_AGENT_CMD: 'Seat launch command',
|
|
310
|
-
label_TEAM_AGENT_NOTIFY_CMD: 'Turn-end notify cmd',
|
|
311
|
-
label_TEAM_AGENT_LOG_GLOB: 'Seat log glob',
|
|
312
|
-
label_TEAM_PI_BIN: 'pi binary',
|
|
313
|
-
label_TEAM_AGENT_BIN: 'Seat binary',
|
|
314
|
-
label_TEAM_OPENSPEC_BIN: 'openspec binary',
|
|
315
|
-
label_TEAM_JS_BIN: 'JS runtime',
|
|
316
|
-
// -- task categories and the PM model (apply/restart)
|
|
317
|
-
label_TEAM_TASK_MODELS: 'Task category models',
|
|
255
|
+
// Labels only for selected settings; the complete CLI schema is unchanged.
|
|
256
|
+
label_TEAM_MODEL_LIMITS: 'Concurrent tasks by model',
|
|
318
257
|
label_TEAM_PM_MODEL: 'PM model',
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
label_TEAM_UPDATE_CHECK: 'Startup version notice',
|
|
322
|
-
label_TEAM_GATES: 'Gate commands',
|
|
258
|
+
label_TEAM_UPDATE_CHECK: 'Check for updates at startup',
|
|
259
|
+
label_TEAM_GATES: 'Acceptance command',
|
|
323
260
|
label_TEAM_INSTALL_CMD: 'Install command',
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
label_TEAM_SQUASH_LOOKBACK: 'Squash look-back',
|
|
328
|
-
label_TEAM_REVIEW_TIMEOUT: 'Review timeout',
|
|
329
|
-
label_TEAM_REVIEW_TIMEOUT_GRACE: 'Timeout grace',
|
|
330
|
-
label_TEAM_REVIEW_ALLOW_DIRTY: 'Allow dirty checkout',
|
|
331
|
-
label_TEAM_REVIEW_ALLOW_IGNORED: 'Allow ignored files',
|
|
332
|
-
label_TEAM_REVIEW_ALLOW_UNRESOLVED_BRANCH: 'Allow unresolved tip',
|
|
333
|
-
label_TEAM_REVIEW_ANY_DIR: 'Skip checkout guard',
|
|
334
|
-
label_TEAM_BOARD_DONE_FORCE: 'Force board done',
|
|
335
|
-
label_TEAM_BOARD_DONE_REASON: 'Force-done reason',
|
|
336
|
-
// -- capacity and delivery
|
|
337
|
-
label_TEAM_MIN_FREE_SWAP_MB: 'Free swap floor',
|
|
338
|
-
label_TEAM_MIN_TOTAL_MB: 'RAM+swap floor',
|
|
339
|
-
label_TEAM_MIN_AVAIL_MB: 'Free memory floor',
|
|
340
|
-
label_TEAM_TMP_MIN_FREE_MB: 'Temp root space floor',
|
|
341
|
-
label_TEAM_TMP_MIN_FREE_INODES: 'Temp root inode floor',
|
|
342
|
-
label_TEAM_WARN_AVAIL_MB: 'Memory warn line',
|
|
343
|
-
label_TEAM_ZRAM_WARN_PCT: 'zram warn percent',
|
|
344
|
-
label_TEAM_AGENT_MEM_MB: 'Seat memory cap',
|
|
345
|
-
label_TEAM_NOTIFY_TMUX: 'tmux delivery',
|
|
346
|
-
label_TEAM_NOTIFY_DEDUP_SEC: 'Notify dedup window',
|
|
347
|
-
label_TEAM_INBOX_MAX_CHARS: 'Preview chars',
|
|
348
|
-
label_TEAM_NOTIFY_LOG: 'Notify debug log',
|
|
349
|
-
label_TEAM_NOTIFY_DETAIL_MAX: 'Notify detail bound',
|
|
350
|
-
label_TEAM_DEFER_TTL: 'Queued delivery TTL',
|
|
351
|
-
label_TEAM_OUTBOX_MAX: 'Outbox cap',
|
|
352
|
-
label_TEAM_PANEL_DETAIL_CAP: 'Detail read cap',
|
|
353
|
-
label_TEAM_ORPHAN_WARN_MB: 'Orphan memory hint',
|
|
354
|
-
label_TEAM_ORPHAN_SCAN: 'Scan orphan seats',
|
|
355
|
-
label_TEAM_ORPHAN_PROC_ROOT: 'Census proc root',
|
|
356
|
-
// -- pulse and panel (needs a restart)
|
|
357
|
-
label_TEAM_PULSE_INTERVAL: 'Patrol interval',
|
|
358
|
-
label_TEAM_MONITOR_REFRESH: 'Panel refresh period',
|
|
359
|
-
label_TEAM_MONITOR_EVENTS: 'Initial event rows',
|
|
360
|
-
label_TEAM_MONITOR_UI: 'Panel renderer',
|
|
361
|
-
label_TEAM_MONITOR_ACTIVITY: 'Activity column',
|
|
362
|
-
label_TEAM_AGENT_LOG_TAIL_BYTES: 'Log tail read cap',
|
|
363
|
-
label_TEAM_PULSE_WINDOW: 'Pulse window name',
|
|
364
|
-
// -- patrol policy
|
|
365
|
-
label_TEAM_PULSE_NUDGE_GAP: 'Nudge gap',
|
|
366
|
-
label_TEAM_PULSE_PENDING_BOARD: 'Wake on board to-do',
|
|
367
|
-
label_TEAM_PULSE_REBUILD_TMUX: 'Rebuild tmux server',
|
|
368
|
-
label_TEAM_PULSE_MAX_RESTARTS: 'Max auto-restarts',
|
|
369
|
-
// -- PM lifecycle (needs a restart)
|
|
370
|
-
label_TEAM_PM_SESSION_ID: 'PM session id',
|
|
371
|
-
label_TEAM_PM_CMD: 'PM launch command',
|
|
372
|
-
label_TEAM_PM_BIN: 'PM binary',
|
|
373
|
-
label_TEAM_PM_EXTRA_PI_ARGS: 'PM extra args',
|
|
374
|
-
label_TEAM_PM_RESUME_ARGS: 'PM resume args',
|
|
375
|
-
label_TEAM_PM_START_WAIT: 'PM start wait',
|
|
376
|
-
// -- live sessions (needs a restart)
|
|
377
|
-
label_TEAM_INBOX_WATCH_MAX_BYTES: 'Watcher read cap',
|
|
378
|
-
label_TEAM_INBOX_WATCH_PREVIEW: 'Preview lines',
|
|
379
|
-
label_TEAM_INBOX_WATCH_REPLAY_MAX: 'Replay cap',
|
|
380
|
-
label_TEAM_INBOX_WATCH_SEEN_MAX: 'Seen-record cap',
|
|
381
|
-
label_TEAM_INBOX_WATCH_STALE: 'Stale threshold',
|
|
382
|
-
label_TEAM_INBOX_WATCH_STALE_SEC: 'Wake freshness (s)',
|
|
383
|
-
label_TEAM_INBOX_WATCH_FORCE_FAIL: 'Force watch failure',
|
|
384
|
-
label_TEAM_IW_REQUIRE_WATCH: 'Strict gate mode',
|
|
385
|
-
label_TEAM_INBOX_WATCH_POLL_MS: 'Poll interval',
|
|
386
|
-
label_TEAM_INBOX_WATCH_HEARTBEAT_MS: 'Heartbeat interval',
|
|
387
|
-
label_TEAM_INBOX_WATCH_TARGET: 'Delivery target',
|
|
388
|
-
label_TEAM_BG_LOG_MAX_BYTES: 'Background log cap',
|
|
389
|
-
// -- signal discipline (P159)
|
|
390
|
-
label_TEAM_SIGNAL_CALLS_LOG: 'Signal call log',
|
|
391
|
-
label_TEAM_SIGNAL_REAL: 'Real signal tool',
|
|
392
|
-
label_TEAM_BG_STOP_GRACE: 'Job stop grace',
|
|
393
|
-
// -- cross-project meetings
|
|
394
|
-
label_TEAM_MEETING_TTL_HOURS: 'Meeting TTL',
|
|
395
|
-
label_TEAM_MEETING_MAX_TURNS: 'Meeting turn cap',
|
|
396
|
-
label_TEAM_MEETING_KNOCK: 'Allow knocking',
|
|
397
|
-
label_TEAM_MEETING_ALLOW_USER_ID: 'Users who may knock',
|
|
261
|
+
label_TEAM_REVIEW_TIMEOUT: 'Acceptance time limit',
|
|
262
|
+
label_TEAM_PULSE_INTERVAL: 'Check interval',
|
|
263
|
+
label_TEAM_PULSE_MAX_RESTARTS: 'PM recoveries per hour',
|
|
398
264
|
|
|
399
265
|
// Key replies (pulse-key-replies)
|
|
400
266
|
replyHeading: 'key replies',
|
|
@@ -51,11 +51,9 @@ export function fill(template: string, vars: Record<string, string | number>): s
|
|
|
51
51
|
const KEY_LABEL_PREFIX = 'label_'
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* The human label of a
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* schema does not know, e.g. hand-added to the file) falls back to its **raw name**, which is
|
|
58
|
-
* deliberate: a nameless row would be worse, and the raw name is what the file and the CLI carry.
|
|
54
|
+
* The human label of a selected operation, looked up by the command's key.
|
|
55
|
+
* Unknown labels fall back to the source name; selecting the visible operations belongs to
|
|
56
|
+
* project-settings.ts, not to the complete command schema.
|
|
59
57
|
*
|
|
60
58
|
* Static lookup, no file read: the render path stays inside the CPU contract.
|
|
61
59
|
*/
|