@@ -44,16 +44,16 @@ Most functions become GraphQL queries—perfect for reconnaissance and data
4444retrieval:
4545
4646``` go 
47- //  Becomes a GraphQL query: getUserProfile(id : String!): UserProfile 
48- func  GetUserProfile ( id  string ) (*UserProfile , error ) {
47+ //  Becomes a GraphQL query: gatherThreatIntelligence(source : String!): ThreatReport 
48+ func  GatherThreatIntelligence ( source  string ) (*ThreatReport , error ) {
4949    //  Intelligence gathering operation
50-     return  fetchUserData (id )
50+     return  fetchThreatData (source )
5151}
5252
53- //  Becomes a GraphQL query: analyzeMarketTrends (): TrendReport 
54- func  AnalyzeMarketTrends () (*TrendReport , error ) {
53+ //  Becomes a GraphQL query: analyzeSecurityPatterns (): SecurityAssessment 
54+ func  AnalyzeSecurityPatterns () (*SecurityAssessment , error ) {
5555    //  Analysis operation using AI models
56-     return  generateTrendAnalysis ()
56+     return  generateSecurityAnalysis ()
5757}
5858``` 
5959
@@ -63,23 +63,23 @@ Functions that modify data automatically become GraphQL mutations. Modus detects
6363these by their mission prefixes:
6464
6565``` go 
66- //  Becomes a GraphQL mutation: createUser (data: UserInput !): User 
67- func  CreateUser (data  UserInput ) (*User , error ) {
68-     //  Operational creation mission 
69-     return  deployNewUser (data)
66+ //  Becomes a GraphQL mutation: createSecurityAlert (data: AlertInput !): SecurityAlert 
67+ func  CreateSecurityAlert (data  AlertInput ) (*SecurityAlert , error ) {
68+     //  Create new security alert 
69+     return  deploySecurityAlert (data)
7070}
7171
72- //  Becomes a GraphQL mutation: updateMissionStatus (id: String!, status : String!): Mission 
73- func  UpdateMissionStatus (id  string , status  string ) (*Mission , error ) {
74-     //  Status update operation 
75-     return  modifyMissionRecord (id, status )
72+ //  Becomes a GraphQL mutation: updateThreatLevel (id: String!, level : String!): ThreatAssessment 
73+ func  UpdateThreatLevel (id  string , level  string ) (*ThreatAssessment , error ) {
74+     //  Update threat assessment 
75+     return  modifyThreatRecord (id, level )
7676}
7777``` 
7878
7979Functions starting with ` create ` , ` update ` , ` delete ` , and similar action words
8080automatically become mutations.
8181
82- ## Mission example: weather  intelligence analysis  
82+ ## Mission example: field conditions  intelligence analysis  
8383
8484Here's a complete tactical operation that demonstrates how functions integrate
8585external APIs with AI models for intelligence analysis:
@@ -211,6 +211,24 @@ query {
211211}
212212``` 
213213
214+ You'll receive a tactical intelligence report like:
215+ 
216+ ``` json 
217+ {
218+   "data" : {
219+     "gatherWeatherIntelligence" : {
220+       "city" : " London" 
221+       "temperature" : 12.3 ,
222+       "conditions" : " light rain" 
223+       "analysis" : " 
224+         Light rain conditions will reduce visibility for surveillance operations and may impact equipment performance. 
225+         Recommend waterproof gear and consider delayed outdoor activities requiring clear sight lines. 
226+       " 
227+     }
228+   }
229+ }
230+ ``` 
231+ 
214232### Deploying your operative  
215233
216234To use this function, you'll need to:
0 commit comments