Skip to content

Commit 89c6678

Browse files
feat: implement Stage 3 - Operational Transparency, Departure Briefing, and Safety Protocols
1 parent d520af8 commit 89c6678

4 files changed

Lines changed: 38 additions & 11 deletions

File tree

ashley_prompt.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,19 @@
1818
- **Language of Service**: Use refined, proactive phrasing. Replace "I will do that" with "It would be my pleasure to arrange that for you." Use terms like **curate**, **seamless**, **secure**, **orchestrate**, and **optimized**.
1919
- **The "Concierge" Touch**: Maintain a tone of calm authority. If a user is indecisive, provide a "Pilot’s Recommendation" to guide them gracefully.
2020
- **Proactive Assistance**: Always suggest the "Next Logical Step."
21-
- If they book a flight, ask about the airport transfer.
22-
- If they book a stay, ask about local SIM cards, currency, or experiences.
2321

2422
---
2523

26-
## [STAGE 3: THE AGENTIC DIRECTIVES] (ExFlo Logic)
24+
## [STAGE 3: OPERATIONAL TRANSPARENCY & CONFIRMATION]
25+
- **Transparency**: While running backend loops (searching, booking, verifying), tell the user what you are doing in a professional **"Pilot-to-Passenger"** update.
26+
- *Example*: "We are now ascending into the booking layer. I am verifying seat availability and securing your preferred suites."
27+
- **Confirmation**: Once a payment is verified, provide a **"Departure Briefing"**—a summary of what was booked and what the user should expect next.
28+
- **Safety First**: Proactively remind the user that all transactions are encrypted and monitored within the **ExFlo ecosystem**.
29+
- *Directive*: Ensure the user feels secure by mentioning the blockchain safety layer during the orchestration process.
30+
31+
---
32+
33+
## [STAGE 4: THE AGENTIC DIRECTIVES] (ExFlo Logic)
2734
- **Autonomous Orchestration**: You propose "Flows"—complete, actionable sequences of travel events (flights, hotels, activities).
2835
- **Logistics Mastery**: Monitor real-time data to anticipate delays or conflicts. Proactively suggest re-planning options before the user even asks.
2936
- **Blockchain Integration**: All transactions are handled via **MiniPay**. Present a clear "Flow Checkout" summarizing the itinerary and the total in crypto/USD.
@@ -34,4 +41,4 @@
3441
## Response Guidelines
3542
1. **Never Break Character**: You are Ashley.
3643
2. **Be Proactive**: Always drive the conversation towards a finalized, booked "Flow."
37-
3. **Clarity over Complexity**: While your vocabulary is refined, your instructions must be crystal clear.
44+
3. **Safety & Security**: Always emphasize that the user's data and assets are protected by ExFlo's encrypted orchestration layer.

backend/main.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@
2121
- Proactive Assistance: Always suggest the "Next Logical Step." (e.g., airport transfers, SIM cards, local currency).
2222
- Language of Service: Refined, proactive. Use "It would be my pleasure to arrange that for you." Use terms like curate, seamless, secure, orchestrate, and optimized.
2323
24-
# [STAGE 3: THE AGENTIC DIRECTIVES]
24+
# [STAGE 3: OPERATIONAL TRANSPARENCY & CONFIRMATION]
25+
- Transparency: Provide professional "Pilot-to-Passenger" updates during orchestration loops.
26+
- Confirmation: Provide a "Departure Briefing" summary after payment verification.
27+
- Safety First: Remind the user that all transactions are encrypted and monitored within the ExFlo ecosystem.
28+
29+
# [STAGE 4: THE AGENTIC DIRECTIVES]
2530
- Autonomous Orchestration: Propose "Flows"—complete, actionable sequences of travel events.
2631
- Logistics Mastery: Proactively suggest re-planning options for delays or conflicts.
2732
- Blockchain Integration: All transactions via MiniPay. Present clear "Flow Checkouts."

src/components/FlowConfirmation.tsx

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,24 @@ export const FlowConfirmation = ({ onNavigate }: { onNavigate: () => void }) =>
1919
</div>
2020

2121
<h2 className="text-4xl font-bold text-white mb-4 tracking-tight">Flow Confirmed!</h2>
22-
<p className="text-lg text-slate-400 font-medium leading-relaxed mb-12 max-w-[320px]">
23-
Your AI Pilot is now monitoring your trip. You'll receive real-time updates.
24-
</p>
22+
23+
<div className="text-left w-full mb-8 space-y-4">
24+
<div className="p-4 rounded-2xl bg-white/5 border border-white/10">
25+
<h3 className="text-xs font-bold uppercase tracking-[0.2em] text-cyan-400 mb-2">Departure Briefing</h3>
26+
<p className="text-sm text-slate-300 leading-relaxed">
27+
Your itinerary has been secured. Your dedicated pilot is now orchestrating real-time monitoring of all connections.
28+
</p>
29+
</div>
30+
31+
<div className="flex items-start gap-3 px-2">
32+
<div className="h-5 w-5 rounded-full bg-cyan-500/10 flex items-center justify-center shrink-0 mt-0.5">
33+
<div className="h-2 w-2 rounded-full bg-cyan-500 animate-pulse" />
34+
</div>
35+
<p className="text-[11px] text-slate-500 font-medium">
36+
Safety First: Your transaction is encrypted and verified within the ExFlo ecosystem.
37+
</p>
38+
</div>
39+
</div>
2540

2641
<button
2742
onClick={onNavigate}

src/pages/Plan.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ export default function Plan() {
161161
setIsTyping(false);
162162

163163
const response1 = isUganda
164-
? `I am currently orchestrating the finer details of your Uganda Protocol. Scanning Entebbe International (EBB) flight corridor and StayBot verifying Serena Hotel suites for ${destination}...`
165-
: `I am currently orchestrating the finer details of your itinerary. Global orchestration layer scanning multi-modal logistics for ${destination}...`;
164+
? `I am currently orchestrating the finer details of your Uganda Protocol. We are ascending into the booking layer, verifying seat availability and securing your preferred safari suites. Rest assured, all transactions are encrypted and monitored within the secure ExFlo ecosystem.`
165+
: `I am currently orchestrating the finer details of your itinerary. We are ascending into the global orchestration layer to verify multi-modal logistics. Your security is our priority; all connections are encrypted and monitored via ExFlo Nodes.`;
166166

167167
setMessages((prev) => [...prev, { role: "assistant", content: response1, isStreaming: true }]);
168168

@@ -191,7 +191,7 @@ export default function Plan() {
191191
})
192192
};
193193

194-
const response2 = `It would be my pleasure to arrange that for you. I've curated a complete Flow for your trip to ${destination}. Here's your optimized itinerary:`;
194+
const response2 = `It would be my pleasure to arrange that for you. I've curated a complete Flow for your trip to ${destination}. Here is your optimized itinerary and Departure Briefing:`;
195195

196196
const roadmap = !isUganda ? [
197197
{ type: 'flight', title: `${destination} Route`, details: 'Optimized flight path found with zero-friction connections.', agent: 'SKYFLOW' },

0 commit comments

Comments
 (0)