Sync public tree for logout alias

This commit is contained in:
Michel Paulissen 2026-07-03 23:59:58 +02:00
parent 22fa4fc675
commit 1c3fdfc38a
4 changed files with 55 additions and 3 deletions

View file

@ -139,6 +139,7 @@ assert.doesNotMatch(
for (const [name, pattern] of [
["top-level version metadata", /#\[command\(name = "disasmer", version, arg_required_else_help = true\)\]/],
["top-level logout command", /enum Commands[\s\S]*Logout\(AuthLogoutArgs\)[\s\S]*Auth \{/],
["human report renderer", /fn human_report\(value: &Value\) -> String/],
["shared report emitter", /fn emit_report<T: Serialize>\(report: &T, json_output: bool\) -> Result<\(\)>/],
["doctor command", /Doctor\(DoctorArgs\)/],
@ -178,6 +179,7 @@ for (const [name, pattern] of [
["run coordinator active-process coverage", /fn run_contacts_configured_coordinator_and_reports_active_process_conflicts\(\)/],
["CLI error classifier coverage", /fn cli_error_classifier_distinguishes_mvp_failure_categories\(\)/],
["CLI command exit-code coverage", /fn command_report_exit_code_marks_command_failures_only\(\)/],
["CLI top-level logout alias coverage", /fn top_level_logout_alias_removes_only_cli_session_state\(\)/],
["CLI run rejection category coverage", /fn run_rejection_reports_machine_readable_error_category\(\)/],
["node attach grant disclosure coverage", /fn node_attach_discloses_dangerous_capability_grants\(\)/],
["quota local status coverage", /fn quota_status_uses_project_config_and_generic_public_limits\(\)/],

View file

@ -40,6 +40,10 @@ expect(
"no duplicate work note",
/does not automatically mean new product code, a new feature, or even actual implementation work is required/
);
expect(
"prove existing behavior before implementation",
/prefer proving, documenting, or tightening that existing behavior over duplicating capability or overengineering a parallel website mechanism/
);
expect(
"barebones no CSS",
/barebones functional HTML with no CSS/
@ -52,6 +56,10 @@ expect(
"billing is not MVP website work",
/Do not build billing\/upgrade flows into the minimal website for this MVP/
);
expect(
"billing-only surfaces are postponed",
/If a website route, API, database field, control, or acceptance item exists only for billing, paid plans, hosted business operations, broad admin\/moderation, team management, provider setup, secret management, or durable account\/business-process management, postpone it instead of building it for this MVP\./
);
assert.doesNotMatch(source, /community-tier/, "use `community tier`, not `community-tier`");
const lines = criterionLines();