Claude Opus 4.7
- Text to Text
- Image to Text
Request
Act as a retail merchandising auditor. Inspect the attached photograph of the refrigerated beverage bay and produce a concise, field-ready compliance report grounded only in details that are visibly supported by the image. Structure the report as follows: 1. Executive summary: 3–5 sentences describing the display's overall condition and the most commercially significant issues. 2. Shelf inventory table: one row per shelf, numbered top to bottom. Include visible product category or recognizable product family, estimated occupied facings, estimated empty facings, notable placement issues, and confidence level. 3. Exceptions log: list each visible stockout, low-stock row, misplaced item, fallen or poorly faced product, blocked label, missing or mismatched shelf label, and promotional inconsistency. For each exception, identify its location precisely using shelf number and left/center/right position. 4. Pricing and promotion review: transcribe only shelf-label or promotional text that is genuinely legible. Place uncertain characters in square brackets and write “not legible” rather than guessing. 5. Priority actions: provide a ranked list of no more than six corrective actions for the store team, separating immediate fixes from replenishment follow-up. 6. Evidence limitations: note glare, occlusion, perspective, resolution, or other factors that prevent reliable conclusions. Do not invent brand names, prices, planogram requirements, SKU identities, or items outside the frame. Distinguish confirmed observations from estimates. Where exact facing counts are ambiguous, give a range and explain why.
Inspect the attached conservation photograph and draft a preliminary museum condition intake report for the evening bag. Ground every statement in visible evidence and do not invent provenance, dimensions, maker, date, materials, construction methods, or damage that cannot be supported by the image. Structure the report with these sections: 1. Object identification: concise neutral object name and one-sentence summary. 2. Visual description: form, colors, pattern, components, and visible construction details. 3. Condition observations: organize by structural fabric, beadwork, metal frame and clasp, surface soiling or staining, deformation, and previous repairs. For each observation, state its location precisely using the object's orientation as photographed. 4. Condition priority table: assign each observed issue Low, Moderate, or High priority and briefly justify the rating. 5. Handling, packing, and storage recommendations suitable for museum staff pending examination by a textile conservator. 6. Recommended examination or documentation steps, clearly separating what can be concluded from the photograph from what requires in-person inspection. 7. A 60–90 word collection-management summary. 8. Concise accessibility alt text. Use professional conservation terminology, but label uncertain interpretations as tentative. Treat the scale and color checker only as reference aids; do not estimate exact dimensions or color values from the photograph.
Act as the principal identity architect for a regulated insurance group. Produce the execution plan that the CIO, CISO, service owners, and migration team will use to consolidate two Microsoft Entra ID tenants after an acquisition. Scenario - Northstar Mutual has 11,800 employees in tenant N and acquired Harbor Specialty, which has 4,600 employees and 900 contractors in tenant H. - Tenant N will be the destination tenant. The program must finish within 28 weeks. - Both companies use Microsoft 365, Exchange Online, Teams, SharePoint, Intune, and Entra ID. Tenant H also has 73 enterprise applications using SAML or OIDC, 18 applications using SCIM provisioning, 34 legacy applications using LDAP through on-premises Active Directory, and 12 Azure subscriptions. - Tenant N uses cloud-native authentication with passwordless sign-in for 68% of employees. Tenant H synchronizes identities from two on-premises Active Directory forests and relies heavily on SMS MFA. - Harbor employees must retain their existing email addresses as aliases. Customer-facing staff cannot lose access to email, Teams, the claims platform, or telephony for more than 15 minutes during business hours. - Seven applications identify users by immutable object ID rather than email address. Three of those applications have no vendor-supported bulk remapping function. - There are approximately 1,200 guest-account collisions, 640 duplicate display names, 87 duplicate proxy addresses, and 46 people who already hold identities in both tenants. - Privileged roles are currently inconsistent. Tenant H has 39 Global Administrators, including 11 standing assignments and 6 shared emergency accounts. Tenant N uses Privileged Identity Management and maintains two monitored break-glass accounts. - Devices include 7,900 Windows laptops, 2,300 macOS devices, 3,100 managed mobile devices, 480 shared clinical-style kiosks used by claims adjusters, and 760 personally owned contractor devices. - The company operates in the United States, United Kingdom, and Germany. The plan must respect least privilege, auditable approvals, data-residency obligations, legal holds, records-retention policies, and separation of duties. Do not provide legal conclusions; identify matters requiring counsel or privacy-officer approval. - Quarter-end runs from weeks 9 through 11, and no production identity changes are permitted during that freeze. The claims catastrophe-response period runs from weeks 18 through 21; only low-risk migration work may occur then. - Available team: one program manager, two identity architects, four identity engineers, three endpoint engineers, two messaging engineers, three application engineers, two security analysts, one compliance lead, and part-time representatives from the service desk, HR, legal, and each business unit. - Approved tooling budget beyond existing licenses is $180,000. A specialist migration vendor may be engaged, but vendor selection and onboarding require four weeks. Non-negotiable controls 1. No bulk migration wave may begin until identity correlation reaches at least 99.95% accuracy and every unresolved collision has a named owner. 2. Every privileged identity must use phishing-resistant MFA before it enters the destination tenant. 3. Application owners must sign off on authentication, authorization, provisioning, deprovisioning, logging, and rollback tests. 4. Legal holds and retention labels must be validated before mailbox or SharePoint migration. 5. The source tenant must remain recoverable and read-only for at least 90 days after the final user wave. 6. Rollback must be defined in operational terms, including the latest safe decision point, responsible role, expected recovery time, and treatment of writes made after cutover. Create a decision-ready execution plan in Markdown. It must be specific enough for teams to schedule and operate from, not a generic identity-migration overview. Include: 1. Executive recommendation: the proposed migration pattern, why it is preferable to plausible alternatives, the five largest risks, and the decisions executives must make within the next two weeks. 2. Current-state problem decomposition: identity authority, authentication, authorization, lifecycle management, applications, messaging and collaboration, endpoints, Azure resources, privileged access, compliance, and support readiness. 3. Target-state architecture: authoritative sources, joiner/mover/leaver flow, account-correlation keys, domain and namespace handling, cross-tenant coexistence, Conditional Access, passwordless authentication, PIM, emergency access, guest identities, logging, and decommissioning boundaries. Clearly distinguish temporary coexistence controls from the permanent design. 4. A 28-week phase plan that accounts for both change freezes. Show phases, entry and exit criteria, dependencies, accountable roles, staffing pressure points, and tangible deliverables. Include pilot cohorts and explain why they are representative. 5. Migration-wave design: propose cohort sizes and sequencing for employees, contractors, privileged users, shared accounts, kiosks, and each major device class. Define go/no-go thresholds and a 24-hour, 72-hour, and 7-day stabilization process for every wave. 6. Application disposition: classify the 73 federated applications, 18 SCIM integrations, 34 LDAP applications, and seven object-ID-dependent applications into migration patterns. Provide a practical strategy for the three applications that cannot bulk-remap users, including trade-offs and escalation triggers. Do not assume an undocumented vendor capability. 7. Identity-correlation and collision-resolution procedure: matching hierarchy, confidence levels, treatment of dual identities, duplicate aliases, guests, contractors, shared mailboxes, and people with name changes. Include a control-total approach and a sample exception-record format. 8. Security and compliance control matrix with control objective, implementation, evidence, owner, validation point, and failure response. Cover privileged access, phishing-resistant MFA, separation of duties, audit retention, legal holds, data residency, consent, dormant accounts, emergency access, and source-tenant access during the 90-day recovery period. 9. Operational cutover runbook for one representative 500-user wave. Give a time-ordered schedule from T-7 days through T+7 days, with checkpoints, communications, monitoring, reconciliation, rollback decision points, and named roles rather than individual names. 10. Test and acceptance plan covering positive, negative, performance, security, lifecycle, application, device, coexistence, disaster-recovery, and rollback testing. Include measurable acceptance thresholds. 11. Support and communications plan for executives, managers, end users, application owners, the service desk, security operations, and regional privacy stakeholders. Include service-desk staffing assumptions, escalation paths, and message timing, but do not draft lengthy email copy. 12. RAID register containing at least 15 substantive items, each with probability, impact, leading indicator, mitigation, contingency, owner, and decision deadline. 13. Budget allocation for the $180,000 incremental budget. Present a base case and a contingency case, state assumptions, and flag where staffing capacity rather than tooling is the binding constraint. 14. Program scorecard with no more than 12 metrics. Define formula, data source, reporting cadence, target, warning threshold, and executive interpretation for each metric. 15. A final one-page steering-committee checklist of approvals and unresolved decisions. Use concise prose, tables where they improve usability, and explicit recommendations. Identify assumptions and unknowns rather than silently inventing facts. Resolve tensions among schedule, security, reversibility, staffing, and user disruption. If the 28-week deadline is infeasible under the stated controls, say so clearly and present the smallest defensible scope or resource adjustment that would make it achievable.
Act as the principal engineer responsible for resolving a recurring payment-integrity incident at Northstar Billing, a multi-tenant subscription platform. Produce a technical remediation plan that engineering, SRE, security, finance operations, and support can approve and execute. CURRENT SYSTEM - A Go API receives Stripe, Adyen, and PayPal webhooks through an AWS Application Load Balancer. - API instances validate provider signatures, translate payloads into an internal event shape, publish to an Amazon SNS standard topic, and immediately return HTTP 200. - SNS fans out to SQS standard queues for Ledger, Entitlements, Email, and Analytics services. - Ledger workers write to PostgreSQL 15. Entitlements workers update DynamoDB. Each service retries independently. - The internal event currently contains provider, provider event ID, tenant ID, event type, payment ID, amount, currency, provider timestamp, and payload. - There is no shared idempotency mechanism. Ledger attempts to detect duplicates by querying provider_event_id before inserting, but the check and insert are separate statements. - Some tenants use multiple merchant accounts. Provider event IDs are unique only within a merchant account, although merchant account ID is not currently included in the internal event. - Deployments run on EKS across three availability zones. PostgreSQL uses RDS Multi-AZ with one writer. Redis exists but is configured as a non-durable cache and must not be the source of truth. INCIDENT EVIDENCE - During a 47-minute SNS delivery degradation, retry bursts produced 18,420 duplicate deliveries from 6,130 distinct provider events. - 286 duplicate ledger entries were created. Of these, 41 triggered duplicate customer credits and 17 triggered duplicate entitlement extensions. - Two legitimate recurring-payment events were incorrectly suppressed because different merchant accounts emitted the same provider event ID. - Duplicate deliveries can arrive concurrently, minutes later, or up to seven days later after manual replay. - Events from a single payment can arrive out of order; for example, payment.refunded may be observed before payment.captured. - Finance requires an immutable record of every received delivery, including duplicates, signature result, original receipt time, and processing outcome. - Security prohibits storing full raw webhook payloads when they contain unnecessary personal data. Required financial records must remain available for seven years; operational delivery metadata may be archived after 90 days. BUSINESS AND DELIVERY CONSTRAINTS - Sustained traffic is 2,000 webhook deliveries per second, with bursts to 10,000 per second for five minutes. - Added webhook-ingress latency must remain below 80 ms at p99. - No more than five minutes of planned write unavailability is acceptable. - The migration must not pause webhook intake or require coordinated deployment of every consumer. - Existing consumers cannot all be changed immediately. Ledger and Entitlements can be modified in the first release; Email and Analytics will migrate later. - At-least-once transport is acceptable. Do not claim exactly-once delivery. The required outcome is effectively-once execution of each business effect. - PostgreSQL remains the ledger system of record. You may introduce additional AWS managed services only when justified. - The first production release must be achievable by six engineers within eight weeks. - Assume provider signatures are already implemented correctly; signature redesign is out of scope. REQUIRED DELIVERABLE Write a self-contained engineering design document in Markdown. Use concrete decisions rather than presenting an unranked menu of options. Include: 1. Executive summary and explicit success criteria. 2. Failure analysis explaining the race condition, collision domain, retry behavior, out-of-order events, and why SNS/SQS FIFO alone would not solve the complete problem. 3. The proposed target architecture from ingress through durable receipt, publication, consumption, business-effect execution, replay, and audit. Clearly identify every transactional boundary and source of truth. 4. A canonical event envelope with field names, types, required/optional status, and semantics. Define a collision-safe idempotency key that accounts for provider and merchant account scope. Explain handling for providers that do not supply a stable event ID. 5. PostgreSQL table designs for the immutable delivery journal, canonical events, processing attempts, and business-effect idempotency records. Provide representative PostgreSQL DDL, including primary keys, unique constraints, indexes, partitioning or retention strategy, and only the most important columns. 6. Transaction pseudocode for both Ledger and Entitlements consumers. Show how concurrent duplicate deliveries are resolved atomically, how failures are retried safely, and how a claimed operation is recovered if a worker dies. Address the fact that DynamoDB cannot participate in the PostgreSQL transaction. 7. A state-machine strategy for out-of-order payment lifecycle events. Distinguish transport deduplication from business-state transition validation, including how refunds observed before captures are handled without silently losing either event. 8. Capacity reasoning using the supplied sustained and burst rates. Estimate daily delivery volume, propose partition sizing and hot-path indexes, identify likely bottlenecks, and state which assumptions require load testing. Approximate calculations are sufficient but must be shown. 9. A zero-intake-downtime migration plan with phases, dual-write or shadow-validation behavior, backward compatibility for unmigrated consumers, backfill strategy, rollback criteria, and safeguards against creating effects twice during rollback. 10. An observability plan with specific metrics, structured-log fields, traces, dashboards, and alert thresholds. Include detection of duplicates prevented, key collisions, invalid transitions, stuck work, replay activity, journal lag, and reconciliation mismatches. 11. A reconciliation and repair procedure finance operations can run. Explain how it compares provider records, the delivery journal, canonical events, and ledger effects without automatically issuing money-moving corrections. 12. A security, privacy, and retention section covering payload minimization, encryption, tenant isolation, privileged replay controls, seven-year financial retention, and archival or deletion of operational data. 13. A focused test strategy covering concurrency, crash recovery, delayed duplicates, event-ID collisions across merchant accounts, out-of-order events, partial downstream failure, replay, migration compatibility, and burst load. 14. An eight-week implementation sequence divided into workstreams, with dependencies, ownership by role, go/no-go gates, and the smallest safe first production scope. 15. A risk register listing likelihood, impact, mitigation, and a measurable trigger for each major risk. 16. A final architecture decision record summarizing the chosen approach, rejected alternatives, and consequences. Be precise about delivery semantics and do not use vague claims such as exactly-once processing without defining the scope and mechanism. Explicitly separate facts supplied above from assumptions you introduce. Keep the document detailed enough for implementation review while prioritizing the highest-risk decisions over generic background explanation.